summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Don't lie about the supported architectures in the OSX installerRonald Oussoren2010-10-201-1/+1
| | | | | | | | Without this patch the i386/x86_64 installer for OSX 10.6 lies in the ReadMe file and the "Important Information" screen of the installer (that is, the installer claims it supports the i386 and ppc architectures insetead of the ones it really supports)
* logging: clarified Filter documentation.Vinay Sajip2010-10-201-6/+10
|
* Fix r85728: use "" to mean the system default locale, which should work on ↵Georg Brandl2010-10-201-7/+4
| | | | more systems.
* Correct signature of BytesGenerator in docs.R. David Murray2010-10-191-1/+1
|
* logging: Documented usage of callables as filters.Vinay Sajip2010-10-192-12/+16
|
* Issue #7061: Fixed some of the issues in turtle module documentationAlexander Belopolsky2010-10-191-11/+13
| | | | reported by Terry J. Reedy.
* Be consistent in the spelling of thread-safe(ty).Georg Brandl2010-10-195-7/+7
|
* logging: Allowed filters to be just callables.Vinay Sajip2010-10-193-1/+45
|
* logging: Added tests for _logRecordClass changes.Vinay Sajip2010-10-193-2/+51
|
* #10092: Properly reset locale in Locale*Calendar classes. The context ↵Georg Brandl2010-10-194-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 Belopolsky2010-10-191-1/+1
| | | | Thanks Boštjan Mejak for the patch.
* logging: Added _logRecordClass, getLogRecordClass, setLogRecordClass to ↵Vinay Sajip2010-10-192-3/+26
| | | | increase flexibility of LogRecord creation.
* Fix Issue10140 - Tools/scripts/pathfix.py: add option to preserve timestampsSenthil Kumaran2010-10-191-3/+18
|
* initfsencoding(): get_codeset() failure is now a fatal errorVictor Stinner2010-10-191-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 formatsVictor Stinner2010-10-181-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 indentationVictor Stinner2010-10-181-3/+4
|
* Revert r85699 and r85701 (zipimport): fullname is a module name, not a pathVictor Stinner2010-10-181-42/+18
| | | | UTF-8 is just fine for module names.
* zipimport: fix "can't find module ..." error messageVictor Stinner2010-10-181-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 formatVictor Stinner2010-10-182-3/+7
| | | | It was not completly implemented. Add a test.
* zipimport: find_module(), is_package() and get_source() supports surrogatesVictor Stinner2010-10-181-16/+28
| | | | Use PyUnicode_FSConverter to support surrogates in the full name.
* zipimport: pass path size to make_filename()Victor Stinner2010-10-181-5/+5
| | | | Don't hardcode path size in make_filename().
* One more change for issue 9807, by Matthias Klose.Barry Warsaw2010-10-184-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 r85695Alexander Belopolsky2010-10-181-1/+0
|
* Issue #10117: Tools/scripts/reindent.py now accepts source files thatAlexander Belopolsky2010-10-183-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 Brandl2010-10-181-1/+1
|
* get_code_from_data() uses the filesystem encoding to encode the module path,Victor Stinner2010-10-181-8/+7
| | | | instead of utf-8.
* zipimport: read_directory() uses cp437 or utf-8 (in strict mode), depending onVictor Stinner2010-10-181-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(). AndHirokazu Yamamoto2010-10-185-4/+27
| | | | | fixed root directory issue on posixpath.relpath(). (Ported working fixes from ntpath)
* zipimport: get_module_code() returns modpath as a Unicode objectVictor Stinner2010-10-181-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 errorVictor Stinner2010-10-181-9/+9
| | | | | PyImport_AddModule() returns a borrowed reference. Don't display "import ... # loaded from Zip ..." on error.
* zipimport: encode the prefix to the fileystem encodingVictor Stinner2010-10-181-8/+15
|
* zipimport, get_module_code(): avoid useless _PyUnicode_AsString()Victor Stinner2010-10-181-3/+2
|
* zipimport: fix indentationVictor Stinner2010-10-181-4/+5
|
* Remove more unneeded casts to hashfunc.Georg Brandl2010-10-182-6/+6
|
* Remove unneeded casts to hashfunc.Georg Brandl2010-10-183-5/+5
|
* Fix type of hash function.Georg Brandl2010-10-181-1/+1
|
* Fix compiler warning about unused static function.Georg Brandl2010-10-181-1/+4
|
* Fix compiler warnings about formatting pid_t as an int, by always casting to ↵Georg Brandl2010-10-181-1/+1
| | | | long.
* #678250: Make mmap flush a noop on ACCESS_READ and ACCESS_COPY.R. David Murray2010-10-182-0/+6
| | | | Patch by Sébastien Sablé. This solves a test_mmap failure on AIX.
* #4499: silence compiler warning on AIX.R. David Murray2010-10-181-0/+2
| | | | Patch from ActiveState.
* Tighten up 'byte string' wording in base64 docs.R. David Murray2010-10-171-20/+22
|
* #1343: Add short_empty_elements option to XMLGenerator.R. David Murray2010-10-174-8/+135
| | | | Patch and tests by Neil Muller.
* Note the resolution of issue 9778.Skip Montanaro2010-10-171-0/+6
|
* -1 is reserved for errorsBenjamin Peterson2010-10-171-0/+3
|
* fix prototypeBenjamin Peterson2010-10-171-1/+1
|
* fix strict aliasing warningsBenjamin Peterson2010-10-171-2/+2
|
* make hashes always the size of pointers; introduce Py_hash_t #9778Benjamin Peterson2010-10-1731-131/+137
|
* test_httpservers: Python CGI scripts have to be encoded to utf-8Victor Stinner2010-10-171-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 beVictor Stinner2010-10-171-7/+10
| | | | encodable to utf-8, not to the file1 encoding.
* use helper hash unimplemented functionBenjamin Peterson2010-10-171-8/+1
|