Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | merge 3.3 | Benjamin Peterson | 2013-10-18 | 1 | -1/+1 |
|\ | |||||
| * | fix description of super() behavior on descriptors | Benjamin Peterson | 2013-10-18 | 1 | -1/+1 |
| | | |||||
* | | Update more configurations in pcbuild.sln. | Richard Oudkerk | 2013-10-18 | 1 | -0/+6 |
| | | |||||
* | | Issue #18416: Fix various os calls in importlib.machinery.FileFinder | Brett Cannon | 2013-10-18 | 2 | -778/+780 |
| | | | | | | | | now that self.path is no longer forced to '.'. | ||||
* | | merge | Brett Cannon | 2013-10-18 | 11 | -49/+43 |
|\ \ | |||||
| * | | Update pcbuild.sln to build _overlapped. | Richard Oudkerk | 2013-10-18 | 1 | -16/+10 |
| | | | |||||
| * | | Rename Transport.pause/resume to pause_reading/pause_writing. Also relax ↵ | Guido van Rossum | 2013-10-18 | 10 | -33/+33 |
| | | | | | | | | | | | | timeout in test_call_later(). | ||||
* | | | Issue #18416: Have importlib.machinery.PathFinder treat '' as the cwd | Brett Cannon | 2013-10-18 | 6 | -3223/+3471 |
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Issue #16803: test.test_importlib.test_api now runs under frozen and | Brett Cannon | 2013-10-18 | 1 | -37/+69 |
| | | | | | | | | source. | ||||
* | | Remove redundant empty lines. | Serhiy Storchaka | 2013-10-18 | 1 | -5/+0 |
|\ \ | |/ | |||||
| * | Remove redundant empty lines. | Serhiy Storchaka | 2013-10-18 | 1 | -1/+1 |
| | | |||||
* | | Remove a duplicate. | Serhiy Storchaka | 2013-10-18 | 1 | -2/+0 |
| | | |||||
* | | Issue #16129: this should appease the buildbots | Nick Coghlan | 2013-10-18 | 1 | -8/+7 |
| | | |||||
* | | Remove test_sigterm(). | Richard Oudkerk | 2013-10-18 | 1 | -41/+0 |
| | | |||||
* | | Issue #16129: Py_SetStandardStreamEncoding cleanups | Nick Coghlan | 2013-10-18 | 3 | -9/+22 |
| | | | | | | | | | | | | | | | | | | - 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 | ||||
* | | Close #19284: Handle -R properly in flag helper | Nick Coghlan | 2013-10-18 | 1 | -0/+2 |
| | | | | | | | | | | Previously, the -R option would be specified multiple times if PYTHONHASHSEED was set. | ||||
* | | Fix markup. | Serhiy Storchaka | 2013-10-18 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Fix markup. | Serhiy Storchaka | 2013-10-18 | 1 | -2/+2 |
| | | |||||
* | | Issue #19030: special-cased __dict__ as the actual dict is not returned, a ↵ | Ethan Furman | 2013-10-18 | 1 | -0/+2 |
| | | | | | | | | proxy is. | ||||
* | | Issue #19272: slight clarification of pickle docs with regard to lambda. | Ethan Furman | 2013-10-18 | 1 | -2/+6 |
| | | |||||
* | | Close #19030: inspect.getmembers and inspect.classify_class_attrs | Ethan Furman | 2013-10-18 | 5 | -39/+131 |
| | | | | | | | | | | | | | | | | | | | | 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 Furman | 2013-10-18 | 1 | -0/+8 |
| | | | | | | | | I'll make sure and include them in future patches. | ||||
* | | Issue #19262: Install asyncio and test_asyncio directories. | Ned Deily | 2013-10-18 | 1 | -0/+2 |
| | | |||||
* | | Rename the logger to plain "logger". | Guido van Rossum | 2013-10-17 | 15 | -60/+61 |
| | | |||||
* | | Issue #19275: Fix test_site failure on OS X due to typo. | Ned Deily | 2013-10-17 | 1 | -1/+1 |
| | | |||||
* | | Make asyncio tests run on Windows. | Guido van Rossum | 2013-10-17 | 3 | -2/+12 |
| | | |||||
* | | Initial checkin of asyncio package (== Tulip, == PEP 3156). | Guido van Rossum | 2013-10-17 | 44 | -0/+16016 |
| | | |||||
* | | Issue #19276: Fixed the wave module on 64-bit big-endian platforms. | Serhiy Storchaka | 2013-10-17 | 2 | -1/+5 |
|\ \ | |/ | |||||
| * | Issue #19276: Fixed the wave module on 64-bit big-endian platforms. | Serhiy Storchaka | 2013-10-17 | 2 | -1/+5 |
| | | |||||
* | | merge with 3.3 | Georg Brandl | 2013-10-17 | 1 | -2/+1 |
|\ \ | |/ | |||||
| * | Fix inaccurate versionchanged tag for compressobj(): most parameter were ↵ | Georg Brandl | 2013-10-17 | 1 | -2/+1 |
| | | | | | | | | there, just got kwarg support. | ||||
* | | Skip #16129 test until I debug cross-platform issues | Nick Coghlan | 2013-10-17 | 1 | -0/+1 |
| | | |||||
* | | Try to debug overspecified test :( | Nick Coghlan | 2013-10-17 | 1 | -1/+2 |
| | | |||||
* | | Fix signal handler in test. | Richard Oudkerk | 2013-10-17 | 1 | -1/+5 |
| | | |||||
* | | Close #19266: contextlib.ignore -> contextlib.suppress | Nick Coghlan | 2013-10-17 | 6 | -31/+50 |
| | | | | | | | | Patch by Zero Piraeus. | ||||
* | | Merge. | Richard Oudkerk | 2013-10-17 | 1 | -2/+3 |
|\ \ | |||||
| * | | Issue #16129: Move Py_SetStandardStreamEncoding declaration | Nick Coghlan | 2013-10-17 | 1 | -2/+3 |
| | | | |||||
* | | | Try doing a raw test of os.fork()/os.kill(). | Richard Oudkerk | 2013-10-17 | 1 | -5/+36 |
|/ / | |||||
* | | Issue #16129: Add `Py_SetStandardStreamEncoding` | Nick Coghlan | 2013-10-17 | 8 | -48/+266 |
| | | | | | | | | | | | | | | | | | | | | | | 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) | ||||
* | | Stop trying to use strace, but add a sleep before terminate(). | Richard Oudkerk | 2013-10-17 | 1 | -8/+4 |
| | | |||||
* | | Issue #19275: Fix test_site on AMD64 Snow Leopard | Christian Heimes | 2013-10-17 | 2 | -2/+5 |
| | | |||||
* | | Try strace instead of gdb to see what wedged child is doing. | Richard Oudkerk | 2013-10-17 | 1 | -4/+6 |
| | | |||||
* | | Merge heads | Serhiy Storchaka | 2013-10-17 | 1 | -0/+13 |
|\ \ | |||||
| * | | Try to print a backtrace of wedged child process in test. | Richard Oudkerk | 2013-10-17 | 1 | -0/+13 |
| | | | |||||
* | | | Issue 19276: Fix tests for wave files on big-endian platforms. | Serhiy Storchaka | 2013-10-17 | 1 | -3/+10 |
|\ \ \ | |/ / |/| / | |/ | Skip tests for 24-bit wave file on big-endian platforms. | ||||
| * | Issue 19276: Fix tests for wave files on big-endian platforms. | Serhiy Storchaka | 2013-10-17 | 1 | -3/+10 |
| | | | | | | | | Skip tests for 24-bit wave file on big-endian platforms. | ||||
* | | #18891: Complete new provisional email API. | R David Murray | 2013-10-17 | 15 | -26/+2539 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Close #19252: better test coverage for Enum. Thanks, CliffM | Ethan Furman | 2013-10-17 | 1 | -2/+4 |
| | | |||||
* | | Fix import of SimpleQueue. | Richard Oudkerk | 2013-10-16 | 1 | -1/+2 |
| | | |||||
* | | Issue #18999: Make multiprocessing use context objects. | Richard Oudkerk | 2013-10-16 | 20 | -614/+736 |
| | | | | | | | | | | This allows different parts of a program to use different methods for starting processes without interfering with each other. |