summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Issue #9313: Use unittest.skipUnless to skip old MSVC.Hirokazu Yamamoto2010-09-131-14/+5
|
* Reenable test_ucs4 and remove some duplicated lines.Florent Xicluna2010-09-132-27/+18
|
* add spacesBenjamin Peterson2010-09-131-0/+2
|
* remove less complete of duplicate docsBenjamin Peterson2010-09-131-13/+0
|
* remove duplicate statementBenjamin Peterson2010-09-131-2/+1
|
* Issue #9313: Skips test_remove_visual_c_ref on old MSVC.Hirokazu Yamamoto2010-09-121-0/+5
|
* #9210: remove --with-wctype-functions configure option.Amaury Forgeot d'Arc2010-09-129-120/+10
| | | | | | | | The internal unicode database is now always used. (after 5 years: see http://mail.python.org/pipermail/python-dev/2004-December/050193.html )
* Get rid of tabs.Georg Brandl2010-09-121-1/+1
|
* Document changes on mbcs encodingVictor Stinner2010-09-121-0/+7
|
* Put tests in more logical order.Raymond Hettinger2010-09-121-2/+2
|
* Use weakrefs for both forward and backward links.Raymond Hettinger2010-09-121-3/+4
|
* 9806: add --extension-suffix option to python-config.Georg Brandl2010-09-122-1/+7
|
* use return NULL; it's just as correctBenjamin Peterson2010-09-121-1/+1
|
* - Issue #9817: Add expat COPYING file; add expat, libffi and expat licensesMatthias Klose2010-09-123-0/+113
| | | | to Doc/license.rst.
* Fixed refcount bug. I placed Py_INCREF in create_comerror() for compatibilityHirokazu Yamamoto2010-09-121-0/+1
| | | | with Python2.7.
* Issue #9837: The read() method of ZipExtFile objects (as returned byAntoine Pitrou2010-09-123-6/+32
| | | | ZipFile.open()) could return more bytes than requested.
* 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.