Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add a new PyUnicode_Fill() function | Victor Stinner | 2012-01-03 | 1 | -15/+6 |
| | | | | | It is faster than the unicode_fill() function which was implemented in formatter_unicode.c. | ||||
* | merge 3.2 | Benjamin Peterson | 2012-01-03 | 1 | -1/+1 |
|\ | |||||
| * | fix formatting | Benjamin Peterson | 2012-01-03 | 1 | -1/+1 |
| | | |||||
* | | merge 3.2 | Benjamin Peterson | 2012-01-01 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | add another year to glorious PSF IP | Benjamin Peterson | 2012-01-01 | 1 | -1/+1 |
| | | |||||
* | | Issue #13626: Add support for SSL Diffie-Hellman key exchange, through the | Antoine Pitrou | 2011-12-22 | 1 | -0/+6 |
| | | | | | | | | SSLContext.load_dh_params() method and the ssl.OP_SINGLE_DH_USE option. | ||||
* | | _Py_fopen now allows bytes filenames under non-Windows platforms. | Antoine Pitrou | 2011-12-19 | 1 | -2/+2 |
| | | |||||
* | | (Merge 3.2) Handle correctly _Py_fopen() error: don't replace the exception | Victor Stinner | 2011-12-18 | 1 | -9/+21 |
|\ \ | |/ | |||||
* | | import.c now catchs _Py_stat() exceptions | Victor Stinner | 2011-12-18 | 2 | -11/+35 |
| | | | | | | | | _Py_stat() now returns -2 if an exception was raised. | ||||
* | | Issue #13560: Locale codec functions use the classic "errors" parameter, | Victor Stinner | 2011-12-17 | 1 | -1/+1 |
| | | | | | | | | | | | | instead of surrogateescape So it would be possible to support more error handlers later. | ||||
* | | Issue #13560: os.strerror() now uses the current locale encoding instead of ↵ | Victor Stinner | 2011-12-17 | 1 | -8/+9 |
| | | | | | | | | UTF-8 | ||||
* | | Add PyUnicode_DecodeLocaleAndSize() and PyUnicode_DecodeLocale() | Victor Stinner | 2011-12-16 | 1 | -9/+16 |
| | | | | | | | | | | | | | | | | | | | | | | * PyUnicode_DecodeLocaleAndSize() and PyUnicode_DecodeLocale() decode a string from the current locale encoding * _Py_char2wchar() writes an "error code" in the size argument to indicate if the function failed because of memory allocation failure or because of a decoding error. The function doesn't write the error message directly to stderr. * Fix time.strftime() (if wcsftime() is missing): decode strftime() result from the current locale encoding, not from the filesystem encoding. | ||||
* | | Issue #13575: there is only one class type. | Florent Xicluna | 2011-12-12 | 2 | -7/+2 |
| | | |||||
* | | Merge 3.2 | Florent Xicluna | 2011-12-09 | 1 | -1/+0 |
|\ \ | |/ | |||||
| * | Remove obsolete py3k comment. | Florent Xicluna | 2011-12-09 | 1 | -1/+0 |
| | | |||||
* | | Followup to a541bda2f5e2: Add a short comment. | Charles-François Natali | 2011-12-07 | 1 | -0/+1 |
| | | |||||
* | | Issue #11051: Reduce the number of syscalls per import. | Charles-François Natali | 2011-12-07 | 1 | -2/+1 |
| | | |||||
* | | Issue #9530: Fix undefined behaviour due to signed overflow in ↵ | Mark Dickinson | 2011-12-01 | 1 | -9/+7 |
| | | | | | | | | Python/formatter_unicode.c. | ||||
* | | PyCodec_IgnoreErrors() avoids the deprecated "u#" format | Victor Stinner | 2011-12-01 | 1 | -2/+1 |
| | | |||||
* | | Issue #7111: Python can now be run without a stdin, stdout or stderr stream. | Antoine Pitrou | 2011-11-28 | 1 | -15/+16 |
|\ \ | |/ | | | | | | | It was already the case with Python 2. However, the corresponding sys module entries are now set to None (instead of an unusable file object). | ||||
| * | Issue #7111: Python can now be run without a stdin, stdout or stderr stream. | Antoine Pitrou | 2011-11-28 | 1 | -15/+16 |
| | | | | | | | | | | It was already the case with Python 2. However, the corresponding sys module entries are now set to None (instead of an unusable file object). | ||||
* | | Issue #13444: When stdout has been closed explicitly, we should not attempt ↵ | Antoine Pitrou | 2011-11-26 | 1 | -2/+18 |
|\ \ | |/ | | | | | | | | | to flush it at shutdown and print an error. This also adds a test for issue #5319, whose resolution introduced the issue. | ||||
| * | Issue #13444: When stdout has been closed explicitly, we should not attempt ↵ | Antoine Pitrou | 2011-11-26 | 1 | -2/+18 |
| | | | | | | | | | | | | to flush it at shutdown and print an error. This also adds a test for issue #5319, whose resolution introduced the issue. | ||||
* | | PEP 3155 / issue #13448: Qualified name for classes and functions. | Antoine Pitrou | 2011-11-25 | 3 | -21/+125 |
| | | |||||
* | | Merge branch 3.2 | Amaury Forgeot d'Arc | 2011-11-22 | 1 | -5/+1 |
|\ \ | |/ | |||||
| * | Issue #13436: commit regenerated Python-ast.c | Amaury Forgeot d'Arc | 2011-11-22 | 1 | -5/+1 |
| | | |||||
* | | 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). | ||||
* | | Remove "#ifdef Py_UNICODE_WIDE": Python is now always wide | Victor Stinner | 2011-11-22 | 2 | -17/+4 |
| | | |||||
* | | Use the new Unicode API | Victor Stinner | 2011-11-22 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | * 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() | ||||
* | | Fix misuse of PyUnicode_GET_SIZE() => PyUnicode_GET_LENGTH() | Victor Stinner | 2011-11-21 | 1 | -5/+5 |
| | | | | | | | | And PyUnicode_GetSize() => PyUnicode_GetLength() | ||||
* | | Check for PyUnicode_AS_UNICODE() failure | Victor Stinner | 2011-11-21 | 1 | -1/+6 |
| | | |||||
* | | print_exception() uses PyUnicode_GetLength() instead of PyUnicode_GetSize() | Victor Stinner | 2011-11-20 | 1 | -1/+1 |
| | | |||||
* | | Issue #10227: Add an allocation cache for a single slice object. | Antoine Pitrou | 2011-11-18 | 1 | -0/+1 |
| | | | | | | | | Patch by Stefan Behnel. | ||||
* | | Catch PyUnicode_AS_UNICODE() errors in fileutils.c | Victor Stinner | 2011-11-16 | 1 | -2/+11 |
| | | |||||
* | | Catch PyUnicode_AS_UNICODE() errors | Victor Stinner | 2011-11-16 | 1 | -14/+33 |
| | | |||||
* | | Use PyUnicode_FromFormat() to create the temporary file name. | Antoine Pitrou | 2011-11-15 | 1 | -27/+14 |
| | | | | | | | | | | Also, as in importlib, append the id of an object to make the file name pseudo-random. | ||||
* | | Fix regression under Windows following b75b41237380 (from issue #13392) | Antoine Pitrou | 2011-11-15 | 1 | -0/+5 |
| | | |||||
* | | Issue #13392: Writing a pyc file should now be atomic under Windows as well. | Antoine Pitrou | 2011-11-15 | 1 | -10/+38 |
| | | |||||
* | | Issue #13303: Fix bytecode file default permission. | Charles-François Natali | 2011-11-10 | 1 | -6/+5 |
| | | |||||
* | | Make _PyUnicode_FromId return borrowed references. | Martin v. Löwis | 2011-11-07 | 1 | -2/+0 |
| | | | | | | | | http://mail.python.org/pipermail/python-dev/2011-November/114347.html | ||||
* | | quote the type name for improved readability | Philip Jenvey | 2011-11-07 | 1 | -1/+1 |
| | | |||||
* | | Issue #13342: input() used to ignore sys.stdin's and sys.stdout's unicode | Antoine Pitrou | 2011-11-05 | 1 | -42/+42 |
|\ \ | |/ | | | | | error handler in interactive mode (when calling into PyOS_Readline()). | ||||
| * | Issue #13342: input() used to ignore sys.stdin's and sys.stdout's unicode | Antoine Pitrou | 2011-11-05 | 1 | -42/+41 |
| | | | | | | | | error handler in interactive mode (when calling into PyOS_Readline()). | ||||
* | | Issue #13343: Fix a SystemError when a lambda expression uses a global | Amaury Forgeot d'Arc | 2011-11-04 | 1 | -0/+3 |
|\ \ | |/ | | | | | | | variable in the default value of a keyword-only argument: (lambda *, arg=GLOBAL_NAME: None) | ||||
| * | Issue #13343: Fix a SystemError when a lambda expression uses a global | Amaury Forgeot d'Arc | 2011-11-04 | 1 | -0/+3 |
| | | | | | | | | | | variable in the default value of a keyword-only argument: (lambda *, arg=GLOBAL_NAME: None) | ||||
* | | Avoid the Py_UNICODE type in codecs.c | Victor Stinner | 2011-11-04 | 1 | -4/+11 |
| | | |||||
* | | PyCodec_XMLCharRefReplaceError(): Remove unused variable | Victor Stinner | 2011-11-04 | 1 | -2/+2 |
| | | |||||
* | | Fix C89 incompatibility. | Martin v. Löwis | 2011-11-04 | 1 | -1/+1 |
| | | |||||
* | | Port error handlers from Py_UNICODE indexing to code point indexing. | Martin v. Löwis | 2011-11-04 | 1 | -77/+46 |
| | |