Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | check for NULL tp_as_mapping in PySequence_(Get/Set/Del)Slice #9834 | Benjamin Peterson | 2010-09-11 | 2 | -3/+10 |
| | |||||
* | Fix typo in option name | Éric Araujo | 2010-09-11 | 1 | -1/+1 |
| | |||||
* | Issue #9819: don't try to encode TESTFN_UNICODE on Windows | Victor Stinner | 2010-09-11 | 1 | -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 Sajip | 2010-09-11 | 1 | -19/+60 |
| | |||||
* | Revert r84700 which had an unfortunate performance cost. | Raymond Hettinger | 2010-09-11 | 2 | -8/+8 |
| | |||||
* | Remove compatibility code for Python < 2.1, < 2.2 and < 2.4. | Georg Brandl | 2010-09-11 | 1 | -42/+0 |
| | |||||
* | Add new generated file to ignoreds. | Georg Brandl | 2010-09-11 | 2 | -0/+2 |
| | |||||
* | Issue #9738: PyUnicode_FromFormat() and PyErr_Format() raise an error on | Victor Stinner | 2010-09-11 | 8 | -6/+53 |
| | | | | | | a non-ASCII byte in the format string. Document also the encoding. | ||||
* | Fix incorrect comment regarding MAGIC and TAG in import.c | Nick Coghlan | 2010-09-11 | 1 | -2/+5 |
| | |||||
* | Issue #767645: fix os.path.supports_unicode_filenames definition | Victor Stinner | 2010-09-11 | 1 | -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 Hettinger | 2010-09-11 | 2 | -8/+8 |
| | |||||
* | typo | Benjamin Peterson | 2010-09-10 | 1 | -2/+2 |
| | |||||
* | use Py_REFCNT | Benjamin Peterson | 2010-09-10 | 1 | -2/+2 |
| | |||||
* | Issue #9579, #9580: Oops, add the author of the patch | Victor Stinner | 2010-09-10 | 1 | -1/+1 |
| | |||||
* | Issue #9579, #9580: Fix os.confstr() for value longer than 255 bytes and encode | Victor Stinner | 2010-09-10 | 2 | -20/+26 |
| | | | | | the value with filesystem encoding and surrogateescape (instead of utf-8 in strict mode). | ||||
* | add reduce and partial to __all__ | Benjamin Peterson | 2010-09-10 | 1 | -1/+1 |
| | |||||
* | Issue #8589: surrogateescape error handler is not available at startup | Victor Stinner | 2010-09-10 | 1 | -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-threads | Benjamin Peterson | 2010-09-10 | 1 | -4/+13 |
| | |||||
* | Issue #9402: pyexpat uses Py_DECREF() instead of PyObject_DEL() | Victor Stinner | 2010-09-10 | 2 | -15/+27 |
| | | | | Fix a crash if Python is compiled in pydebug mode. | ||||
* | Issue #8603: Environ.data is now protected -> Environ._data | Victor Stinner | 2010-09-10 | 2 | -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 continue | Benjamin Peterson | 2010-09-10 | 1 | -1/+1 |
| | |||||
* | add newline | Benjamin Peterson | 2010-09-10 | 1 | -0/+1 |
| | |||||
* | Issue #9632: Remove sys.setfilesystemencoding() function: use PYTHONFSENCODING | Victor Stinner | 2010-09-10 | 6 | -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_DEREF | Benjamin Peterson | 2010-09-10 | 1 | -1/+2 |
| | |||||
* | #4617: Previously it was illegal to delete a name from the local | Amaury Forgeot d'Arc | 2010-09-10 | 12 | -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 method | Georg Brandl | 2010-09-10 | 1 | -18/+18 |
| | |||||
* | The "if 1": trick seems cleaner that the one with regular expressions. | Amaury Forgeot d'Arc | 2010-09-10 | 1 | -13/+13 |
| | | | | Use it here again. | ||||
* | Issue #941346: Improve the build process under AIX and allow Python to | Antoine Pitrou | 2010-09-10 | 6 | -13/+40 |
| | | | | be built as a shared library. Patch by Sébastien Sablé. | ||||
* | Use the "if 1:" prefix so that quoted code appears nicely | Amaury Forgeot d'Arc | 2010-09-10 | 1 | -167/+167 |
| | | | | | | | | | | | nested inside the test suite. def test_me(): exec("""if 1: ...code... """) No other change here. | ||||
* | add reference to file object | Benjamin Peterson | 2010-09-10 | 1 | -2/+2 |
| | |||||
* | Followup to #4026: better patch for flock detection. | Antoine Pitrou | 2010-09-10 | 2 | -56/+42 |
| | |||||
* | Untabify file. | Amaury Forgeot d'Arc | 2010-09-10 | 1 | -3/+3 |
| | |||||
* | As per python-dev discussion with Eli, properly document and publish ↵ | Nick Coghlan | 2010-09-10 | 2 | -7/+13 |
| | | | | dis.show_code | ||||
* | Leave show_code out of __all__ and make it clear that its lack of ↵ | Nick Coghlan | 2010-09-10 | 1 | -1/+5 |
| | | | | documentation is deliberate | ||||
* | Fix dis.__all__ for new additions to module in 3.2(spotted by Eli Bendersky) | Nick Coghlan | 2010-09-10 | 1 | -2/+2 |
| | |||||
* | Issue #9819: fix TESTFN_UNENCODABLE for japanese code page | Victor Stinner | 2010-09-10 | 1 | -2/+3 |
| | |||||
* | logging: Added threading interlock in basicConfig(). | Vinay Sajip | 2010-09-10 | 1 | -16/+22 |
| | |||||
* | Fix Issue #9752: MSVC compiler warning due to undefined function | Daniel Stutzbach | 2010-09-09 | 1 | -4/+7 |
| | | | | (Patch by Jon Anglin) | ||||
* | Skip socket tests that require the network, if the network resource is not ↵ | Daniel Stutzbach | 2010-09-09 | 1 | -0/+2 |
| | | | | enabled | ||||
* | Remove workaround | Antoine Pitrou | 2010-09-09 | 1 | -3/+1 |
| | |||||
* | Issue #9804: ascii() now always represents unicode surrogate pairs as | Antoine Pitrou | 2010-09-09 | 4 | -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. | ||||
* | Issue #9410: Various optimizations to the pickle module, leading to | Antoine Pitrou | 2010-09-09 | 5 | -526/+1863 |
| | | | | | speedups up to 4x (depending on the benchmark). Mostly ported from Unladen Swallow; initial patch by Alexandre Vassalotti. | ||||
* | Use transient_internet() where appropriate in test_ssl | Antoine Pitrou | 2010-09-09 | 1 | -130/+131 |
| | | | | (svn.python.org is sometimes unavailable) | ||||
* | Issue #9757: memoryview objects get a release() method to release the | Antoine Pitrou | 2010-09-09 | 4 | -11/+158 |
| | | | | | underlying buffer (previously this was only done when deallocating the memoryview), and gain support for the context management protocol. | ||||
* | Have pprint() respect the order in an OrderedDict. | Raymond Hettinger | 2010-09-09 | 3 | -3/+25 |
| | |||||
* | A little bit more readable repr method. | Raymond Hettinger | 2010-09-09 | 1 | -3/+3 |
| | |||||
* | Experiment: Let collections.namedtuple() do the work. This should work now ↵ | Raymond Hettinger | 2010-09-09 | 1 | -39/+3 |
| | | | | that _collections is pre-built. The buildbots will tell us shortly. | ||||
* | PCBuild cosmetic fixes. | Hirokazu Yamamoto | 2010-09-09 | 2 | -6/+9 |
| | | | | | | | * pythoncore.vcproj: Fixed indentation * _multiprocessing.vcproj: Converted ProjectGUID to uppercase. Otherwise, VS8 _multiprocessing.vcproj created by vs9to8.py was modified every time loads it in VS8 IDE. | ||||
* | Updated VS7.1 project file. (I cannot test this file because I don't have VS7.1) | Hirokazu Yamamoto | 2010-09-09 | 2 | -11/+18 |
| | |||||
* | Updated VC6 files. | Hirokazu Yamamoto | 2010-09-09 | 3 | -14/+14 |
| | | | | | | * pythoncore.dsp: updated project file * readme.txt: removed dead link * tcl852.patch: fixed patch. it was doubled. |