- 18 Eki, 2013 21 kayıt (commit)
-
-
Richard Oudkerk yazdı
-
Brett Cannon yazdı
now that self.path is no longer forced to '.'.
-
Brett Cannon yazdı
-
Brett Cannon yazdı
and stop importlib.machinery.FileFinder treating '' as '.'. Previous PathFinder transformed '' into '.' which led to __file__ for modules imported from the cwd to always be relative paths. This meant the values of the attribute were wrong as soon as the cwd changed. This change now means that as long as the site module is run (which makes all entries in sys.path absolute) then all values for __file__ will also be absolute unless it's for __main__ when specified by file path in a relative way (modules imported by runpy will have an absolute path). Now that PathFinder is no longer treating '' as '.' it only makes sense for FileFinder to stop doing so as well. Now no transformation is performed for the directory given to the __init__ method. Thanks to Madison May for the initial patch.
-
Richard Oudkerk yazdı
-
Guido van Rossum yazdı
Rename Transport.pause/resume to pause_reading/pause_writing. Also relax timeout in test_call_later().
-
Brett Cannon yazdı
source.
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
Nick Coghlan yazdı
-
Richard Oudkerk yazdı
-
Nick Coghlan yazdı
- don't call PyErr_NoMemory with interpreter is not initialised - note that it's OK to call _PyMem_RawStrDup here - don't include this in the limited API - capitalise "IO" - be explicit that a non-zero return indicates an error - include versionadded marker in docs
-
Nick Coghlan yazdı
Previously, the -R option would be specified multiple times if PYTHONHASHSEED was set.
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
Ethan Furman yazdı
-
Ethan Furman yazdı
-
Ethan Furman yazdı
Order of search is now: 1. Try getattr 2. If that throws an exception, check __dict__ directly 3. If still not found, walk the mro looking for the eldest class that has the attribute (e.g. things returned by __getattr__) 4. If none of that works (e.g. due to a buggy __dir__, __getattr__, etc. method or missing __slot__ attribute), ignore the attribute entirely.
-
Ethan Furman yazdı
I'll make sure and include them in future patches.
-
Ned Deily yazdı
-
- 17 Eki, 2013 19 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Ned Deily yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
Georg Brandl yazdı
-
Georg Brandl yazdı
Fix inaccurate versionchanged tag for compressobj(): most parameter were there, just got kwarg support.
-
Nick Coghlan yazdı
-
Nick Coghlan yazdı
-
Richard Oudkerk yazdı
-
Nick Coghlan yazdı
Patch by Zero Piraeus.
-
Richard Oudkerk yazdı
-
Nick Coghlan yazdı
-
Richard Oudkerk yazdı
-
Nick Coghlan yazdı
This new pre-initialization API allows embedding applications like Blender to force a particular encoding and error handler for the standard IO streams. Also refactors Modules/_testembed.c to let us start testing multiple embedding scenarios. (Initial patch by Bastien Montagne)
-
Richard Oudkerk yazdı
-
Christian Heimes yazdı
-
Richard Oudkerk yazdı
-