Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | merge 3.2 (#11627) | Benjamin Peterson | 2011-07-15 | 1 | -0/+7 |
|\ | |||||
| * | catch nasty exception classes with __new__ that doesn't return a exception ↵ | Benjamin Peterson | 2011-07-15 | 1 | -0/+7 |
| | | | | | | | | | | | | (closes #11627) Patch from Andreas Stührk. | ||||
* | | Py_BuildValue("C") supports non-BMP characters on narrow build | Victor Stinner | 2011-07-14 | 1 | -5/+0 |
| | | | | | | | | | | | | Py_BuildValue("C") doesn't have to check the code point, PyUnicode_FromOrdinal() checks its input and now supports non-BMP characters (range U+10000-U+10FFFF). | ||||
* | | Issue #11863: Remove support for legacy systems deprecated in Python 3.2 | Antoine Pitrou | 2011-07-08 | 5 | -657/+0 |
| | | | | | | | | | | (following PEP 11). These systems are systems using Mach C Threads, SunOS lightweight processes, GNU pth threads and IRIX threads. | ||||
* | | Issue #11863: remove unused file Python/thread_wince.h | Antoine Pitrou | 2011-07-08 | 1 | -136/+0 |
| | | |||||
* | | merge 3.2 | Benjamin Peterson | 2011-07-05 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | start out this branch always with filename NULL | Benjamin Peterson | 2011-07-05 | 1 | -1/+1 |
| | | |||||
* | | Issue #12469: partial revert of 024827a9db64, freebsd6 thread initialization | Victor Stinner | 2011-07-04 | 1 | -4/+1 |
| | | | | | | | | | | | | | | * Don't create a thread at startup anymore to initialize the pthread library: it changes the behaviour of many functions related to signal handling like sigwait() * Reenable test_sigtimedwait_poll() on FreeBSD 6 | ||||
* | | Issue #9642: Uniformize the tests on the availability of the mbcs codec | Victor Stinner | 2011-07-04 | 1 | -1/+1 |
| | | | | | | | | Add a new HAVE_MBCS define. | ||||
* | | Issue #9642: Fix filesystem encoding initialization: use the ANSI code page on | Victor Stinner | 2011-07-04 | 2 | -19/+16 |
| | | | | | | | | | | | | Windows if the mbcs codec is not available, and fail with a fatal error if we cannot get the locale encoding (if nl_langinfo(CODESET) is not available) instead of using UTF-8. | ||||
* | | merge 3.2 | Benjamin Peterson | 2011-07-04 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | plug refleak | Benjamin Peterson | 2011-07-04 | 1 | -0/+1 |
| | | |||||
* | | (merge 3.2) Issue #12467: warnings: fix a race condition if a warning is | Victor Stinner | 2011-07-04 | 1 | -1/+1 |
|\ \ | |/ | | | | | emitted at shutdown, if globals()['__file__'] is None. | ||||
| * | Issue #12467: warnings: fix a race condition if a warning is emitted at | Victor Stinner | 2011-07-04 | 1 | -1/+1 |
| | | | | | | | | shutdown, if globals()['__file__'] is None. | ||||
* | | no one passes NULL here (or should anyway) | Benjamin Peterson | 2011-07-03 | 1 | -3/+0 |
| | | |||||
* | | convert generator exc state functions into static functions | Benjamin Peterson | 2011-07-03 | 1 | -54/+62 |
| | | |||||
* | | merge 3.2 | Benjamin Peterson | 2011-07-03 | 1 | -4/+36 |
|\ \ | |/ | |||||
| * | never retain a generator's caller's exception state on the generator after a ↵ | Benjamin Peterson | 2011-07-03 | 1 | -4/+36 |
| | | | | | | | | | | | | | | yield/return This requires some trickery to properly save the exception state if the generator creates its own exception state. | ||||
* | | merge 3.2 (#12475) | Benjamin Peterson | 2011-07-03 | 1 | -4/+5 |
|\ \ | |/ | |||||
| * | merge heads | Benjamin Peterson | 2011-07-03 | 1 | -60/+153 |
| |\ | |||||
| | * | Removed some unused local variables. | Vinay Sajip | 2011-07-02 | 1 | -2/+0 |
| | | | |||||
| * | | restore a generator's caller's exception state both on yield and (last) return | Benjamin Peterson | 2011-07-03 | 1 | -4/+5 |
| | | | | | | | | | | | | | | | | | | This prevents generator exception state from leaking into the caller. Closes #12475. | ||||
* | | | Correct uninitialized data problem in marshal code. | Vinay Sajip | 2011-07-02 | 1 | -0/+1 |
| | | | |||||
* | | | Removed breaking typo accidentally introduced during merge with 3.2. | Vinay Sajip | 2011-07-02 | 1 | -4/+0 |
| | | | |||||
* | | | Closes #12291 for 3.3 - merged fix from 3.2. | Vinay Sajip | 2011-07-02 | 1 | -59/+155 |
|\ \ \ | | |/ | |/| | |||||
| * | | Closes #12291: Fixed bug which was found when doing multiple loads from one ↵ | Vinay Sajip | 2011-07-02 | 1 | -60/+155 |
| |/ | | | | | | | stream. | ||||
* | | fix possibily uninitialized memory usage (closes #12474) | Benjamin Peterson | 2011-07-02 | 1 | -2/+2 |
| | | |||||
* | | store the current scope on the stack right away | Benjamin Peterson | 2011-06-30 | 1 | -21/+18 |
| | | |||||
* | | remove VISIT_*_IN_BLOCK macros | Benjamin Peterson | 2011-06-29 | 1 | -41/+10 |
| | | | | | | | | | | These are pointless because on error, all blocks will be finalized by symtable_dealloc. | ||||
* | | map cells to arg slots at code creation time (closes #12399) | Benjamin Peterson | 2011-06-26 | 1 | -48/+16 |
| | | | | | | | | This removes nested loops in PyEval_EvalCodeEx. | ||||
* | | Issue #12392: fix thread initialization on FreeBSD 6 | Victor Stinner | 2011-06-24 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | On FreeBSD6, pthread_kill() doesn't work on the main thread before the creation of the first thread. Create therefore a dummy thread (no-op) a startup to initialize the pthread library. Add also a test for this use case, test written by Charles-François Natali. | ||||
* | | give the names of missing positional or keyword-only arguments (closes #12356) | Benjamin Peterson | 2011-06-24 | 1 | -23/+118 |
| | | |||||
* | | merge 3.2 | Benjamin Peterson | 2011-06-21 | 1 | -6/+6 |
|\ \ | |/ | |||||
| * | fix indentation | Benjamin Peterson | 2011-06-21 | 1 | -6/+6 |
| | | |||||
* | | merge 3.2 | Benjamin Peterson | 2011-06-21 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | fix indentation | Benjamin Peterson | 2011-06-21 | 1 | -1/+1 |
| | | |||||
* | | call_find_module() handles dup() failure: raise an OSError exception | Victor Stinner | 2011-06-20 | 1 | -0/+4 |
| | | |||||
* | | find_module_path_list() fails if _Py_fopen() failed and raised an exception | Victor Stinner | 2011-06-20 | 1 | -0/+4 |
| | | | | | | | | (UnicodeEncodeError). | ||||
* | | bump magic for super closure change | Benjamin Peterson | 2011-06-20 | 1 | -1/+2 |
| | | |||||
* | | use a invalid name for the __class__ closure for super() (closes #12370) | Benjamin Peterson | 2011-06-20 | 2 | -9/+12 |
| | | | | | | | | | | This prevents the assignment of __class__ in the class body from breaking super. (Although a determined person could do locals()["@__class__"] = 4) | ||||
* | | Removed a Windows 9x trick used before LoadLibraryExW. | Brian Curtin | 2011-06-09 | 1 | -17/+8 |
| | | | | | | | | | | Windows 9x has long been unsupported and the result of GetFullPathName was not even being used in the first place. | ||||
* | | greatly improve argument parsing error messages (closes #12265) | Benjamin Peterson | 2011-06-06 | 1 | -137/+166 |
| | | |||||
* | | some horrible preprocessing tricks to automatically update the tag | Benjamin Peterson | 2011-06-03 | 1 | -2/+10 |
| | | |||||
* | | bump ast version | Benjamin Peterson | 2011-05-29 | 1 | -2/+2 |
| | | |||||
* | | unify TryExcept and TryFinally (closes #12199) | Benjamin Peterson | 2011-05-29 | 4 | -137/+64 |
| | | |||||
* | | Issue #9670: Increase the default stack size for secondary threads on | Ned Deily | 2011-05-28 | 1 | -0/+12 |
|\ \ | |/ | | | | | | | | | Mac OS X and FreeBSD to reduce the chances of a crash instead of a "maximum recursion depth" RuntimeError exception. (patch by Ronald Oussoren) | ||||
| * | Issue #9670: Increase the default stack size for secondary threads on | Ned Deily | 2011-05-28 | 1 | -0/+12 |
| |\ | | | | | | | | | | | | | | | | Mac OS X and FreeBSD to reduce the chances of a crash instead of a "maximum recursion depth" RuntimeError exception. (patch by Ronald Oussoren) | ||||
| | * | Issue #9670: Increase the default stack size for secondary threads on | Ned Deily | 2011-05-28 | 1 | -0/+12 |
| | | | | | | | | | | | | | | | | | | Mac OS X and FreeBSD to reduce the chances of a crash instead of a "maximum recursion depth" RuntimeError exception. (patch by Ronald Oussoren) | ||||
* | | | merge 3.2 | Benjamin Peterson | 2011-05-27 | 1 | -2/+2 |
|\ \ \ | |/ / | |||||
| * | | merge 3.1 | Benjamin Peterson | 2011-05-27 | 1 | -2/+2 |
| |\ \ | | |/ |