-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Port twisted.python.modules on py3 for trial #7804
Comments
(In [43989]) Branching to py3-t.p.modules-7804. |
there are still failing tests but I am just putting this for review to get initial feedback. Thanks! |
Thanks for working on this.
Otherwise, looks basically sensible. |
Even 2.6 has next(), is there something I'm missing on why it was added to t.p.compat? |
Good catch, Julian. Thanks! |
Thanks for the review. I have removed next from compat. I was over exicted with having Trial working on Python and forgot to check if next is available in python2.6 ... I have never touched 2.6. I have pushed my current changes but they are junk...and they also touch zippath. my changes in filepath were wrong as I see that FilePath requires path to be pass as bytes... this is a PITA and I think that before continuing with Python3 port we need an Unicode friendly FilePath. Will wait for progress from #7805 |
(In [44200]) Branching to tpmodules-py3-7804. |
(In [44201]) Branching to tpmodules-py3-7804-2. |
Ok. I guess that this is the current diff d5fb42b...tpmodules-py3-7804-2 As commented before I was also waiting for #7805 to land before continue working on it. If you want to continue working in this, please feel free to change the owner. Cheers |
(In [44246]) Branching to tpmodules-py3-7804-3. |
Merged forward, fixed up some small things, please review. (As an aside, this work has been done as a part of my work on Crossbar.io for Tavendo GmbH) |
|
Thanks for working on this. They look good.
As I am just a junior reviewer I will leave this ticket on review queue so that others can review it. |
Hi Adi! Thanks for the review.
Respinning the buildbots. I'll look into the twistedchecker failure. |
OK. My point with defining _ZipMapImpl in Python3 is that while working on py2.7 specific changes a developers might avoid introducing changes which are not py3 compatible. Still some twistedchecker errors... and this just made my review 30 seconds longer as I had to check the builder and then report the errors... all this could be avoid if developers would be able to run twistedchecker on their systems
Please fix the errors and merge. Thanks! |
Hi Adi, Thanks! Those twistedchecker errors are spurious -- since there's not a "new" entry, it means there's no new errors. It's from the change introduced that sets the exit flag correctly. Will merge. |
So we should update the buildbot config to explicitly succeed except when there are "new" errors now? |
I think so. Maybe? |
I have created this github issue to trac this problem twisted-infra/braid#80 |
As a start my plan is to port t.p.modules just that I can bootstrap trial.
I have checked the current code and the only problem is
children.sort()
I already have a branch with module ported and all tests passing and will create a branch for this ticket.
Searchable metadata
The text was updated successfully, but these errors were encountered: