summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* reenable test_nis on solaris #3402Benjamin Peterson2010-09-121-2/+0
|
* Isse #8589: Decode PYTHONWARNINGS from utf-8 on Mac OS XVictor Stinner2010-09-121-2/+6
| | | | Instead of the locale encoding.
* Issue #9738, #9836: Fix refleak introduced by r84704Victor Stinner2010-09-122-3/+3
|
* Issue #9826: Handle recursive repr in collections.OrderedDict.Raymond Hettinger2010-09-123-4/+22
|
* Issue #9825: Replace OrderedDict.__del__() with weakrefs.Raymond Hettinger2010-09-122-69/+74
|
* detect non-ascii characters much earlier (plugs ref leak)Benjamin Peterson2010-09-121-7/+7
|
* Issue #9318: Use Py_LL for old compiler.Hirokazu Yamamoto2010-09-111-2/+2
|
* #9608, #8518 : clarify and improve discussion of exceptions in howto.R. David Murray2010-09-111-34/+53
|
* fix formattingBenjamin Peterson2010-09-111-6/+6
|
* check for NULL tp_as_mapping in PySequence_(Get/Set/Del)Slice #9834Benjamin Peterson2010-09-112-3/+10
|
* Fix typo in option nameÉric Araujo2010-09-111-1/+1
|
* Issue #9819: don't try to encode TESTFN_UNICODE on WindowsVictor Stinner2010-09-111-16/+12
| | | | | | | mbcs (Windows default filesystem encoding) is now strict by default, and depending on the code page, TESTFN_UNICODE may not be encodable to bytes. Remove also unused "encoded" argument from _do_directory() method.
* Issue #9827: clarified LogRecord documentation.Vinay Sajip2010-09-111-19/+60
|
* Revert r84700 which had an unfortunate performance cost.Raymond Hettinger2010-09-112-8/+8
|
* Remove compatibility code for Python < 2.1, < 2.2 and < 2.4.Georg Brandl2010-09-111-42/+0
|
* Add new generated file to ignoreds.Georg Brandl2010-09-112-0/+2
|
* Issue #9738: PyUnicode_FromFormat() and PyErr_Format() raise an error onVictor Stinner2010-09-118-6/+53
| | | | | | a non-ASCII byte in the format string. Document also the encoding.
* Fix incorrect comment regarding MAGIC and TAG in import.cNick Coghlan2010-09-111-2/+5
|
* Issue #767645: fix os.path.supports_unicode_filenames definitionVictor Stinner2010-09-111-2/+1
| | | | | os.listdir(str) always returns unicode and it can return non-ascii filenames even if supports_unicode_filenames is False.
* Separate positional arguments from localized globals.Raymond Hettinger2010-09-112-8/+8
|
* typoBenjamin Peterson2010-09-101-2/+2
|
* use Py_REFCNTBenjamin Peterson2010-09-101-2/+2
|
* Issue #9579, #9580: Oops, add the author of the patchVictor Stinner2010-09-101-1/+1
|
* Issue #9579, #9580: Fix os.confstr() for value longer than 255 bytes and encodeVictor Stinner2010-09-102-20/+26
| | | | | the value with filesystem encoding and surrogateescape (instead of utf-8 in strict mode).
* add reduce and partial to __all__Benjamin Peterson2010-09-101-1/+1
|
* Issue #8589: surrogateescape error handler is not available at startupVictor Stinner2010-09-101-6/+11
| | | | | Py_Main() uses _Py_wchar2char() + PyUnicode_FromWideChar() instead of PyUnicode_DecodeFSDefault(), because the PyCodec machinery is not ready yet.
* remove gil_drop_request in --without-threadsBenjamin Peterson2010-09-101-4/+13
|
* Issue #9402: pyexpat uses Py_DECREF() instead of PyObject_DEL()Victor Stinner2010-09-102-15/+27
| | | | Fix a crash if Python is compiled in pydebug mode.
* Issue #8603: Environ.data is now protected -> Environ._dataVictor Stinner2010-09-102-9/+8
| | | | | os.environ.data was a str dict in Python 3.1. In Python 3.2 on UNIX/BSD, os.environ.data is now a bytes dict: mark it as protected to avoid confusion.
* use DISPATCH() instead of continueBenjamin Peterson2010-09-101-1/+1
|
* add newlineBenjamin Peterson2010-09-101-0/+1
|
* Issue #9632: Remove sys.setfilesystemencoding() function: use PYTHONFSENCODINGVictor Stinner2010-09-106-65/+5
| | | | | | environment variable to set the filesystem encoding at Python startup. sys.setfilesystemencoding() creates inconsistencies because it is unable to reencode all filenames in all objects.
* bump magic number for DELETE_DEREFBenjamin Peterson2010-09-101-1/+2
|
* #4617: Previously it was illegal to delete a name from the localAmaury Forgeot d'Arc2010-09-1012-45/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | namespace if it occurs as a free variable in a nested block. This limitation of the compiler has been lifted, and a new opcode introduced (DELETE_DEREF). This sample was valid in 2.6, but fails to compile in 3.x without this change:: >>> def f(): ... def print_error(): ... print(e) ... try: ... something ... except Exception as e: ... print_error() ... # implicit "del e" here This sample has always been invalid in Python, and now works:: >>> def outer(x): ... def inner(): ... return x ... inner() ... del x There is no need to bump the PYC magic number: the new opcode is used for code that did not compile before.
* release() is probably not the most important methodGeorg Brandl2010-09-101-18/+18
|
* The "if 1": trick seems cleaner that the one with regular expressions.Amaury Forgeot d'Arc2010-09-101-13/+13
| | | | Use it here again.
* Issue #941346: Improve the build process under AIX and allow Python toAntoine Pitrou2010-09-106-13/+40
| | | | be built as a shared library. Patch by Sébastien Sablé.
* Use the "if 1:" prefix so that quoted code appears nicelyAmaury Forgeot d'Arc2010-09-101-167/+167
| | | | | | | | | | | nested inside the test suite. def test_me(): exec("""if 1: ...code... """) No other change here.
* add reference to file objectBenjamin Peterson2010-09-101-2/+2
|
* Followup to #4026: better patch for flock detection.Antoine Pitrou2010-09-102-56/+42
|
* Untabify file.Amaury Forgeot d'Arc2010-09-101-3/+3
|
* As per python-dev discussion with Eli, properly document and publish ↵Nick Coghlan2010-09-102-7/+13
| | | | dis.show_code
* Leave show_code out of __all__ and make it clear that its lack of ↵Nick Coghlan2010-09-101-1/+5
| | | | documentation is deliberate
* Fix dis.__all__ for new additions to module in 3.2(spotted by Eli Bendersky)Nick Coghlan2010-09-101-2/+2
|
* Issue #9819: fix TESTFN_UNENCODABLE for japanese code pageVictor Stinner2010-09-101-2/+3
|
* logging: Added threading interlock in basicConfig().Vinay Sajip2010-09-101-16/+22
|
* Fix Issue #9752: MSVC compiler warning due to undefined functionDaniel Stutzbach2010-09-091-4/+7
| | | | (Patch by Jon Anglin)
* Skip socket tests that require the network, if the network resource is not ↵Daniel Stutzbach2010-09-091-0/+2
| | | | enabled
* Remove workaroundAntoine Pitrou2010-09-091-3/+1
|
* Issue #9804: ascii() now always represents unicode surrogate pairs asAntoine Pitrou2010-09-094-17/+72
| | | | | | a single `\UXXXXXXXX`, regardless of whether the character is printable or not. Also, the "backslashreplace" error handler now joins surrogate pairs into a single character on UCS-2 builds.