summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Avoid hanging the test on netbsd5.Gregory P. Smith2010-10-171-1/+2
|
* skip test_itimer_virtual on NetBSD to prevent the test suite from hanging.Gregory P. Smith2010-10-171-2/+2
|
* Fix multiprocessing Semaphore's on netbsd5. SEM_VALUE_MAX is definedGregory P. Smith2010-10-171-2/+13
| | | | | | | as (~0U) on NetBSD which was causing it to appear as -1 when used as a signed int for _multprocessing.SemLock.SEM_VALUE_MAX. This works around the problem by substituting INT_MAX on systems where it appears negative when used as an int.
* find_module(): use FS encoding to display the missing __init__ warningVictor Stinner2010-10-171-7/+9
|
* test_cmd_line_script: format paths with ascii() instead of repr()Victor Stinner2010-10-171-8/+8
| | | | | Fix the test if the native filesystem encoding is not utf-8 (eg. cp1250 on Windows).
* use assertion methodsBenjamin Peterson2010-10-171-2/+2
|
* disable the garbage collector while collecting traces, so that __del__s ↵Benjamin Peterson2010-10-171-3/+12
| | | | don't get caught
* remove rather pointless testBenjamin Peterson2010-10-171-8/+0
|
* _PyImport_FixupExtension() and _PyImport_FindExtension() uses FS encodingVictor Stinner2010-10-175-27/+67
| | | | | | | * Rename _PyImport_FindExtension() to _PyImport_FindExtensionUnicode(): the filename becomes a Unicode object instead of byte string * Rename _PyImport_FixupExtension() to _PyImport_FixupExtensionUnicode(): the filename becomes a Unicode object instead of byte string
* applying netbsd-wizs-mod.patch from issue5510 -Gregory P. Smith2010-10-171-2/+25
| | | | fixes for netbsd (and dragonflybsd?)
* fix for netbsd.Gregory P. Smith2010-10-171-2/+4
|
* test_subprocess: use surrogateescape error handler to write shell scriptsVictor Stinner2010-10-161-2/+2
| | | | | | test_args_string() and test_call_string() create shell scripts including the path to the Python executable: use surrogateescape to encode paths including surrogate characters.
* Oops, fix my previous commit (r85583) on calculate_path()Victor Stinner2010-10-161-4/+7
| | | | path value may be changed, so keep a copy in a new variable.
* calculate_path(): use _Py_char2wchar() to decode the PATH environment variable,Victor Stinner2010-10-161-9/+4
| | | | to support surrogate characters
* Add an optional size argument to _Py_char2wchar()Victor Stinner2010-10-165-17/+26
| | | | | | _Py_char2wchar() callers usually need the result size in characters. Since it's trivial to compute it in _Py_char2wchar() (O(1) whereas wcslen() is O(n)), add an option to get it.
* _Py_wrealpath() uses _Py_char2wchar() to decode the result, to supportVictor Stinner2010-10-161-2/+12
| | | | surrogate characters.
* _Py_wreadlink(): catch _Py_char2wchar() failureVictor Stinner2010-10-161-0/+4
|
* _Py_wreadlink() uses _Py_char2wchar() to decode the result, to supportVictor Stinner2010-10-161-2/+7
| | | | surrogate characters.
* Issue #10123: Don't use non-ascii filenames in test_doctest tests. Add aVictor Stinner2010-10-162-12/+52
| | | | new test specific to unicode (non-ascii name and filename).
* Get rid of a "unused static function" warning.Georg Brandl2010-10-161-0/+2
|
* Added __pycache__ to svn:ignore propertyAlexander Belopolsky2010-10-160-0/+0
|
* #10124: typo fix.Georg Brandl2010-10-161-1/+1
|
* #10122: typo fix.Georg Brandl2010-10-161-1/+1
|
* abiflags: alphabetize and versionaddedBarry Warsaw2010-10-161-5/+7
|
* Fix ast_error_finish() and err_input(): filename can be NULLVictor Stinner2010-10-162-2/+12
| | | | Fix my previous commit (r85569).
* Issue #9713, #10114: Parser functions (eg. PyParser_ASTFromFile) expectsVictor Stinner2010-10-167-28/+69
| | | | | filenames encoded to the filesystem encoding with surrogateescape error handler (to support undecodable bytes), instead of UTF-8 in strict mode.
* zipimport: catch _PyUnicode_AsString() failure in get_code_from_data()Victor Stinner2010-10-161-0/+4
| | | | It occurs if the path contains surrogates.
* Fixes issue 10120 (concurrent.futures module is not installed properly), ↵Brian Quinlan2010-10-161-1/+1
| | | | patch by Neil Muller
* Fix incorrect maintainer nameBrian Quinlan2010-10-161-1/+1
|
* Add bquinlan as the maintainer of concurrent.futuresBrian Quinlan2010-10-161-0/+1
|
* don't identify the toplevel namespace by name #9997Benjamin Peterson2010-10-163-1/+12
|
* fix refleakBenjamin Peterson2010-10-161-4/+6
|
* Add NEWS for issue 9807 part 1.Barry Warsaw2010-10-161-0/+3
|
* First (uncontroversial) part of issue 9807.Barry Warsaw2010-10-169-299/+386
| | | | | | | | | * Expose the build flags to Python as sys.abiflags * Shared library libpythonX.Y<abiflags>.so * python-config --abiflags * Make two distutils tests that failed with --enable-shared (even before this patch) succeed. * Fix a few small style issues.
* run autoconfBenjamin Peterson2010-10-152-272/+261
|
* #9862: On AIX PIPE_BUF is broken. Make it 512.R. David Murray2010-10-153-0/+11
| | | | Patch by Sébastien Sablé.
* Fix imp_cache_from_source(): Decode make_compiled_pathname() result from theVictor Stinner2010-10-151-1/+1
| | | | | | | filesystem encoding instead of utf-8. imp_cache_from_source() encodes the input path to filesystem encoding and this path is passed to make_compiled_pathname().
* imp_load_module() uses PyUnicode_FSConverter() to support surrogates in moduleVictor Stinner2010-10-151-7/+7
| | | | path
* revert change in inappropiate branchBenjamin Peterson2010-10-151-2/+2
|
* imp.cache_from_source() uses PyUnicode_FSConverter() to support surrogates inVictor Stinner2010-10-151-5/+8
| | | | module path
* #10072: assume a bit less knowledge of the FTP protocol in the ftplib docs.Georg Brandl2010-10-151-17/+27
|
* #6098: Refrain from claiming DOM level 3 conformance in minidom.Georg Brandl2010-10-152-2/+2
|
* #5762: fix handling of empty namespace in minidom, which would result in ↵Georg Brandl2010-10-153-3/+14
| | | | AttributeError on toxml().
* #4785: document strict argument of JSONDecoder, plus add object_pairs_hook ↵Georg Brandl2010-10-153-7/+42
| | | | in the docstrings.
* #7790: move table of struct_time members to the actual description of ↵Georg Brandl2010-10-151-44/+50
| | | | struct_time.
* #4968: updates to inspect.is* function docs.Georg Brandl2010-10-151-7/+10
|
* #6798: fix wrong docs for the arguments to several trace events.Georg Brandl2010-10-152-8/+10
|
* Fix issue references.Georg Brandl2010-10-151-2/+2
|
* #7303: add documentation for useful pkgutil functions and classes.Georg Brandl2010-10-151-28/+154
|
* Issue #9308: Removed redundant coding cookies. Added tests forAlexander Belopolsky2010-10-1516-21/+59
| | | | | importing encoded modules that do not depend on specific stdlib modules being encoded in a certain way.