summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* Add NEWS entry for issue #18810Brett Cannon2013-10-181-0/+5
|
* Issue #18416: Have importlib.machinery.PathFinder treat '' as the cwdBrett Cannon2013-10-181-0/+7
| | | | | | | | | | | | | | | | | | | 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.
* Remove redundant empty lines.Serhiy Storchaka2013-10-181-5/+0
|\
| * Remove redundant empty lines.Serhiy Storchaka2013-10-181-1/+1
| |
* | Remove a duplicate.Serhiy Storchaka2013-10-181-2/+0
| |
* | Close #19030: inspect.getmembers and inspect.classify_class_attrsEthan Furman2013-10-181-0/+5
| | | | | | | | | | | | | | | | | | | | 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.
* | Catching up on NEWS entries.Ethan Furman2013-10-181-0/+8
| | | | | | | | I'll make sure and include them in future patches.
* | Initial checkin of asyncio package (== Tulip, == PEP 3156).Guido van Rossum2013-10-171-0/+6
| |
* | Issue #19276: Fixed the wave module on 64-bit big-endian platforms.Serhiy Storchaka2013-10-171-0/+2
|\ \ | |/
| * Issue #19276: Fixed the wave module on 64-bit big-endian platforms.Serhiy Storchaka2013-10-171-0/+2
| |
* | Close #19266: contextlib.ignore -> contextlib.suppressNick Coghlan2013-10-172-0/+6
| | | | | | | | Patch by Zero Piraeus.
* | Issue #16129: Add `Py_SetStandardStreamEncoding`Nick Coghlan2013-10-172-0/+9
| | | | | | | | | | | | | | | | | | | | | | 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)
* | Issue #19275: Fix test_site on AMD64 Snow LeopardChristian Heimes2013-10-171-0/+2
| |
* | #18891: Complete new provisional email API.R David Murray2013-10-171-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | This adds EmailMessage and, MIMEPart subclasses of Message with new API methods, and a ContentManager class used by the new methods. Also a new policy setting, content_manager. Patch was reviewed by Stephen J. Turnbull and Serhiy Storchaka, and reflects their feedback. I will ideally add some examples of using the new API to the documentation before the final release.
* | Issue #18468: The re.split, re.findall, and re.sub functions and the group()Serhiy Storchaka2013-10-161-0/+4
| | | | | | | | | | and groups() methods of match object now always return a string or a bytes object.
* | Issue #14407: Fix unittest test discovery in test_concurrent_futures.Antoine Pitrou2013-10-151-0/+2
|\ \ | |/
| * Issue #14407: Fix unittest test discovery in test_concurrent_futures.Antoine Pitrou2013-10-151-0/+2
| |
* | Issue #18725: The textwrap module now supports truncating multiline text.Serhiy Storchaka2013-10-151-0/+2
| |
* | Issue #17221: Merge 3.4.0 Alpha 1 entries before and after 3.3.1 release ↵Serhiy Storchaka2013-10-151-454/+434
| | | | | | | | candidate 1.
* | Merge headsSerhiy Storchaka2013-10-131-8/+0
|\ \
| * | Remove unexpected headings from Misc/NEWSAntoine Pitrou2013-10-131-8/+0
| | |
* | | Issue #18758: Fixed and improved cross-references.Serhiy Storchaka2013-10-131-0/+2
|\ \ \ | |/ / |/| / | |/
| * Issue #18758: Fixed and improved cross-references.Serhiy Storchaka2013-10-131-0/+2
| |
* | Issue #18776: atexit callbacks now display their full traceback when they ↵Antoine Pitrou2013-10-131-0/+3
|\ \ | |/ | | | | raise an exception.
| * Issue #18776: atexit callbacks now display their full traceback when they ↵Antoine Pitrou2013-10-131-0/+3
| | | | | | | | raise an exception.
| * Merge headsSerhiy Storchaka2013-10-131-0/+3
| |\
* | | #18714: add attribution.Georg Brandl2013-10-131-0/+1
| | |
* | | pdb: modernize find_function() and add tests for it.Georg Brandl2013-10-131-0/+2
| | | | | | | | | | | | Closes #18714.
* | | Merge headsSerhiy Storchaka2013-10-131-0/+3
|\ \ \
| * \ \ Issue #17827: document codecs.encode and codecs.decodeNick Coghlan2013-10-131-0/+3
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Merge from 3.3 - Added to What's New since these are more important in 3.x, as the bytes<->bytes and str<->str codecs don't fit the text model convenience methods in 3.x the way they did the basestring<->basestring methods in the 2.x text model - Included under Library in Misc/NEWS for the same reason
| | * | Issue #17827: Document codecs.encode and codecs.decodeNick Coghlan2013-10-131-0/+3
| | | |
* | | | Issue #18919: Unified and extended tests for audio modules: aifc, sunau andSerhiy Storchaka2013-10-131-0/+6
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| wave.
| * | Issue #18919: Unified and extended tests for audio modules: aifc, sunau andSerhiy Storchaka2013-10-131-0/+3
| |/ | | | | | | wave.
| * Issue #18458: Prevent crashes with newer versions of libedit. Its readlineNed Deily2013-10-121-0/+4
| | | | | | | | | | emulation has changed from 0-based indexing to 1-based like gnu readline. Original patch by Ronald Oussoren.
| * Issue #18919: If the close() method of a writer in the sunau or wave moduleSerhiy Storchaka2013-10-121-0/+4
| | | | | | | | | | failed, second invocation of close() and destructor no more raise an exception.
* | Issue #19218: Rename collections.abc to _collections_abc in order to speed ↵Christian Heimes2013-10-131-0/+3
| | | | | | | | up interpreter start
* | Issue #18582: Add 'pbkdf2_hmac' to the hashlib module.Christian Heimes2013-10-121-0/+3
| |
* | Issue #4555: All exported C symbols are now prefixed with either "Py" or "_Py".Antoine Pitrou2013-10-121-0/+3
| | | | | | | | ("make smelly" now clean)
* | Forgot NEWS entry for previous commit.Antoine Pitrou2013-10-121-0/+3
| |
* | Issue #19131: The aifc module now correctly reads and writes sampwidth ofSerhiy Storchaka2013-10-121-0/+3
|\ \ | |/ | | | | compressed streams.
| * Issue #19131: The aifc module now correctly reads and writes sampwidth ofSerhiy Storchaka2013-10-121-0/+3
| | | | | | | | compressed streams.
* | Issue #19209: Remove import of copyreg from the os module to speed upChristian Heimes2013-10-111-0/+4
| | | | | | | | | | | | interpreter startup. stat_result and statvfs_result are now hard-coded to reside in the os module. The patch is based on Victor Stinner's patch.
* | Issue #19205: Don't import the 're' module in site and sysconfig module toChristian Heimes2013-10-111-0/+3
| | | | | | | | to speed up interpreter start.
* | Issue #9548: Add a minimal "_bootlocale" module that is imported by the _io ↵Antoine Pitrou2013-10-111-0/+3
| | | | | | | | module instead of the full locale module.
* | Rename contextlib.ignored() to contextlib.ignore().Raymond Hettinger2013-10-111-2/+2
| |
* | upgrade unicode db to 6.3.0 (closes #19221)Benjamin Peterson2013-10-101-0/+2
| |
* | 18764: remove the problematic 'print' alias for the PDB 'p' command.R David Murray2013-10-101-0/+3
| | | | | | | | | | | | So that it no longer shadows the print function. Patch by Connor Osborn, doc and test changes by R. David Murray.
* | Close #16742: Fix misuse of memory allocations in PyOS_Readline()Victor Stinner2013-10-101-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The GIL must be held to call PyMem_Malloc(), whereas PyOS_Readline() releases the GIL to read input. The result of the C callback PyOS_ReadlineFunctionPointer must now be a string allocated by PyMem_RawMalloc() or PyMem_RawRealloc() (or NULL if an error occurred), instead of a string allocated by PyMem_Malloc() or PyMem_Realloc(). Fixing this issue was required to setup a hook on PyMem_Malloc(), for example using the tracemalloc module. PyOS_Readline() copies the result of PyOS_ReadlineFunctionPointer() into a new buffer allocated by PyMem_Malloc(). So the public API of PyOS_Readline() does not change.
* | Issue #15805: Add contextlib.redirect_stdout()Raymond Hettinger2013-10-101-0/+2
| |
* | Repair format of NEWS entry.Tim Peters2013-10-091-1/+2
|\ \ | |/