summaryrefslogtreecommitdiffstats
path: root/Python
Commit message (Collapse)AuthorAgeFilesLines
* plug refleakBenjamin Peterson2011-07-301-0/+1
|
* bytes -> bytearrayBenjamin Peterson2011-07-291-1/+1
|
* bytes should be verboten in sum() (fixes #12654)Benjamin Peterson2011-07-291-0/+5
|
* Branch mergeÉric Araujo2011-07-291-3/+3
|\
| * Merge from 3.2 (#10318, #12255, #12043, #12417 and other fixes)Éric Araujo2011-07-291-3/+3
| |\
| | * Fix style in code added by edba722f3b02Éric Araujo2011-07-261-3/+3
| | |
* | | Issue #12380: PyArg_ParseTuple now accepts a bytearray for the 'c' format.Eli Bendersky2011-07-291-0/+2
|/ / | | | | | | | | | | | | As a side effect, this now allows the rjust, ljust and center methods of bytes and bytearray to accept a bytearray argument. Patch by Petri Lehtinen
* | Add a test for issue #1813: getlocale() failing under a Turkish localeAntoine Pitrou2011-07-241-1/+1
|\ \ | |/ | | | | (not a problem under 3.x)
| * Issue #1813: Fix codec lookup under Turkish locales.Antoine Pitrou2011-07-241-1/+1
| |
* | Issue 12620: Make pendingbusy flag static to Py_MakePendingCalls().Charles-François Natali2011-07-231-4/+4
| |
* | merge 3.2Benjamin Peterson2011-07-221-10/+8
|\ \ | |/
| * None is ok for identifiers but not stringsBenjamin Peterson2011-07-221-10/+8
| |
| * hardcode the old svn __version__Benjamin Peterson2011-07-221-2/+2
| |
* | merge 3.2Benjamin Peterson2011-07-221-2/+19
|\ \ | |/
| * type check AST strings and identifiersBenjamin Peterson2011-07-221-4/+21
| | | | | | | | This is related to a21829180423 as well as #12609 and #12610.
* | merge headsBenjamin Peterson2011-07-181-2/+2
|\ \
| * | Make warnings accept a callable for showwarnings instead ofBrett Cannon2011-07-181-2/+2
| | | | | | | | | | | | | | | | | | | | | restricting itself to just functions and methods (which allows built-in functions to be used, etc.). Closes issue #10271. Thanks to lekma for the bug report.
* | | excise the remains of STOP_CODE, which hasn't done anything useful for yearsBenjamin Peterson2011-07-182-5/+0
|/ /
* | remove ast.__version__ (closes #12273)Benjamin Peterson2011-07-161-11/+0
| |
* | merge 3.2 (#11627)Benjamin Peterson2011-07-151-0/+7
|\ \ | |/
| * catch nasty exception classes with __new__ that doesn't return a exception ↵Benjamin Peterson2011-07-151-0/+7
| | | | | | | | | | | | (closes #11627) Patch from Andreas Stührk.
* | Py_BuildValue("C") supports non-BMP characters on narrow buildVictor Stinner2011-07-141-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.2Antoine Pitrou2011-07-085-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.hAntoine Pitrou2011-07-081-136/+0
| |
* | merge 3.2Benjamin Peterson2011-07-051-1/+1
|\ \ | |/
| * start out this branch always with filename NULLBenjamin Peterson2011-07-051-1/+1
| |
* | Issue #12469: partial revert of 024827a9db64, freebsd6 thread initializationVictor Stinner2011-07-041-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 codecVictor Stinner2011-07-041-1/+1
| | | | | | | | Add a new HAVE_MBCS define.
* | Issue #9642: Fix filesystem encoding initialization: use the ANSI code page onVictor Stinner2011-07-042-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.2Benjamin Peterson2011-07-041-0/+1
|\ \ | |/
| * plug refleakBenjamin Peterson2011-07-041-0/+1
| |
* | (merge 3.2) Issue #12467: warnings: fix a race condition if a warning isVictor Stinner2011-07-041-1/+1
|\ \ | |/ | | | | emitted at shutdown, if globals()['__file__'] is None.
| * Issue #12467: warnings: fix a race condition if a warning is emitted atVictor Stinner2011-07-041-1/+1
| | | | | | | | shutdown, if globals()['__file__'] is None.
* | no one passes NULL here (or should anyway)Benjamin Peterson2011-07-031-3/+0
| |
* | convert generator exc state functions into static functionsBenjamin Peterson2011-07-031-54/+62
| |
* | merge 3.2Benjamin Peterson2011-07-031-4/+36
|\ \ | |/
| * never retain a generator's caller's exception state on the generator after a ↵Benjamin Peterson2011-07-031-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 Peterson2011-07-031-4/+5
|\ \ | |/
| * merge headsBenjamin Peterson2011-07-031-60/+153
| |\
| | * Removed some unused local variables.Vinay Sajip2011-07-021-2/+0
| | |
| * | restore a generator's caller's exception state both on yield and (last) returnBenjamin Peterson2011-07-031-4/+5
| | | | | | | | | | | | | | | | | | This prevents generator exception state from leaking into the caller. Closes #12475.
* | | Correct uninitialized data problem in marshal code.Vinay Sajip2011-07-021-0/+1
| | |
* | | Removed breaking typo accidentally introduced during merge with 3.2.Vinay Sajip2011-07-021-4/+0
| | |
* | | Closes #12291 for 3.3 - merged fix from 3.2.Vinay Sajip2011-07-021-59/+155
|\ \ \ | | |/ | |/|
| * | Closes #12291: Fixed bug which was found when doing multiple loads from one ↵Vinay Sajip2011-07-021-60/+155
| |/ | | | | | | stream.
* | fix possibily uninitialized memory usage (closes #12474)Benjamin Peterson2011-07-021-2/+2
| |
* | store the current scope on the stack right awayBenjamin Peterson2011-06-301-21/+18
| |
* | remove VISIT_*_IN_BLOCK macrosBenjamin Peterson2011-06-291-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 Peterson2011-06-261-48/+16
| | | | | | | | This removes nested loops in PyEval_EvalCodeEx.
* | Issue #12392: fix thread initialization on FreeBSD 6Victor Stinner2011-06-241-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.