Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | While not strictly necessary thanks to the odd ABC inheritance done through | Brett Cannon | 2010-08-22 | 1 | -0/+14 |
| | | | | | importlib._bootstrap, add the optional methods for importlib.abc.SourceLoader for completeness. | ||||
* | 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. | ||||
* | Issue #9512: Made comment more informative. | Vinay Sajip | 2010-08-22 | 1 | -1/+6 |
| | |||||
* | 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 | 2 | -1/+34 |
| | |||||
* | remove obsolete 'import SOCKS' statement | Giampaolo Rodolà | 2010-08-21 | 1 | -7/+1 |
| | |||||
* | 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. | ||||
* | fix smtpd.py I accidentally broke in my previous commit | Giampaolo Rodolà | 2010-08-21 | 1 | -1/+1 |
| | |||||
* | revert changes made in r84236 committed by accident | Giampaolo Rodolà | 2010-08-21 | 1 | -14/+1 |
| | |||||
* | fix issue #9129: added proper error handling when accepting new connections ↵ | Giampaolo Rodolà | 2010-08-21 | 1 | -2/+15 |
| | | | | in SMTPServer.handle_accept | ||||
* | Fix a typo in the alias target name for 'macintosh'. | Marc-André Lemburg | 2010-08-21 | 1 | -1/+1 |
| | |||||
* | alias macintosh to mac_roman #843590 | Benjamin Peterson | 2010-08-21 | 1 | -0/+1 |
| | |||||
* | speed hack can be implemented more cleanly by directly calling __new__ | Benjamin Peterson | 2010-08-21 | 1 | -8/+2 |
| | |||||
* | use blank object instead | Benjamin Peterson | 2010-08-21 | 1 | -1/+1 |
| | |||||
* | remove outdated comment | Benjamin Peterson | 2010-08-21 | 1 | -5/+0 |
| | |||||
* | 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. | ||||
* | Issue #7077: Fixed bug in previous fix. | Vinay Sajip | 2010-08-20 | 1 | -1/+1 |
| | |||||
* | Issue #7077: Fixed SysLogHandler implementation of Unicode handling. | Vinay Sajip | 2010-08-19 | 1 | -10/+4 |
| | |||||
* | 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. | ||||
* | Fix Issue9639 - reset the retry count on successful auth. | Senthil Kumaran | 2010-08-19 | 1 | -2/+9 |
| | |||||
* | 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 |
| | |||||
* | test_main_invalid_unicode() of test_sys displays stderr on failure | Victor Stinner | 2010-08-19 | 1 | -4/+3 |
| | |||||
* | Fix os.get_exec_path() (code and tests) for python -bb | Victor Stinner | 2010-08-19 | 2 | -5/+12 |
| | | | | Catch BytesWarning exceptions. | ||||
* | Ooops, finish test_sys fix: use expected variable | Victor Stinner | 2010-08-19 | 1 | -1/+1 |
| | |||||
* | Fix test_sys about fs encoding for Windows and Mac OS X | Victor Stinner | 2010-08-19 | 1 | -17/+22 |
| | | | | | | * Check fs encoding value on Windows * Ignore LANG= test on Windows and Mac OS X (fs encoding is hardcoded on these platforms) | ||||
* | Fix test_os: workaround #8611 bug | Victor Stinner | 2010-08-19 | 1 | -2/+9 |
| | |||||
* | Fix Issue9638 - remove dead code from py3k imaplib | Senthil Kumaran | 2010-08-19 | 1 | -15/+0 |
| | |||||
* | Create os.fsdecode(): decode from the filesystem encoding with surrogateescape | Victor Stinner | 2010-08-19 | 2 | -26/+68 |
| | | | | | | | | error handler, or strict error handler on Windows. * Rewrite os.fsencode() documentation * Improve os.fsencode and os.fsdecode() tests using the new PYTHONFSENCODING environment variable | ||||
* | test_sys: move tests at the right place | Victor Stinner | 2010-08-18 | 1 | -56/+57 |
| | | | | filesystem encoding is not related to sys.sizeof() | ||||
* | Improve error message if the command is not decodable | Victor Stinner | 2010-08-18 | 1 | -1/+4 |
| | |||||
* | Add more tests to unicodedata with large code points | Amaury Forgeot d'Arc | 2010-08-18 | 1 | -0/+2 |
| | | | | (the other functions where not affected by the recent change) | ||||
* | Issue #8622: Add PYTHONFSENCODING environment variable to override the | Victor Stinner | 2010-08-18 | 2 | -9/+25 |
| | | | | | | filesystem encoding. initfsencoding() displays also a better error message if get_codeset() failed. | ||||
* | Fix stupid typo in test. | Amaury Forgeot d'Arc | 2010-08-18 | 1 | -2/+2 |
| | |||||
* | Decompose TESTFN_UNICODE on Mac OS X | Victor Stinner | 2010-08-18 | 1 | -0/+6 |
| | |||||
* | #5127: Even on narrow unicode builds, the C functions that access the Unicode | Amaury Forgeot d'Arc | 2010-08-18 | 2 | -0/+10 |
| | | | | | | | | | | Database (Py_UNICODE_TOLOWER, Py_UNICODE_ISDECIMAL, and others) now accept and return characters from the full Unicode range (Py_UCS4). The differences from Python code are few: - unicodedata.numeric(), unicodedata.decimal() and unicodedata.digit() now return the correct value for large code points - repr() may consider more characters as printable. | ||||
* | Issue #9433: The "-j" option to regrtest now works under Windows too. | Antoine Pitrou | 2010-08-18 | 1 | -1/+2 |
| | | | | | It is not sure it will be beneficial, though, since process launching is more expensive under Windows than it is under Linux. | ||||
* | Fix Issue672656 - Securing pydoc server. | Senthil Kumaran | 2010-08-18 | 1 | -1/+1 |
| | |||||
* | Improve PEP 383 tests (in test_os) | Victor Stinner | 2010-08-18 | 2 | -19/+43 |
| | | | | | | | | | | | * Use the current filesystem encoding instead of always using utf-8 * Enable the test on Mac OS X * Use TESTFN_UNENCODABLE and TESTFN_UNICODE instead of arbitrary filenames * To decode a filename, use strict error handler instead surrogateescape for mbcs encoding (on Windows) * Use TESTFN_UNENCODABLE (if available) for the directory name Skip the test if no non-ascii filename can be created. | ||||
* | Issue #3488: Provide convenient shorthand functions `gzip.compress` | Antoine Pitrou | 2010-08-17 | 2 | -1/+38 |
| | | | | and `gzip.decompress`. Original patch by Anand B. Pillai. | ||||
* | fix issue #8807: adds a context parameter to POP3_SSL class. | Giampaolo Rodolà | 2010-08-17 | 2 | -6/+33 |
| | |||||
* | fix issue #8866: parameters passed to socket.getaddrinfo can now be ↵ | Giampaolo Rodolà | 2010-08-17 | 1 | -0/+22 |
| | | | | specified as single keyword arguments. | ||||
* | Issue #8202: Set sys.argv[0] to -m rather than -c while searching for the ↵ | Nick Coghlan | 2010-08-17 | 4 | -45/+115 |
| | | | | module to execute. Also updates all the cmd_line_script tests to validate the setting of sys.path[0] and the current working directory | ||||
* | Another attempt at pacifying the windows buildbots by ignoring all the ↵ | Nick Coghlan | 2010-08-17 | 1 | -10/+9 |
| | | | | variable information in the dis.code_info tests | ||||
* | Address XXX comment in dis.py: inspect.py now attempts to reuse the dis.py ↵ | Nick Coghlan | 2010-08-17 | 2 | -8/+19 |
| | | | | compiler flag values before resorting to defining its own | ||||
* | Ignore the exact ID value for the nested function in the dis.code_info tests | Nick Coghlan | 2010-08-17 | 1 | -4/+3 |
| | |||||
* | Correct a couple of assert* methods. Patch by Dave Malcolm. | Ezio Melotti | 2010-08-17 | 1 | -2/+2 |
| |