Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | logging: Documented usage of callables as filters. | Vinay Sajip | 2010-10-19 | 2 | -12/+16 |
| | |||||
* | Issue #7061: Fixed some of the issues in turtle module documentation | Alexander Belopolsky | 2010-10-19 | 1 | -11/+13 |
| | | | | reported by Terry J. Reedy. | ||||
* | Be consistent in the spelling of thread-safe(ty). | Georg Brandl | 2010-10-19 | 5 | -7/+7 |
| | |||||
* | logging: Allowed filters to be just callables. | Vinay Sajip | 2010-10-19 | 3 | -1/+45 |
| | |||||
* | logging: Added tests for _logRecordClass changes. | Vinay Sajip | 2010-10-19 | 3 | -2/+51 |
| | |||||
* | #10092: Properly reset locale in Locale*Calendar classes. The context ↵ | Georg Brandl | 2010-10-19 | 4 | -5/+30 |
| | | | | manager was buggy because setlocale() returns the *new* locale, not the old. Also add a test for this. | ||||
* | Fixed the docstring for calendar.isleap() function. | Alexander Belopolsky | 2010-10-19 | 1 | -1/+1 |
| | | | | Thanks Boštjan Mejak for the patch. | ||||
* | logging: Added _logRecordClass, getLogRecordClass, setLogRecordClass to ↵ | Vinay Sajip | 2010-10-19 | 2 | -3/+26 |
| | | | | increase flexibility of LogRecord creation. | ||||
* | Fix Issue10140 - Tools/scripts/pathfix.py: add option to preserve timestamps | Senthil Kumaran | 2010-10-19 | 1 | -3/+18 |
| | |||||
* | initfsencoding(): get_codeset() failure is now a fatal error | Victor Stinner | 2010-10-19 | 1 | -13/+6 |
| | | | | | Don't fallback to utf-8 anymore to avoid mojibake. I never got any error from his function. | ||||
* | zipimport: remove arbitrary length limit from message formats | Victor Stinner | 2010-10-18 | 1 | -14/+9 |
| | | | | | PyErr_Format() and PyUnicode_FromFormat() are able to allocate the right buffer size and to catch memory allocation failures. | ||||
* | zipimport: document archive encoding; fix indentation | Victor Stinner | 2010-10-18 | 1 | -3/+4 |
| | |||||
* | Revert r85699 and r85701 (zipimport): fullname is a module name, not a path | Victor Stinner | 2010-10-18 | 1 | -42/+18 |
| | | | | UTF-8 is just fine for module names. | ||||
* | zipimport: fix "can't find module ..." error message | Victor Stinner | 2010-10-18 | 1 | -4/+16 |
| | | | | | | I cannot use %U: fullname is a bytes object, not an unicode object. %A format cannot be used, it adds 'b' (bytes) prefix. So create cant_find_module() function to decode the filename and raise the error message. | ||||
* | PyUnicode_FromFormatV(): Fix %A format | Victor Stinner | 2010-10-18 | 2 | -3/+7 |
| | | | | It was not completly implemented. Add a test. | ||||
* | zipimport: find_module(), is_package() and get_source() supports surrogates | Victor Stinner | 2010-10-18 | 1 | -16/+28 |
| | | | | Use PyUnicode_FSConverter to support surrogates in the full name. | ||||
* | zipimport: pass path size to make_filename() | Victor Stinner | 2010-10-18 | 1 | -5/+5 |
| | | | | Don't hardcode path size in make_filename(). | ||||
* | One more change for issue 9807, by Matthias Klose. | Barry Warsaw | 2010-10-18 | 4 | -5/+6 |
| | | | | | This adds $ABIFLAGS to the static library, since it should match the shared library name. Also, include the abiflags in python-config --libs. | ||||
* | Reverted inadvertent change that slipped into r85695 | Alexander Belopolsky | 2010-10-18 | 1 | -1/+0 |
| | |||||
* | Issue #10117: Tools/scripts/reindent.py now accepts source files that | Alexander Belopolsky | 2010-10-18 | 3 | -2/+9 |
| | | | | | use encoding other than ASCII or UTF-8. Source encoding is preserved when reindented code is written to a file. | ||||
* | Fix hash function type. | Georg Brandl | 2010-10-18 | 1 | -1/+1 |
| | |||||
* | get_code_from_data() uses the filesystem encoding to encode the module path, | Victor Stinner | 2010-10-18 | 1 | -8/+7 |
| | | | | instead of utf-8. | ||||
* | zipimport: read_directory() uses cp437 or utf-8 (in strict mode), depending on | Victor Stinner | 2010-10-18 | 1 | -2/+9 |
| | | | | | the unicode flag, to decode the filename, instead of the filesystem encoding. Use the same choice than the zipfile module. | ||||
* | Issue #5117: Case normalization was needed on ntpath.relpath(). And | Hirokazu Yamamoto | 2010-10-18 | 5 | -4/+27 |
| | | | | | fixed root directory issue on posixpath.relpath(). (Ported working fixes from ntpath) | ||||
* | zipimport: get_module_code() returns modpath as a Unicode object | Victor Stinner | 2010-10-18 | 1 | -12/+23 |
| | | | | | ... instead of a char*. Encode the module path to the fileystem encoding (for PyImport_ExecCodeModuleEx) instead of utf-8. | ||||
* | zipimporter_load_module() doesn't destroy mod on error | Victor Stinner | 2010-10-18 | 1 | -9/+9 |
| | | | | | PyImport_AddModule() returns a borrowed reference. Don't display "import ... # loaded from Zip ..." on error. | ||||
* | zipimport: encode the prefix to the fileystem encoding | Victor Stinner | 2010-10-18 | 1 | -8/+15 |
| | |||||
* | zipimport, get_module_code(): avoid useless _PyUnicode_AsString() | Victor Stinner | 2010-10-18 | 1 | -3/+2 |
| | |||||
* | zipimport: fix indentation | Victor Stinner | 2010-10-18 | 1 | -4/+5 |
| | |||||
* | Remove more unneeded casts to hashfunc. | Georg Brandl | 2010-10-18 | 2 | -6/+6 |
| | |||||
* | Remove unneeded casts to hashfunc. | Georg Brandl | 2010-10-18 | 3 | -5/+5 |
| | |||||
* | Fix type of hash function. | Georg Brandl | 2010-10-18 | 1 | -1/+1 |
| | |||||
* | Fix compiler warning about unused static function. | Georg Brandl | 2010-10-18 | 1 | -1/+4 |
| | |||||
* | Fix compiler warnings about formatting pid_t as an int, by always casting to ↵ | Georg Brandl | 2010-10-18 | 1 | -1/+1 |
| | | | | long. | ||||
* | #678250: Make mmap flush a noop on ACCESS_READ and ACCESS_COPY. | R. David Murray | 2010-10-18 | 2 | -0/+6 |
| | | | | Patch by Sébastien Sablé. This solves a test_mmap failure on AIX. | ||||
* | #4499: silence compiler warning on AIX. | R. David Murray | 2010-10-18 | 1 | -0/+2 |
| | | | | Patch from ActiveState. | ||||
* | Tighten up 'byte string' wording in base64 docs. | R. David Murray | 2010-10-17 | 1 | -20/+22 |
| | |||||
* | #1343: Add short_empty_elements option to XMLGenerator. | R. David Murray | 2010-10-17 | 4 | -8/+135 |
| | | | | Patch and tests by Neil Muller. | ||||
* | Note the resolution of issue 9778. | Skip Montanaro | 2010-10-17 | 1 | -0/+6 |
| | |||||
* | -1 is reserved for errors | Benjamin Peterson | 2010-10-17 | 1 | -0/+3 |
| | |||||
* | fix prototype | Benjamin Peterson | 2010-10-17 | 1 | -1/+1 |
| | |||||
* | fix strict aliasing warnings | Benjamin Peterson | 2010-10-17 | 1 | -2/+2 |
| | |||||
* | make hashes always the size of pointers; introduce Py_hash_t #9778 | Benjamin Peterson | 2010-10-17 | 31 | -131/+137 |
| | |||||
* | test_httpservers: Python CGI scripts have to be encoded to utf-8 | Victor Stinner | 2010-10-17 | 1 | -2/+2 |
| | | | | | And not the locale encoding. With this commit, the test finally pass on Windows with a non-ascii path :-) | ||||
* | test_httpservers: Fix skip test check, the python executable path have to be | Victor Stinner | 2010-10-17 | 1 | -7/+10 |
| | | | | encodable to utf-8, not to the file1 encoding. | ||||
* | use helper hash unimplemented function | Benjamin Peterson | 2010-10-17 | 1 | -8/+1 |
| | |||||
* | Fix T_BOOL bug of issue 8845. | Martin v. Löwis | 2010-10-17 | 1 | -1/+1 |
| | |||||
* | test_httpservers: skip CGI tests if Python executable path is not encodable | Victor Stinner | 2010-10-17 | 1 | -3/+14 |
| | |||||
* | Remove the external non-python.org hyperlink and point people to | Gregory P. Smith | 2010-10-17 | 1 | -2/+1 |
| | | | | Tools/gdb/libpython.py. | ||||
* | Drop OPT:Olimit, as it confuses SunPRO (and other compilers). | Martin v. Löwis | 2010-10-17 | 3 | -129/+3 |
| |