Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #10443: Add the SSLContext.set_default_verify_paths() method. | Antoine Pitrou | 2010-11-17 | 1 | -0/+12 |
| | |||||
* | Issue #10440: Support RUSAGE_THREAD as a constant in the resource module. | Antoine Pitrou | 2010-11-17 | 1 | -0/+4 |
| | | | | Patch by Robert Collins. | ||||
* | Modules/_io/bufferedio.c (buffered_dealloc_warn): Make it static. | Matthias Klose | 2010-11-16 | 1 | -1/+1 |
| | |||||
* | getpath.c: fix test to detech PyUnicode_AsWideChar() failure | Victor Stinner | 2010-11-10 | 1 | -4/+4 |
| | | | | | | PyUnicode_AsWideChar() result is signed, whereas it was stored in a unsigned variable, and then the test was "n >= 0" which is always true to an unsigned number. Patch written by Hallvard B Furuseth. | ||||
* | Issue #10022: The dictionary returned by the `getpeercert()` method | Antoine Pitrou | 2010-11-09 | 1 | -53/+47 |
| | | | | of SSL sockets now has additional items such as `issuer` and `notBefore`. | ||||
* | Fix issue10324 - Modules/binascii.c: simplify expressions | Senthil Kumaran | 2010-11-09 | 1 | -2/+1 |
| | |||||
* | Issue #10359: Remove useless (duplicate) initialization in _csv | Victor Stinner | 2010-11-09 | 1 | -1/+1 |
| | |||||
* | Issue #10359: Remove useless comma, invalid in ISO C | Victor Stinner | 2010-11-09 | 1 | -2/+2 |
| | |||||
* | Issue #10359: Use Py_UNICODE for the typecode in array | Victor Stinner | 2010-11-09 | 1 | -7/+9 |
| | | | | And don't create non constant array, invalid in ISO C. | ||||
* | Issue #10359: Remove ";" after function definition, invalid in ISO C | Victor Stinner | 2010-11-09 | 1 | -1/+1 |
| | |||||
* | Issue #6011: decode PREFIX, EXEC_PREFIX and PYTHONPATH variables using | Victor Stinner | 2010-11-08 | 1 | -17/+30 |
| | | | | | _Py_char2wchar(), instead of L"" VAR hack, to escape undecodable bytes using the surrogateescape error handler. | ||||
* | PyUnicode_EncodeFS() raises an exception if _Py_wchar2char() fails | Victor Stinner | 2010-11-08 | 1 | -1/+1 |
| | | | | | | * Add error_pos optional argument to _Py_wchar2char() * PyUnicode_EncodeFS() raises a UnicodeEncodeError or MemoryError if _Py_wchar2char() fails | ||||
* | Issue #10180: Pickling file objects is now explicitly forbidden, since | Antoine Pitrou | 2010-11-05 | 3 | -0/+32 |
| | | | | unpickling them produced nonsensical results. | ||||
* | Issue #10311: The signal module now restores errno before returning from | Antoine Pitrou | 2010-11-05 | 1 | -14/+20 |
| | | | | its low-level signal handler. Patch by Hallvard B Furuseth. | ||||
* | Fixed socket_gethostname() on windows. | Hirokazu Yamamoto | 2010-11-05 | 1 | -6/+9 |
| | |||||
* | Issue #10279: fix test_gc under Win64. | Antoine Pitrou | 2010-11-05 | 1 | -2/+2 |
| | |||||
* | Issue #10314: improve performance of JSON encoding with sort_keys=True | Antoine Pitrou | 2010-11-04 | 1 | -20/+25 |
| | |||||
* | Issue #5391: mmap.read_byte() should return unsigned value [0, 255] | Hirokazu Yamamoto | 2010-11-04 | 1 | -1/+1 |
| | | | | instead of signed value [-127, 128]. | ||||
* | Fix Issue 10307 - compile error in readline.c | Senthil Kumaran | 2010-11-04 | 1 | -1/+1 |
| | |||||
* | No declarations in the middle of a block (fixes compile under Windows) | Antoine Pitrou | 2010-10-31 | 1 | -3/+3 |
| | |||||
* | Issue #10160: Speed up operator.attrgetter. Patch by Christos Georgiou. | Antoine Pitrou | 2010-10-31 | 1 | -29/+104 |
| | |||||
* | if FileIO.__init__ fails, close fd | Benjamin Peterson | 2010-10-30 | 1 | -0/+2 |
| | |||||
* | fix style | Benjamin Peterson | 2010-10-30 | 1 | -1/+1 |
| | |||||
* | Issue #10253: FileIO leaks a file descriptor when trying to open a file | Antoine Pitrou | 2010-10-30 | 1 | -1/+6 |
| | | | | for append that isn't seekable. Patch by Brian Brazil. | ||||
* | plug refleak | Benjamin Peterson | 2010-10-29 | 1 | -0/+1 |
| | |||||
* | Issue #9377: Use Unicode API for gethostname on Windows. | Martin v. Löwis | 2010-10-29 | 1 | -0/+22 |
| | |||||
* | Issue #10093: ResourceWarnings are now issued when files and sockets are | Antoine Pitrou | 2010-10-29 | 5 | -13/+104 |
| | | | | | deallocated without explicit closing. These warnings are silenced by default, except in pydebug mode. | ||||
* | Issue #8852: Allow the socket module to build on OpenSolaris. | Antoine Pitrou | 2010-10-27 | 1 | -12/+28 |
| | |||||
* | In open(), only set the buffer size from st.st_blksize when it is greater | Antoine Pitrou | 2010-10-27 | 1 | -1/+1 |
| | | | | | than 1. This matches the pure Python implementation in _pyio and should fix a couple of failures on the NetBSD buildbot. | ||||
* | Issue #10143: Update "os.pathconf" values | Jesus Cea | 2010-10-25 | 1 | -0/+33 |
| | |||||
* | These are true PyCFunctions, after adding the second argument to oss_self, ↵ | Georg Brandl | 2010-10-24 | 1 | -5/+5 |
| | | | | no need to cast. | ||||
* | Add a new warning gategory, ResourceWarning, as discussed on python-dev. It ↵ | Georg Brandl | 2010-10-24 | 1 | -10/+10 |
| | | | | | | | | is silent by default, except when configured --with-pydebug. Emit this warning from the GC shutdown procedure, rather than just printing to stderr. | ||||
* | Add casts (one needed, one for consistency). | Georg Brandl | 2010-10-24 | 1 | -4/+4 |
| | |||||
* | Issue #10185: use Py_hash_t instead of long | Antoine Pitrou | 2010-10-23 | 1 | -1/+1 |
| | |||||
* | #6518: enable context manager protocol for ossaudiodev types. | Georg Brandl | 2010-10-23 | 1 | -0/+25 |
| | |||||
* | 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 | 1 | -34/+17 |
| | | | | test_multiprocessing's misbehaviour. | ||||
* | Issue #9935: Speed up pickling of instances of user-defined classes. | Antoine Pitrou | 2010-10-22 | 1 | -17/+34 |
| | |||||
* | For now, remove accept4() code (issue #10115) | Antoine Pitrou | 2010-10-22 | 1 | -9/+0 |
| | |||||
* | Issue #5639: Add a *server_hostname* argument to `SSLContext.wrap_socket` | Antoine Pitrou | 2010-10-22 | 1 | -5/+40 |
| | | | | | | in order to support the TLS SNI extension. `HTTPSConnection` and `urlopen()` also use this argument, so that HTTPS virtual hosts are now supported. | ||||
* | #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 | 1 | -3/+6 |
| | | | | They can be retrieved through a new attribute `sys._xoptions`. | ||||
* | Issue #4388: On Mac OS X, decode command line arguments from UTF-8, instead of | Victor Stinner | 2010-10-20 | 1 | -0/+8 |
| | | | | | | | 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. | ||||
* | zipimport: remove arbitrary length limit from message formats | Victor Stinner | 2010-10-18 | 1 | -14/+9 |
| | | | | | PyErr_Format() and PyUnicode_FromFormat() are able to allocate the right buffer size and to catch memory allocation failures. | ||||
* | zipimport: document archive encoding; fix indentation | Victor Stinner | 2010-10-18 | 1 | -3/+4 |
| | |||||
* | Revert r85699 and r85701 (zipimport): fullname is a module name, not a path | Victor Stinner | 2010-10-18 | 1 | -42/+18 |
| | | | | UTF-8 is just fine for module names. | ||||
* | zipimport: fix "can't find module ..." error message | Victor Stinner | 2010-10-18 | 1 | -4/+16 |
| | | | | | | I cannot use %U: fullname is a bytes object, not an unicode object. %A format cannot be used, it adds 'b' (bytes) prefix. So create cant_find_module() function to decode the filename and raise the error message. | ||||
* | zipimport: find_module(), is_package() and get_source() supports surrogates | Victor Stinner | 2010-10-18 | 1 | -16/+28 |
| | | | | Use PyUnicode_FSConverter to support surrogates in the full name. | ||||
* | zipimport: pass path size to make_filename() | Victor Stinner | 2010-10-18 | 1 | -5/+5 |
| | | | | Don't hardcode path size in make_filename(). | ||||
* | Fix hash function type. | Georg Brandl | 2010-10-18 | 1 | -1/+1 |
| |