summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merged documentation addition from 3.2.Vinay Sajip2011-11-231-0/+64
|\
| * Added a configuration dictionary example to the logging cookbook.Vinay Sajip2011-11-231-0/+64
| |
* | Closes #13459: Merged fix from 3.2.Vinay Sajip2011-11-231-3/+9
|\ \ | |/
| * Closes #13459: Clarified documentation on Logger.propagate. Thanks to Mike ↵Vinay Sajip2011-11-231-3/+9
| | | | | | | | Fogel for the patch.
* | merge 3.2 (null)Benjamin Peterson2011-11-230-0/+0
|\ \ | |/
| * decref correct objectBenjamin Peterson2011-11-231-1/+1
| |
* | merge 3.2Benjamin Peterson2011-11-231-1/+5
|\ \ | |/
| * plug refleakBenjamin Peterson2011-11-231-1/+3
| |
* | merge headsBenjamin Peterson2011-11-239-102/+68
|\ \
| * \ Issue #13458: Fix a memory leak in the ssl module when decoding a ↵Antoine Pitrou2011-11-232-0/+4
| |\ \ | | |/ | | | | | | | | | | | | certificate with a subjectAltName. Patch by Robert Xiao.
| | * Issue #13458: Fix a memory leak in the ssl module when decoding a ↵Antoine Pitrou2011-11-232-0/+4
| | | | | | | | | | | | | | | | | | certificate with a subjectAltName. Patch by Robert Xiao.
| * | revert cset 6a0da9b65e54 against sched.py committed by accidentGiampaolo Rodola'2011-11-221-8/+0
| | |
| * | (Merge 3.2) Issue #13436: Fix unsetenv() test on WindowsVictor Stinner2011-11-221-1/+2
| |\ \ | | |/
| | * Issue #13436: Fix unsetenv() test on WindowsVictor Stinner2011-11-221-1/+2
| | |
| | * Merge branch 3.2Victor Stinner2011-11-223-17/+22
| | |\
| * | \ Merge branch defaultVictor Stinner2011-11-223-81/+44
| |\ \ \
| | * \ \ (Merge 3.2) Issue #13415: os.unsetenv() doesn't ignore errors anymore.Victor Stinner2011-11-223-81/+44
| | |\ \ \ | | | | |/ | | | |/|
| | | * | Issue #13415: os.unsetenv() doesn't ignore errors anymore.Victor Stinner2011-11-223-17/+22
| | | | |
| * | | | Merge branch 3.2Amaury Forgeot d'Arc2011-11-225-13/+19
| |\ \ \ \ | | |/ / / | |/| | / | | | |/ | | |/|
| | * | Issue #13436: commit regenerated Python-ast.cAmaury Forgeot d'Arc2011-11-221-5/+1
| | | |
| | * | Issue #13436: Fix a bogus error message when an AST object was passedAmaury Forgeot d'Arc2011-11-223-5/+15
| | | | | | | | | | | | | | | | an invalid integer value.
| | * | bytes() can't be used to get a representation of an object.Amaury Forgeot d'Arc2011-11-221-3/+3
| | |/
* | | cave to those who like readable codeBenjamin Peterson2011-11-231-1/+15
|/ /
* | fix compiler warning by implementing this more cleverlyBenjamin Peterson2011-11-221-6/+1
| |
* | sort last committed name in alphabetical orderGiampaolo Rodola'2011-11-222-1/+9
| |
* | Issue #13156: _PyGILState_Reinit(): Re-associate the auto thread state with theCharles-François Natali2011-11-221-4/+5
|\ \ | |/ | | | | | | | | TLS key only if the thread that called fork() had an associated auto thread state (this might not be the case for example for a thread created outside of Python calling into a subinterpreter).
| * Issue #13156: _PyGILState_Reinit(): Re-associate the auto thread state with theCharles-François Natali2011-11-221-4/+5
| | | | | | | | | | | | TLS key only if the thread that called fork() had an associated auto thread state (this might not be the case for example for a thread created outside of Python calling into a subinterpreter).
* | Issue #12156: Skip test_multiprocessing on systems which don't support enoughCharles-François Natali2011-11-221-0/+18
| | | | | | | | POSIX semaphores (among which FreeBSD < 8).
* | Issue #13093: Perform a real merge.Charles-François Natali2011-11-220-0/+0
|\ \ | |/
| * Issue #12156: Skip test_multiprocessing on systems which don't support enoughCharles-François Natali2011-11-221-0/+18
| | | | | | | | POSIX semaphores (among which FreeBSD < 8).
| * Issue #13093: Fix error handling on PyUnicode_EncodeDecimal()Victor Stinner2011-11-223-8/+89
| | | | | | | | | | * Add tests for PyUnicode_EncodeDecimal() and PyUnicode_TransformDecimalToASCII() * Remove the unused "e" variable in replace()
* | fix wrong credit and issue id given in previous commitGiampaolo Rodola'2011-11-223-8/+8
| |
* | Fix 13245:Giampaolo Rodola'2011-11-226-14/+64
| | | | | | | | | | | | | | sched.scheduler class constructor's timefunc and delayfunct parameters are now optional. scheduler.enter and scheduler.enterabs methods gained a new kwargs parameter. Patch contributed by Matt Mulsow.
* | find_maxchar_surrogates() reuses surrogate macrosVictor Stinner2011-11-221-4/+4
| |
* | Remove "#ifdef Py_UNICODE_WIDE": Python is now always wideVictor Stinner2011-11-223-25/+8
| |
* | Issue #13441: Disable temporary the check on the maximum character untilVictor Stinner2011-11-221-20/+12
| | | | | | | | | | | | | | | | | | | | the Solaris issue is solved. But add assertion on the maximum character in various encoders: UTF-7, UTF-8, wide character (wchar_t*, Py_UNICODE*), unicode-escape, raw-unicode-escape. Fix also unicode_encode_ucs1() for backslashreplace error handler: Python is now always "wide".
* | Fix compiler warningsVictor Stinner2011-11-223-3/+4
| |
* | Use the new Unicode APIVictor Stinner2011-11-2210-41/+38
| | | | | | | | | | | | | | | | * Replace PyUnicode_FromUnicode(NULL, 0) by PyUnicode_New(0, 0) * Replce PyUnicode_FromUnicode(str, len) by PyUnicode_FromWideChar(str, len) * Replace Py_UNICODE by wchar_t * posix_putenv() uses PyUnicode_FromFormat() to create the string, instead of PyUnicode_FromUnicode() + _snwprintf()
* | (Merge 3.2) Issue #13093: Fix error handling on PyUnicode_EncodeDecimal()Victor Stinner2011-11-222-4/+14
| |
* | PyUnicode_FromKindAndData() fails with a ValueError if size < 0Victor Stinner2011-11-221-1/+4
| |
* | UTF-8 decoder: set consumed value in the latin1 fast-pathVictor Stinner2011-11-221-0/+3
| |
* | Replace _PyUnicode_READY_REPLACE() and _PyUnicode_ReadyReplace() with ↵Victor Stinner2011-11-221-143/+150
| | | | | | | | | | | | | | | | | | | | unicode_ready() * unicode_ready() has a simpler API * try to reuse unicode_empty and latin1_char singleton everywhere * Fix a reference leak in _PyUnicode_TranslateCharmap() * PyUnicode_InternInPlace() doesn't try to get a singleton anymore, to avoid having to handle a failure
* | Add a test on str.__getnewargs__()Victor Stinner2011-11-221-0/+7
| | | | | | | | It tests indirectly PyUnicode_Copy(): ensure that the string is a copy.
* | Rewrite PyUnicode_TransformDecimalToASCII() to use the new Unicode APIVictor Stinner2011-11-211-17/+26
| |
* | Remove an unused variable from PyUnicode_Copy()Victor Stinner2011-11-211-2/+0
| |
* | Simplify PyUnicode_Copy()Victor Stinner2011-11-211-26/+7
| | | | | | | | USe PyUnicode_Copy() in fixup()
* | Fix a compiler warning in _PyUnicode_CheckConsistency()Victor Stinner2011-11-211-1/+1
| |
* | Rewrite PyUnicode_EncodeDecimal() to use the new Unicode APIVictor Stinner2011-11-213-46/+132
| | | | | | | | | | Add tests for PyUnicode_EncodeDecimal() and PyUnicode_TransformDecimalToASCII().
* | Issue #12328: Under Windows, refactor handling of Ctrl-C events andAntoine Pitrou2011-11-218-98/+84
| | | | | | | | | | make _multiprocessing.win32.WaitForMultipleObjects interruptible when the wait_flag parameter is false. Patch by sbt.
* | Issue #13411: memoryview objects are now hashable when the underlying object ↵Antoine Pitrou2011-11-219-19/+100
| | | | | | | | is hashable.