summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add a new warning gategory, ResourceWarning, as discussed on python-dev. It ↵Georg Brandl2010-10-2412-30/+80
| | | | | | | | is silent by default, except when configured --with-pydebug. Emit this warning from the GC shutdown procedure, rather than just printing to stderr.
* Fix style.Georg Brandl2010-10-242-3/+4
|
* Add casts (one needed, one for consistency).Georg Brandl2010-10-241-4/+4
|
* Remove usage of exception indexing.Georg Brandl2010-10-241-1/+1
|
* Issue 5178: Add tempfile.TemporaryDirectory (original patch by Neil Schemenauer)Nick Coghlan2010-10-245-3/+229
|
* tighten loopBenjamin Peterson2010-10-241-4/+1
|
* remove broken code accounting an offset the size of the line #10186Benjamin Peterson2010-10-243-2/+9
|
* #1349106: add linesep argument to generator.flatten and header.encode.R. David Murray2010-10-237-49/+164
|
* Issue #10185: use Py_hash_t instead of longAntoine Pitrou2010-10-231-1/+1
|
* Revert r85801. The test ought to pass without rounding.Martin v. Löwis2010-10-231-1/+1
|
* Follow up to #9778: fix regressions on 64-bit Windows buildsAntoine Pitrou2010-10-234-18/+9
|
* #6518: enable context manager protocol for ossaudiodev types.Georg Brandl2010-10-234-4/+42
|
* Also guard other SOCK_NONBLOCK testAntoine Pitrou2010-10-231-9/+13
|
* Issue #6011: sysconfig and distutils.sysconfig use the surrogateescape errorVictor Stinner2010-10-234-3/+11
| | | | | | handler to parse the Makefile file. Avoid a UnicodeDecodeError if the source code directory name contains a non-ASCII character and the locale encoding is ASCII.
* Fix SOCK_CLOEXEC and SOCK_NONBLOCK tests on recent glibcs with old Linux ↵Antoine Pitrou2010-10-231-0/+18
| | | | kernels.
* follow up to #9778: define and use an unsigned hash typeBenjamin Peterson2010-10-237-20/+22
|
* Try to fix test_tarfile on AMD64 debian parallel 3.xVictor Stinner2010-10-231-1/+1
| | | | | tarinfo.mtime is an int, whereas getmtime() is a float and it might be different by something like 3 µs.
* Issue #6011: getpath: decode VPATH env var from the locale encodingVictor Stinner2010-10-231-7/+10
| | | | | | Instead of casting it to wchar_t* without conversion. It fixes a bug if Python is compiled a non-ascii directory, different than the source code directory, with C locale.
* Revert r85797 (and r85798): it broke the Windows buildbots because ofAntoine Pitrou2010-10-225-106/+49
| | | | test_multiprocessing's misbehaviour.
* Update what's newAntoine Pitrou2010-10-221-1/+2
|
* Issue #9935: Speed up pickling of instances of user-defined classes.Antoine Pitrou2010-10-224-48/+104
|
* For now, remove accept4() code (issue #10115)Antoine Pitrou2010-10-221-9/+0
|
* Fix test_ssl on Ubuntu buildbot with patched OpenSSLAntoine Pitrou2010-10-221-0/+1
|
* Issue #5639: Add a *server_hostname* argument to `SSLContext.wrap_socket`Antoine Pitrou2010-10-229-14/+137
| | | | | | in order to support the TLS SNI extension. `HTTPSConnection` and `urlopen()` also use this argument, so that HTTPS virtual hosts are now supported.
* Only hack cmd.library_dirs when running under Py_ENABLE_SHARED. Tested bothBarry Warsaw2010-10-221-1/+2
| | | | | with and without --enable-shared on Ubuntu 10.10. Hopefully this finally solves bug 10126. Will check 3.1 next.
* Refactor interesting use of try-finally.Georg Brandl2010-10-221-10/+9
|
* Make top_level attribute a set instead of a dict with None values.Georg Brandl2010-10-221-5/+5
|
* #10166: rewrite self-recursion to iteration in pstats.Stats.add(). Also add ↵Georg Brandl2010-10-224-27/+44
| | | | a unittest and a stats test file.
* Apply fix from r85784 on py3k too.Éric Araujo2010-10-211-2/+6
| | | | | | | Fixes bug #10126 for Python 3.2 by using $RUNSHARED to find the directory to the shared library. test_distutils now passes when Python was built with --enable-shared (Barry didn’t have the error but I did).
* Fixed a typoAlexander Belopolsky2010-10-211-1/+1
|
* Issue #7061: Fixed section titleAlexander Belopolsky2010-10-211-1/+1
|
* Add .hgeol file for the Mercurial EOL extension.Georg Brandl2010-10-211-0/+36
|
* Fix r85774 editor fail. Had a dangling try and incorrect indent.Brian Curtin2010-10-211-2/+1
|
* Fix #10162: Add try/except around _winreg.OpenKey for keys that areBrian Curtin2010-10-212-8/+13
| | | | | | | | unreadable by all users, e.g., Flash, Silverlight, and Java keys were causing errors. We don't currently have a way to grant/deny permissions for a key via winreg so there are no tests for this.
* #4829: better error message for invalid file modeGeorg Brandl2010-10-211-1/+2
|
* Issue #10089: Add support for arbitrary -X options on the command-line.Antoine Pitrou2010-10-2110-14/+136
| | | | They can be retrieved through a new attribute `sys._xoptions`.
* #1203650: allow larger list of files in windows makefile for freeze.Georg Brandl2010-10-211-5/+7
|
* #3077: fix h2py substitution of character literals.Georg Brandl2010-10-211-1/+1
|
* Fix missing import.Georg Brandl2010-10-211-2/+1
|
* #9919: fix off-by-one error in lineno command in Misc/gdbinit; also add ↵Georg Brandl2010-10-211-3/+4
| | | | newline to its output.
* #9095, #8912, #8999: add support in patchcheck for Mercurial checkouts, C ↵Georg Brandl2010-10-213-33/+68
| | | | file reindenting, and docs whitespace fixing.
* #10159: sort completion matches before comparing to dir() result.Georg Brandl2010-10-211-2/+2
|
* Issue #4388: On Mac OS X, decode command line arguments from UTF-8, instead ofVictor Stinner2010-10-204-0/+160
| | | | | | | the locale encoding. If the LANG (and LC_ALL and LC_CTYPE) environment variable is not set, the locale encoding is ISO-8859-1, whereas most programs (including Python) expect UTF-8. Python already uses UTF-8 for the filesystem encoding and to encode command line arguments on this OS.
* Move non-ascii test from test_run_code() to a new function: test_non_ascii()Victor Stinner2010-10-201-7/+9
|
* Move test_undecodable_code() from test_sys to test_cmd_lineVictor Stinner2010-10-202-38/+38
|
* test_zipimport_support: use ascii() on bytes output to avoid BytesWarningVictor Stinner2010-10-201-2/+2
| | | | The test failed with python -bb.
* fix uninitialized struct member #10152Benjamin Peterson2010-10-201-0/+1
|
* logging: Improved StreamHandler documentation.Vinay Sajip2010-10-201-11/+13
|
* logging: Made StreamHandler terminator configurable.Vinay Sajip2010-10-202-3/+7
|
* Fix for issue #7473.Ronald Oussoren2010-10-202-1/+9
| | | | | | | Without this patch you'll get link errors in some extensions (in particular the _curses_panel) one when you try to build a 3-way universal framework when you previously installed a 2-way universal framework using the python.org installer.