Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Clean up the fix to #9324 with some of the suggestions raised on python-dev | Brian Curtin | 2010-09-06 | 1 | -3/+2 |
| | | | | | | | in response to the original checkin. Move the validation from the original loop into a switch statement, and adjust a platform check in the tests. | ||||
* | hashlib has two new constant attributes: algorithms_guaranteed and | Gregory P. Smith | 2010-09-06 | 1 | -2/+6 |
| | | | | | | | | algorithms_avaiable that respectively list the names of hash algorithms guaranteed to exist in all Python implementations and the names of hash algorithms available in the current process. Renames the attribute new in 3.2a0 'algorithms' to 'algorithms_guaranteed'. | ||||
* | Issue #9293: I/O streams now raise `io.UnsupportedOperation` when an | Antoine Pitrou | 2010-09-05 | 1 | -7/+47 |
| | | | | | unsupported operation is attempted (for example, writing to a file open only for reading). | ||||
* | Fix accidental suppression in r84537v3.2a2 | Éric Araujo | 2010-09-05 | 1 | -1/+1 |
| | |||||
* | Make naming consistent | Éric Araujo | 2010-09-05 | 1 | -3/+3 |
| | |||||
* | Adopt more descriptive attribute names as suggested on python-dev. | Raymond Hettinger | 2010-09-04 | 1 | -9/+9 |
| | |||||
* | Issue #8734: Avoid crash in msvcrt.get_osfhandle() when an invalid file | Antoine Pitrou | 2010-09-04 | 1 | -0/+3 |
| | | | | descriptor is provided. Patch by Pascal Chambon. | ||||
* | Issue #9777: test_idna requires the "network" resource | Antoine Pitrou | 2010-09-04 | 1 | -0/+1 |
| | |||||
* | Issue #1100562: Fix deep-copying of objects derived from the list and dict ↵ | Antoine Pitrou | 2010-09-04 | 1 | -0/+20 |
| | | | | | | types. Patch by Michele Orrù and Björn Lindqvist. | ||||
* | Issue #9581: Fix non-working PosixGroupsTester test case | Antoine Pitrou | 2010-09-04 | 1 | -8/+2 |
| | | | | (it only runs as root, which is why nobody bothered about the failure) | ||||
* | add consistent support for the vars and default arguments on all | Fred Drake | 2010-09-04 | 1 | -5/+52 |
| | | | | | configuration parser classes (http://bugs.python.org/issue9421) | ||||
* | Strengthen BytesWarning tests. | Florent Xicluna | 2010-09-03 | 1 | -45/+54 |
| | |||||
* | fromfd exists on Windows now | Daniel Stutzbach | 2010-09-03 | 1 | -2/+0 |
| | |||||
* | Issue 8420: Fix obscure set crashers. | Raymond Hettinger | 2010-09-03 | 1 | -0/+34 |
| | |||||
* | fix output from RawConfigParser.write and ConfigParser.write for None | Fred Drake | 2010-09-03 | 1 | -0/+29 |
| | | | | | | values (http://bugs.python.org/issue7005) (merged r84443 from the release27-mmaint branch, with changes to reflect changes in Python 3) | ||||
* | Issue #9212: Added the missing isdisjoint method to the dict_keys and | Daniel Stutzbach | 2010-09-02 | 1 | -0/+35 |
| | | | | | dict_items views. The method is required by the collections.Set ABC, which the views register as supporting. | ||||
* | Issue #9737: Fix a crash when trying to delete a slice or an item from | Antoine Pitrou | 2010-09-01 | 1 | -0/+9 |
| | | | | a memoryview object. | ||||
* | Issue #8990: array.fromstring() and array.tostring() get renamed to | Antoine Pitrou | 2010-09-01 | 6 | -19/+57 |
| | | | | | | frombytes() and tobytes(), respectively, to avoid confusion. Furthermore, array.frombytes(), array.extend() as well as the array.array() constructor now accept bytearray objects. Patch by Thomas Jollans. | ||||
* | Issue #9549: sys.setdefaultencoding() and PyUnicode_SetDefaultEncoding() | Antoine Pitrou | 2010-09-01 | 1 | -8/+0 |
| | | | | | are now removed, since their effect was inexistent in 3.x (the default encoding is hardcoded to utf-8 and cannot be changed). | ||||
* | Fix issue #9711: raise ValueError is SSLConnection constructor is invoked ↵ | Giampaolo Rodolà | 2010-08-30 | 1 | -7/+12 |
| | | | | with keyfile and not certfile. | ||||
* | handle names starting with non-ascii characters correctly #9712 | Benjamin Peterson | 2010-08-30 | 1 | -0/+13 |
| | |||||
* | remove pointless coding cookie | Benjamin Peterson | 2010-08-30 | 1 | -2/+0 |
| | |||||
* | dedent some lines in test_ssl so that they are actually executed | Giampaolo Rodolà | 2010-08-29 | 1 | -10/+10 |
| | |||||
* | in ssl tests rely on IOError.errno rather thanf IOError.strerror for better ↵ | Giampaolo Rodolà | 2010-08-29 | 1 | -7/+17 |
| | | | | compatibility across platforms. | ||||
* | Fix issue issue9706: provides a better error handling for various SSL operations | Giampaolo Rodolà | 2010-08-29 | 1 | -2/+18 |
| | |||||
* | Issue #1868: Eliminate subtle timing issues in thread-local objects by | Antoine Pitrou | 2010-08-28 | 1 | -1/+61 |
| | | | | getting rid of the cached copy of thread-local attribute dictionary. | ||||
* | Issue #1512791: In setframerate method of Wave_write, round non-integral | Mark Dickinson | 2010-08-28 | 1 | -2/+12 |
| | | | | inputs to the nearest integer. Thanks Neil Tallim for the patch. | ||||
* | basicsize and itemsize are Py_ssize_t #9688 | Benjamin Peterson | 2010-08-25 | 1 | -0/+5 |
| | |||||
* | Fix test_sys: set LC_ALL instead of LANG | Victor Stinner | 2010-08-25 | 1 | -3/+4 |
| | | | | | LC_ALL is read before LANG to choose the locale encoding (LC_ALL, LANG and then LC_CTYPE: use the first non empty variable). | ||||
* | Issue #1027206: getnameinfo is now restricted to numeric addresses as input. | Martin v. Löwis | 2010-08-25 | 1 | -0/+4 |
| | |||||
* | Disable test_undecodable_code() of test_sys on Windows | Victor Stinner | 2010-08-25 | 1 | -0/+6 |
| | | | | This test is irrevelant on Windows | ||||
* | Fix test_sys for FreeBSD, Solaris and Mac OS X | Victor Stinner | 2010-08-24 | 1 | -2/+15 |
| | | | | | | | _Py_char2wchar() (mbctowcs) decodes b'\xff' to '\xff' on FreeBSD, Solaris and Mac OS X, even if the locale is C (and the locale encoding is ASCII). Patch test_undecodable_code() to support this output and document the two different kinds of outputs. | ||||
* | Issue 8750: Fixed MutableSet's methods to correctly handle reflexive ↵ | Daniel Stutzbach | 2010-08-24 | 1 | -0/+15 |
| | | | | operations, namely x -= x and x ^= x | ||||
* | only catch AttributeError in hasattr() #9666 | Benjamin Peterson | 2010-08-24 | 1 | -5/+6 |
| | |||||
* | fix issue 9601: ftplib now provides a workaround for invalid response code ↵ | Giampaolo Rodolà | 2010-08-23 | 1 | -0/+12 |
| | | | | returned on MKD and PWD by non-compliant FTPserver implementations such as ISS shipped with Windows server 2003 | ||||
* | cleanup imports | Benjamin Peterson | 2010-08-23 | 1 | -9/+7 |
| | |||||
* | run total_ordering() tests, and fix the function (default comparisons ↵ | Benjamin Peterson | 2010-08-23 | 1 | -1/+2 |
| | | | | shouldn't be considered) | ||||
* | Explicitly pass socket type and family for getaddrinfo, | Martin v. Löwis | 2010-08-23 | 1 | -2/+4 |
| | | | | | | to make test work on Solaris. Disable gethostbyaddr IDNA test for now as there is no reverse DNS entry for the IPv6 address of the test name. | ||||
* | Add an import lock test for multithreaded circular imports. | Antoine Pitrou | 2010-08-22 | 1 | -2/+60 |
| | | | | (part of #9657) | ||||
* | Mention that gethostbyaddr now also supports IDNA. | Martin v. Löwis | 2010-08-22 | 1 | -0/+1 |
| | |||||
* | Issue #1027206: Support IDNA in gethostbyname, gethostbyname_ex and | Martin v. Löwis | 2010-08-22 | 1 | -0/+5 |
| | | | | getaddrinfo. Patch by David Watson. | ||||
* | Test that calls to path hooks and meta_path entries are serialized by the ↵ | Antoine Pitrou | 2010-08-22 | 1 | -7/+79 |
| | | | | | | import lock. (part of issue #9251) | ||||
* | Issue #9214: Fix set operations on KeysView and ItemsView. | Raymond Hettinger | 2010-08-22 | 1 | -1/+26 |
| | |||||
* | Issue #9617: Signals received during a low-level write operation aren't | Antoine Pitrou | 2010-08-21 | 1 | -1/+74 |
| | | | | ignored by the buffered IO layer anymore. | ||||
* | Workaround issue #8611 in test_undecodable_code() of test_sys | Victor Stinner | 2010-08-20 | 3 | -31/+36 |
| | | | | | Write test.support.workaroundIssue8611() function so it will be easier to remove this workaround from all tests. | ||||
* | test_undecodable_code(): set locale to C | Victor Stinner | 2010-08-20 | 1 | -15/+12 |
| | | | | | | | | | | The test is still failing on "x86 FreeBSD 7.2 3.x" and "sparc solaris10 gcc 3.x" buildbots. It looks like the locale encoding is able to decode b'\xff'. I suppose that it is an encoding like 'iso-8859-1'. Use C locale to set, I hope, the locale encoding to 'ascii'. Display also the encoding so if the test fails, at least I will learn the locale encoding choosen for the C locale. | ||||
* | test_main_invalid_unicode() of test_sys: print string as ascii | Victor Stinner | 2010-08-20 | 1 | -1/+1 |
| | | | | | | | | | There are buildbot failures on "x86 FreeBSD 3.x" and "sparc solaris10 gcc 3.x". I suppose that _Py_char2wchar() doesn't fail even if the locale encoding is unable to decode the byte string, because _Py_char2wchar() has a special mode for platform without mbrtowc() (ISO C99) function. Let's check my theory by avoid error on the Python print() instruction. | ||||
* | Add tests for r84209 (crashes in the Ast builder) | Amaury Forgeot d'Arc | 2010-08-19 | 1 | -0/+28 |
| | | | | Also remove one tab, and move a check closer to the possible failure. | ||||
* | test_pep277: display the filename as ascii on failure | Victor Stinner | 2010-08-19 | 1 | -1/+4 |
| | |||||
* | Skip test_encodings() of test_os on Windows and Mac OS X | Victor Stinner | 2010-08-19 | 1 | -0/+2 |
| |