Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merged documentation addition from 3.2. | Vinay Sajip | 2011-11-23 | 1 | -0/+64 |
|\ | |||||
| * | Added a configuration dictionary example to the logging cookbook. | Vinay Sajip | 2011-11-23 | 1 | -0/+64 |
| | | |||||
* | | Closes #13459: Merged fix from 3.2. | Vinay Sajip | 2011-11-23 | 1 | -3/+9 |
|\ \ | |/ | |||||
| * | Closes #13459: Clarified documentation on Logger.propagate. Thanks to Mike ↵ | Vinay Sajip | 2011-11-23 | 1 | -3/+9 |
| | | | | | | | | Fogel for the patch. | ||||
* | | merge 3.2 (null) | Benjamin Peterson | 2011-11-23 | 0 | -0/+0 |
|\ \ | |/ | |||||
| * | decref correct object | Benjamin Peterson | 2011-11-23 | 1 | -1/+1 |
| | | |||||
* | | merge 3.2 | Benjamin Peterson | 2011-11-23 | 1 | -1/+5 |
|\ \ | |/ | |||||
| * | plug refleak | Benjamin Peterson | 2011-11-23 | 1 | -1/+3 |
| | | |||||
* | | merge heads | Benjamin Peterson | 2011-11-23 | 9 | -102/+68 |
|\ \ | |||||
| * \ | Issue #13458: Fix a memory leak in the ssl module when decoding a ↵ | Antoine Pitrou | 2011-11-23 | 2 | -0/+4 |
| |\ \ | | |/ | | | | | | | | | | | | | certificate with a subjectAltName. Patch by Robert Xiao. | ||||
| | * | Issue #13458: Fix a memory leak in the ssl module when decoding a ↵ | Antoine Pitrou | 2011-11-23 | 2 | -0/+4 |
| | | | | | | | | | | | | | | | | | | certificate with a subjectAltName. Patch by Robert Xiao. | ||||
| * | | revert cset 6a0da9b65e54 against sched.py committed by accident | Giampaolo Rodola' | 2011-11-22 | 1 | -8/+0 |
| | | | |||||
| * | | (Merge 3.2) Issue #13436: Fix unsetenv() test on Windows | Victor Stinner | 2011-11-22 | 1 | -1/+2 |
| |\ \ | | |/ | |||||
| | * | Issue #13436: Fix unsetenv() test on Windows | Victor Stinner | 2011-11-22 | 1 | -1/+2 |
| | | | |||||
| | * | Merge branch 3.2 | Victor Stinner | 2011-11-22 | 3 | -17/+22 |
| | |\ | |||||
| * | \ | Merge branch default | Victor Stinner | 2011-11-22 | 3 | -81/+44 |
| |\ \ \ | |||||
| | * \ \ | (Merge 3.2) Issue #13415: os.unsetenv() doesn't ignore errors anymore. | Victor Stinner | 2011-11-22 | 3 | -81/+44 |
| | |\ \ \ | | | | |/ | | | |/| | |||||
| | | * | | Issue #13415: os.unsetenv() doesn't ignore errors anymore. | Victor Stinner | 2011-11-22 | 3 | -17/+22 |
| | | | | | |||||
| * | | | | Merge branch 3.2 | Amaury Forgeot d'Arc | 2011-11-22 | 5 | -13/+19 |
| |\ \ \ \ | | |/ / / | |/| | / | | | |/ | | |/| | |||||
| | * | | Issue #13436: commit regenerated Python-ast.c | Amaury Forgeot d'Arc | 2011-11-22 | 1 | -5/+1 |
| | | | | |||||
| | * | | Issue #13436: Fix a bogus error message when an AST object was passed | Amaury Forgeot d'Arc | 2011-11-22 | 3 | -5/+15 |
| | | | | | | | | | | | | | | | | an invalid integer value. | ||||
| | * | | bytes() can't be used to get a representation of an object. | Amaury Forgeot d'Arc | 2011-11-22 | 1 | -3/+3 |
| | |/ | |||||
* | | | cave to those who like readable code | Benjamin Peterson | 2011-11-23 | 1 | -1/+15 |
|/ / | |||||
* | | fix compiler warning by implementing this more cleverly | Benjamin Peterson | 2011-11-22 | 1 | -6/+1 |
| | | |||||
* | | sort last committed name in alphabetical order | Giampaolo Rodola' | 2011-11-22 | 2 | -1/+9 |
| | | |||||
* | | Issue #13156: _PyGILState_Reinit(): Re-associate the auto thread state with the | Charles-François Natali | 2011-11-22 | 1 | -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 the | Charles-François Natali | 2011-11-22 | 1 | -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 enough | Charles-François Natali | 2011-11-22 | 1 | -0/+18 |
| | | | | | | | | POSIX semaphores (among which FreeBSD < 8). | ||||
* | | Issue #13093: Perform a real merge. | Charles-François Natali | 2011-11-22 | 0 | -0/+0 |
|\ \ | |/ | |||||
| * | Issue #12156: Skip test_multiprocessing on systems which don't support enough | Charles-François Natali | 2011-11-22 | 1 | -0/+18 |
| | | | | | | | | POSIX semaphores (among which FreeBSD < 8). | ||||
| * | Issue #13093: Fix error handling on PyUnicode_EncodeDecimal() | Victor Stinner | 2011-11-22 | 3 | -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 commit | Giampaolo Rodola' | 2011-11-22 | 3 | -8/+8 |
| | | |||||
* | | Fix 13245: | Giampaolo Rodola' | 2011-11-22 | 6 | -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 macros | Victor Stinner | 2011-11-22 | 1 | -4/+4 |
| | | |||||
* | | Remove "#ifdef Py_UNICODE_WIDE": Python is now always wide | Victor Stinner | 2011-11-22 | 3 | -25/+8 |
| | | |||||
* | | Issue #13441: Disable temporary the check on the maximum character until | Victor Stinner | 2011-11-22 | 1 | -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 warnings | Victor Stinner | 2011-11-22 | 3 | -3/+4 |
| | | |||||
* | | Use the new Unicode API | Victor Stinner | 2011-11-22 | 10 | -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 Stinner | 2011-11-22 | 2 | -4/+14 |
| | | |||||
* | | PyUnicode_FromKindAndData() fails with a ValueError if size < 0 | Victor Stinner | 2011-11-22 | 1 | -1/+4 |
| | | |||||
* | | UTF-8 decoder: set consumed value in the latin1 fast-path | Victor Stinner | 2011-11-22 | 1 | -0/+3 |
| | | |||||
* | | Replace _PyUnicode_READY_REPLACE() and _PyUnicode_ReadyReplace() with ↵ | Victor Stinner | 2011-11-22 | 1 | -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 Stinner | 2011-11-22 | 1 | -0/+7 |
| | | | | | | | | It tests indirectly PyUnicode_Copy(): ensure that the string is a copy. | ||||
* | | Rewrite PyUnicode_TransformDecimalToASCII() to use the new Unicode API | Victor Stinner | 2011-11-21 | 1 | -17/+26 |
| | | |||||
* | | Remove an unused variable from PyUnicode_Copy() | Victor Stinner | 2011-11-21 | 1 | -2/+0 |
| | | |||||
* | | Simplify PyUnicode_Copy() | Victor Stinner | 2011-11-21 | 1 | -26/+7 |
| | | | | | | | | USe PyUnicode_Copy() in fixup() | ||||
* | | Fix a compiler warning in _PyUnicode_CheckConsistency() | Victor Stinner | 2011-11-21 | 1 | -1/+1 |
| | | |||||
* | | Rewrite PyUnicode_EncodeDecimal() to use the new Unicode API | Victor Stinner | 2011-11-21 | 3 | -46/+132 |
| | | | | | | | | | | Add tests for PyUnicode_EncodeDecimal() and PyUnicode_TransformDecimalToASCII(). | ||||
* | | Issue #12328: Under Windows, refactor handling of Ctrl-C events and | Antoine Pitrou | 2011-11-21 | 8 | -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 Pitrou | 2011-11-21 | 9 | -19/+100 |
| | | | | | | | | is hashable. |