Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add a new warning gategory, ResourceWarning, as discussed on python-dev. It ↵ | Georg Brandl | 2010-10-24 | 12 | -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 Brandl | 2010-10-24 | 2 | -3/+4 |
| | |||||
* | Add casts (one needed, one for consistency). | Georg Brandl | 2010-10-24 | 1 | -4/+4 |
| | |||||
* | Remove usage of exception indexing. | Georg Brandl | 2010-10-24 | 1 | -1/+1 |
| | |||||
* | Issue 5178: Add tempfile.TemporaryDirectory (original patch by Neil Schemenauer) | Nick Coghlan | 2010-10-24 | 5 | -3/+229 |
| | |||||
* | tighten loop | Benjamin Peterson | 2010-10-24 | 1 | -4/+1 |
| | |||||
* | remove broken code accounting an offset the size of the line #10186 | Benjamin Peterson | 2010-10-24 | 3 | -2/+9 |
| | |||||
* | #1349106: add linesep argument to generator.flatten and header.encode. | R. David Murray | 2010-10-23 | 7 | -49/+164 |
| | |||||
* | Issue #10185: use Py_hash_t instead of long | Antoine Pitrou | 2010-10-23 | 1 | -1/+1 |
| | |||||
* | Revert r85801. The test ought to pass without rounding. | Martin v. Löwis | 2010-10-23 | 1 | -1/+1 |
| | |||||
* | Follow up to #9778: fix regressions on 64-bit Windows builds | Antoine Pitrou | 2010-10-23 | 4 | -18/+9 |
| | |||||
* | #6518: enable context manager protocol for ossaudiodev types. | Georg Brandl | 2010-10-23 | 4 | -4/+42 |
| | |||||
* | Also guard other SOCK_NONBLOCK test | Antoine Pitrou | 2010-10-23 | 1 | -9/+13 |
| | |||||
* | Issue #6011: sysconfig and distutils.sysconfig use the surrogateescape error | Victor Stinner | 2010-10-23 | 4 | -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 Pitrou | 2010-10-23 | 1 | -0/+18 |
| | | | | kernels. | ||||
* | follow up to #9778: define and use an unsigned hash type | Benjamin Peterson | 2010-10-23 | 7 | -20/+22 |
| | |||||
* | Try to fix test_tarfile on AMD64 debian parallel 3.x | Victor Stinner | 2010-10-23 | 1 | -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 encoding | Victor Stinner | 2010-10-23 | 1 | -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 of | Antoine Pitrou | 2010-10-22 | 5 | -106/+49 |
| | | | | test_multiprocessing's misbehaviour. | ||||
* | Update what's new | Antoine Pitrou | 2010-10-22 | 1 | -1/+2 |
| | |||||
* | Issue #9935: Speed up pickling of instances of user-defined classes. | Antoine Pitrou | 2010-10-22 | 4 | -48/+104 |
| | |||||
* | For now, remove accept4() code (issue #10115) | Antoine Pitrou | 2010-10-22 | 1 | -9/+0 |
| | |||||
* | Fix test_ssl on Ubuntu buildbot with patched OpenSSL | Antoine Pitrou | 2010-10-22 | 1 | -0/+1 |
| | |||||
* | Issue #5639: Add a *server_hostname* argument to `SSLContext.wrap_socket` | Antoine Pitrou | 2010-10-22 | 9 | -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 both | Barry Warsaw | 2010-10-22 | 1 | -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 Brandl | 2010-10-22 | 1 | -10/+9 |
| | |||||
* | Make top_level attribute a set instead of a dict with None values. | Georg Brandl | 2010-10-22 | 1 | -5/+5 |
| | |||||
* | #10166: rewrite self-recursion to iteration in pstats.Stats.add(). Also add ↵ | Georg Brandl | 2010-10-22 | 4 | -27/+44 |
| | | | | a unittest and a stats test file. | ||||
* | Apply fix from r85784 on py3k too. | Éric Araujo | 2010-10-21 | 1 | -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 typo | Alexander Belopolsky | 2010-10-21 | 1 | -1/+1 |
| | |||||
* | Issue #7061: Fixed section title | Alexander Belopolsky | 2010-10-21 | 1 | -1/+1 |
| | |||||
* | Add .hgeol file for the Mercurial EOL extension. | Georg Brandl | 2010-10-21 | 1 | -0/+36 |
| | |||||
* | Fix r85774 editor fail. Had a dangling try and incorrect indent. | Brian Curtin | 2010-10-21 | 1 | -2/+1 |
| | |||||
* | Fix #10162: Add try/except around _winreg.OpenKey for keys that are | Brian Curtin | 2010-10-21 | 2 | -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 mode | Georg Brandl | 2010-10-21 | 1 | -1/+2 |
| | |||||
* | Issue #10089: Add support for arbitrary -X options on the command-line. | Antoine Pitrou | 2010-10-21 | 10 | -14/+136 |
| | | | | They can be retrieved through a new attribute `sys._xoptions`. | ||||
* | #1203650: allow larger list of files in windows makefile for freeze. | Georg Brandl | 2010-10-21 | 1 | -5/+7 |
| | |||||
* | #3077: fix h2py substitution of character literals. | Georg Brandl | 2010-10-21 | 1 | -1/+1 |
| | |||||
* | Fix missing import. | Georg Brandl | 2010-10-21 | 1 | -2/+1 |
| | |||||
* | #9919: fix off-by-one error in lineno command in Misc/gdbinit; also add ↵ | Georg Brandl | 2010-10-21 | 1 | -3/+4 |
| | | | | newline to its output. | ||||
* | #9095, #8912, #8999: add support in patchcheck for Mercurial checkouts, C ↵ | Georg Brandl | 2010-10-21 | 3 | -33/+68 |
| | | | | file reindenting, and docs whitespace fixing. | ||||
* | #10159: sort completion matches before comparing to dir() result. | Georg Brandl | 2010-10-21 | 1 | -2/+2 |
| | |||||
* | Issue #4388: On Mac OS X, decode command line arguments from UTF-8, instead of | Victor Stinner | 2010-10-20 | 4 | -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 Stinner | 2010-10-20 | 1 | -7/+9 |
| | |||||
* | Move test_undecodable_code() from test_sys to test_cmd_line | Victor Stinner | 2010-10-20 | 2 | -38/+38 |
| | |||||
* | test_zipimport_support: use ascii() on bytes output to avoid BytesWarning | Victor Stinner | 2010-10-20 | 1 | -2/+2 |
| | | | | The test failed with python -bb. | ||||
* | fix uninitialized struct member #10152 | Benjamin Peterson | 2010-10-20 | 1 | -0/+1 |
| | |||||
* | logging: Improved StreamHandler documentation. | Vinay Sajip | 2010-10-20 | 1 | -11/+13 |
| | |||||
* | logging: Made StreamHandler terminator configurable. | Vinay Sajip | 2010-10-20 | 2 | -3/+7 |
| | |||||
* | Fix for issue #7473. | Ronald Oussoren | 2010-10-20 | 2 | -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. |