67e91ad | Martin v. Löwis | 23 August 2010, 15:27:26 UTC | Explicitly pass socket type and family for getaddrinfo, 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. | 23 August 2010, 15:27:26 UTC |
ee6d647 | Brett Cannon | 22 August 2010, 22:19:11 UTC | One of the joys of having test_multiprocessing occasionally execute after test_importlib is that it discovers special little race conditions. For instance, it turns out that importlib would throw an exception if two different Python processes both tried to create the __pycache__ directory as one process would succeed, causing the other process to fail as it didn't expect to get any "help". So now importlib simply stays calm and just accepts someone else did the work of creating the __pycache__ directory for it, moving on with life. Closes issue #9572. | 22 August 2010, 22:19:11 UTC |
186335b | Brett Cannon | 22 August 2010, 22:11:06 UTC | Make sure that no __pycache__ directory is needlessly left behind when testing imports with an empty string in sys.path. | 22 August 2010, 22:11:06 UTC |
0723d2c | Antoine Pitrou | 22 August 2010, 20:43:26 UTC | Add an import lock test for multithreaded circular imports. (part of #9657) | 22 August 2010, 20:43:26 UTC |
8d18907 | Brett Cannon | 22 August 2010, 20:38:47 UTC | While not strictly necessary thanks to the odd ABC inheritance done through importlib._bootstrap, add the optional methods for importlib.abc.SourceLoader for completeness. | 22 August 2010, 20:38:47 UTC |
2525dc8 | Brett Cannon | 22 August 2010, 20:36:25 UTC | Under OS X, history_get from readline returns a const char *, but the local variable the return value is assigned to is char *. Since the assigned-to variable is never changed, simply make that a const char * and cast all calls to get_history to const char * to silence the compiler warning (found with LLVM). | 22 August 2010, 20:36:25 UTC |
6a74da3 | Georg Brandl | 22 August 2010, 20:23:38 UTC | #9649: fix default value description. | 22 August 2010, 20:23:38 UTC |
51a059b | Daniel Stutzbach | 22 August 2010, 19:41:04 UTC | Added myself to Misc/maintainers.rst for topics on which I'd like to be added to the nosy list | 22 August 2010, 19:41:04 UTC |
56773cf | Martin v. Löwis | 22 August 2010, 19:38:04 UTC | Mention that gethostbyaddr now also supports IDNA. | 22 August 2010, 19:38:04 UTC |
fc0275a | Martin v. Löwis | 22 August 2010, 19:33:47 UTC | Issue #1027206: Support IDNA in gethostbyname, gethostbyname_ex and getaddrinfo. Patch by David Watson. | 22 August 2010, 19:33:47 UTC |
d41a37a | Vinay Sajip | 22 August 2010, 18:41:24 UTC | Updated maintainers.rst to reflect correct Roundup name. | 22 August 2010, 18:41:24 UTC |
89994b2 | Vinay Sajip | 22 August 2010, 18:11:02 UTC | Issue #9512: Made comment more informative. | 22 August 2010, 18:11:02 UTC |
7224d07 | Antoine Pitrou | 22 August 2010, 10:18:36 UTC | Test that calls to path hooks and meta_path entries are serialized by the import lock. (part of issue #9251) | 22 August 2010, 10:18:36 UTC |
7ebe4f9 | Martin v. Löwis | 22 August 2010, 08:46:19 UTC | Add Daniel Stutzbach. | 22 August 2010, 08:46:19 UTC |
819a064 | Raymond Hettinger | 22 August 2010, 08:39:49 UTC | Issue 8403: Don't mask KeyboardInterrupt during peephole operation. | 22 August 2010, 08:39:49 UTC |
9117c75 | Raymond Hettinger | 22 August 2010, 07:44:24 UTC | Issue #9214: Fix set operations on KeysView and ItemsView. | 22 August 2010, 07:44:24 UTC |
a52bae7 | Georg Brandl | 21 August 2010, 23:20:01 UTC | Remove usage of rexec in tkinter demo. | 21 August 2010, 23:20:01 UTC |
3cabbeb | Benjamin Peterson | 21 August 2010, 21:23:28 UTC | fix old markup | 21 August 2010, 21:23:28 UTC |
6545ed6 | Giampaolo Rodolà | 21 August 2010, 20:34:37 UTC | remove obsolete 'import SOCKS' statement | 21 August 2010, 20:34:37 UTC |
2d55e2a | Benjamin Peterson | 21 August 2010, 20:08:36 UTC | provide sample implementations for attrgetter and methodcaller | 21 August 2010, 20:08:36 UTC |
c16f8b3 | Benjamin Peterson | 21 August 2010, 20:03:15 UTC | fix more indentation | 21 August 2010, 20:03:15 UTC |
ffec810 | Benjamin Peterson | 21 August 2010, 20:01:28 UTC | indent properly | 21 August 2010, 20:01:28 UTC |
b46b9d5 | Antoine Pitrou | 21 August 2010, 19:09:32 UTC | Issue #9617: Signals received during a low-level write operation aren't ignored by the buffered IO layer anymore. | 21 August 2010, 19:09:32 UTC |
522180a | Giampaolo Rodolà | 21 August 2010, 18:58:21 UTC | fix smtpd.py I accidentally broke in my previous commit | 21 August 2010, 18:58:21 UTC |
5fe9cd5 | Giampaolo Rodolà | 21 August 2010, 18:47:59 UTC | revert changes made in r84236 committed by accident | 21 August 2010, 18:47:59 UTC |
5c8c9a2 | Giampaolo Rodolà | 21 August 2010, 18:35:05 UTC | fix issue #9129: added proper error handling when accepting new connections in SMTPServer.handle_accept | 21 August 2010, 18:35:05 UTC |
6cbe427 | Senthil Kumaran | 21 August 2010, 16:08:32 UTC | Add info about HTTP/1.1 and Connection:Close header. | 21 August 2010, 16:08:32 UTC |
ff56250 | Marc-André Lemburg | 21 August 2010, 10:58:31 UTC | Fix a typo in the alias target name for 'macintosh'. | 21 August 2010, 10:58:31 UTC |
23110e7 | Benjamin Peterson | 21 August 2010, 02:54:44 UTC | alias macintosh to mac_roman #843590 | 21 August 2010, 02:54:44 UTC |
0cc7444 | Benjamin Peterson | 21 August 2010, 02:45:15 UTC | speed hack can be implemented more cleanly by directly calling __new__ | 21 August 2010, 02:45:15 UTC |
bf6f31b | Benjamin Peterson | 21 August 2010, 02:43:31 UTC | use blank object instead | 21 August 2010, 02:43:31 UTC |
c3f810f | Benjamin Peterson | 21 August 2010, 02:41:33 UTC | remove outdated comment | 21 August 2010, 02:41:33 UTC |
c44abb1 | Victor Stinner | 20 August 2010, 16:52:14 UTC | Workaround issue #8611 in test_undecodable_code() of test_sys Write test.support.workaroundIssue8611() function so it will be easier to remove this workaround from all tests. | 20 August 2010, 16:52:14 UTC |
1b6372a | Victor Stinner | 20 August 2010, 16:38:14 UTC | test_undecodable_code(): set locale to C 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. | 20 August 2010, 16:38:14 UTC |
e6376f8 | Victor Stinner | 20 August 2010, 11:08:18 UTC | test_main_invalid_unicode() of test_sys: print string as ascii 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. | 20 August 2010, 11:08:18 UTC |
89d8f82 | Vinay Sajip | 20 August 2010, 08:43:22 UTC | Issue #7077: Fixed bug in previous fix. | 20 August 2010, 08:43:22 UTC |
0ceb671 | Tim Golden | 20 August 2010, 08:31:26 UTC | Remove long-redundant plat-win from sys.path on Windows | 20 August 2010, 08:31:26 UTC |
467d12f | Vinay Sajip | 19 August 2010, 22:20:22 UTC | Issue #7077: Fixed SysLogHandler implementation of Unicode handling. | 19 August 2010, 22:20:22 UTC |
12844e6 | Amaury Forgeot d'Arc | 19 August 2010, 21:32:38 UTC | Add tests for r84209 (crashes in the Ast builder) Also remove one tab, and move a check closer to the possible failure. | 19 August 2010, 21:32:38 UTC |
8101021 | Vinay Sajip | 19 August 2010, 19:17:41 UTC | Issue #9606: Updated documentation for Filter objects. | 19 August 2010, 19:17:41 UTC |
67a62a4 | Senthil Kumaran | 19 August 2010, 17:50:31 UTC | Fix Issue9639 - reset the retry count on successful auth. | 19 August 2010, 17:50:31 UTC |
92dc80a | Amaury Forgeot d'Arc | 19 August 2010, 17:43:15 UTC | Check the return values for all functions returning an ast node. Failure to do it may result in strange error messages or even crashes, in admittedly convoluted cases that are normally syntax errors, like: def f(*xx, __debug__): pass | 19 August 2010, 17:43:15 UTC |
5c1808a | Victor Stinner | 19 August 2010, 17:35:00 UTC | test_pep277: display the filename as ascii on failure | 19 August 2010, 17:35:00 UTC |
114b724 | Victor Stinner | 19 August 2010, 17:22:57 UTC | Skip test_encodings() of test_os on Windows and Mac OS X | 19 August 2010, 17:22:57 UTC |
515ca20 | Victor Stinner | 19 August 2010, 17:18:12 UTC | test_main_invalid_unicode() of test_sys displays stderr on failure | 19 August 2010, 17:18:12 UTC |
38430e2 | Victor Stinner | 19 August 2010, 17:10:18 UTC | Fix os.get_exec_path() (code and tests) for python -bb Catch BytesWarning exceptions. | 19 August 2010, 17:10:18 UTC |
9802b39 | Victor Stinner | 19 August 2010, 11:36:43 UTC | PYTHONFSENCODING is not available on Windows or Mac OS X | 19 August 2010, 11:36:43 UTC |
9943524 | Victor Stinner | 19 August 2010, 11:30:09 UTC | Ooops, finish test_sys fix: use expected variable | 19 August 2010, 11:30:09 UTC |
85ca2af | Victor Stinner | 19 August 2010, 11:23:47 UTC | Fix test_sys about fs encoding for Windows and Mac OS X * Check fs encoding value on Windows * Ignore LANG= test on Windows and Mac OS X (fs encoding is hardcoded on these platforms) | 19 August 2010, 11:23:47 UTC |
70f88c5 | Victor Stinner | 19 August 2010, 11:17:12 UTC | Fix test_os: workaround #8611 bug | 19 August 2010, 11:17:12 UTC |
5ea823c | Martin v. Löwis | 19 August 2010, 09:11:51 UTC | Decode NIS data to fs encoding, using the surrogate error handler. | 19 August 2010, 09:11:51 UTC |
f241afa | Senthil Kumaran | 19 August 2010, 07:02:20 UTC | Fix Issue9638 - remove dead code from py3k imaplib | 19 August 2010, 07:02:20 UTC |
e8d5145 | Victor Stinner | 19 August 2010, 01:05:19 UTC | Create os.fsdecode(): decode from the filesystem encoding with surrogateescape 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 | 19 August 2010, 01:05:19 UTC |
dbe6042 | Victor Stinner | 18 August 2010, 23:41:33 UTC | what's new 3.2: use :mod: | 18 August 2010, 23:41:33 UTC |
c732e3b | Victor Stinner | 18 August 2010, 22:44:15 UTC | test_sys: move tests at the right place filesystem encoding is not related to sys.sizeof() | 18 August 2010, 22:44:15 UTC |
358b63a | Éric Araujo | 18 August 2010, 22:35:23 UTC | Fix typo | 18 August 2010, 22:35:23 UTC |
4ea04a3 | Andrew M. Kuchling | 18 August 2010, 22:30:34 UTC | #7647: add ST_RDONLY, ST_NOSUID constants to os module. (Also fix a name ordering in the ACKS file.) | 18 August 2010, 22:30:34 UTC |
0fc86b8 | Éric Araujo | 18 August 2010, 22:29:54 UTC | Fix indentation level | 18 August 2010, 22:29:54 UTC |
3119ed7 | Victor Stinner | 18 August 2010, 22:26:50 UTC | Fix PyUnicode_EncodeFSDefault() indentation | 18 August 2010, 22:26:50 UTC |
398356b | Victor Stinner | 18 August 2010, 22:23:22 UTC | Improve error message if the command is not decodable | 18 August 2010, 22:23:22 UTC |
7e44b6b | Amaury Forgeot d'Arc | 18 August 2010, 22:07:15 UTC | Add more tests to unicodedata with large code points (the other functions where not affected by the recent change) | 18 August 2010, 22:07:15 UTC |
d5f2b54 | Victor Stinner | 18 August 2010, 21:59:12 UTC | Fix reindent-rst.py: it works on binary files | 18 August 2010, 21:59:12 UTC |
94908bb | Victor Stinner | 18 August 2010, 21:23:25 UTC | Issue #8622: Add PYTHONFSENCODING environment variable to override the filesystem encoding. initfsencoding() displays also a better error message if get_codeset() failed. | 18 August 2010, 21:23:25 UTC |
56ab01b | Amaury Forgeot d'Arc | 18 August 2010, 21:12:52 UTC | Fix stupid typo in test. | 18 August 2010, 21:12:52 UTC |
74a833f | Victor Stinner | 18 August 2010, 21:06:23 UTC | Decompose TESTFN_UNICODE on Mac OS X | 18 August 2010, 21:06:23 UTC |
b85e165 | Antoine Pitrou | 18 August 2010, 21:05:19 UTC | Issue #5737: Add Solaris-specific mnemonics in the errno module. Patch by Matthew Ahrens. | 18 August 2010, 21:05:19 UTC |
324ac65 | Amaury Forgeot d'Arc | 18 August 2010, 20:44:58 UTC | #5127: Even on narrow unicode builds, the C functions that access the Unicode 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. | 18 August 2010, 20:44:58 UTC |
36e778e | Antoine Pitrou | 18 August 2010, 20:44:14 UTC | Issue #9433: The "-j" option to regrtest now works under Windows too. It is not sure it will be beneficial, though, since process launching is more expensive under Windows than it is under Linux. | 18 August 2010, 20:44:14 UTC |
7ff5913 | Senthil Kumaran | 18 August 2010, 19:32:21 UTC | Fix Issue672656 - Securing pydoc server. | 18 August 2010, 19:32:21 UTC |
dfaf9ec | Martin v. Löwis | 18 August 2010, 16:12:23 UTC | Restore GIL in nis_cat in case of error. | 18 August 2010, 16:12:23 UTC |
c14190d | Victor Stinner | 18 August 2010, 10:57:33 UTC | Add versionadded tag to PyModule_GetFilenameObject() doc | 18 August 2010, 10:57:33 UTC |
d91df1a | Victor Stinner | 18 August 2010, 10:56:19 UTC | Improve PEP 383 tests (in test_os) * 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. | 18 August 2010, 10:56:19 UTC |
6c00c14 | Victor Stinner | 17 August 2010, 23:37:11 UTC | Issue #9425: Create PyModule_GetFilenameObject() function ... to get the filename as a unicode object, instead of a byte string. Function needed to support unencodable filenames. Deprecate PyModule_GetFilename() in favor on the new function. | 17 August 2010, 23:37:11 UTC |
6951157 | Martin v. Löwis | 17 August 2010, 23:16:51 UTC | Correct library name that Ask will work on. | 17 August 2010, 23:16:51 UTC |
382d917 | Martin v. Löwis | 17 August 2010, 22:58:42 UTC | Add Ask Solem. | 17 August 2010, 22:58:42 UTC |
6b06da5 | Victor Stinner | 17 August 2010, 22:54:21 UTC | Remove unused functions _PyImport_FindModule and _PyImport_IsScript | 17 August 2010, 22:54:21 UTC |
0e5a41b | Victor Stinner | 17 August 2010, 22:49:25 UTC | libpython.py: py-bt commands escape unencodable characters Encode unicode strings to the terminal encoding with backslashreplace error (as Python does for sys.stderr) before writing them to sys.stdout. It fixes UnicodeEncodeError on writing non-ascii characters in an ascii terminal (C locale: ASCII encoding). | 17 August 2010, 22:49:25 UTC |
6961bd6 | Victor Stinner | 17 August 2010, 22:26:51 UTC | Issue #8063: Call _PyGILState_Init() earlier in Py_InitializeEx(). | 17 August 2010, 22:26:51 UTC |
6009ece | Victor Stinner | 17 August 2010, 22:01:02 UTC | Replace :func: by :cfunc: To get links to the C functions | 17 August 2010, 22:01:02 UTC |
f5be090 | Éric Araujo | 17 August 2010, 21:24:05 UTC | Fix example | 17 August 2010, 21:24:05 UTC |
cdfe1c5 | Antoine Pitrou | 17 August 2010, 21:15:00 UTC | Add versionadded tags | 17 August 2010, 21:15:00 UTC |
bf1a018 | Antoine Pitrou | 17 August 2010, 21:11:49 UTC | Modernize gzip examples | 17 August 2010, 21:11:49 UTC |
79c5ef1 | Antoine Pitrou | 17 August 2010, 21:10:05 UTC | Issue #3488: Provide convenient shorthand functions `gzip.compress` and `gzip.decompress`. Original patch by Anand B. Pillai. | 17 August 2010, 21:10:05 UTC |
852823d | Brian Curtin | 17 August 2010, 20:49:09 UTC | Cleanup and correct a few ints to be Py_ssize_t. | 17 August 2010, 20:49:09 UTC |
abb3351 | Brian Curtin | 17 August 2010, 20:08:40 UTC | Properly downcast from size_t/Py_ssize_t in a few places. | 17 August 2010, 20:08:40 UTC |
19467d2 | Antoine Pitrou | 17 August 2010, 19:33:30 UTC | Clean some 64-bit issues. Also, always spell "ssize_t" "Py_ssize_t". | 17 August 2010, 19:33:30 UTC |
3fccfcb | Raymond Hettinger | 17 August 2010, 19:19:29 UTC | Minor rewording to docs for the lru_cache decorator | 17 August 2010, 19:19:29 UTC |
554f334 | Antoine Pitrou | 17 August 2010, 18:30:06 UTC | Fix <deque iterator>.__length_hint__() under 64-bit Windows. | 17 August 2010, 18:30:06 UTC |
671b4d9 | Antoine Pitrou | 17 August 2010, 17:55:07 UTC | Issue #9612: The set object is now 64-bit clean under Windows. | 17 August 2010, 17:55:07 UTC |
7ac98ae | Benjamin Peterson | 17 August 2010, 17:52:02 UTC | wrap | 17 August 2010, 17:52:02 UTC |
42382fe | Giampaolo Rodolà | 17 August 2010, 16:09:53 UTC | fix issue #8807: adds a context parameter to POP3_SSL class. | 17 August 2010, 16:09:53 UTC |
ccfb91c | Giampaolo Rodolà | 17 August 2010, 15:30:23 UTC | fix issue #8866: parameters passed to socket.getaddrinfo can now be specified as single keyword arguments. | 17 August 2010, 15:30:23 UTC |
67b21b7 | Georg Brandl | 17 August 2010, 15:07:14 UTC | Consistency check for versionadded/changed directives. | 17 August 2010, 15:07:14 UTC |
9e25701 | Georg Brandl | 17 August 2010, 14:11:59 UTC | Markup nits. | 17 August 2010, 14:11:59 UTC |
d26c18a | Nick Coghlan | 17 August 2010, 13:06:11 UTC | Issue #8202: Set sys.argv[0] to -m rather than -c while searching for the module to execute. Also updates all the cmd_line_script tests to validate the setting of sys.path[0] and the current working directory | 17 August 2010, 13:06:11 UTC |
46e6380 | Nick Coghlan | 17 August 2010, 11:28:07 UTC | Another attempt at pacifying the windows buildbots by ignoring all the variable information in the dis.code_info tests | 17 August 2010, 11:28:07 UTC |
09c8123 | Nick Coghlan | 17 August 2010, 10:18:16 UTC | Address XXX comment in dis.py: inspect.py now attempts to reuse the dis.py compiler flag values before resorting to defining its own | 17 August 2010, 10:18:16 UTC |
77203ad | Nick Coghlan | 17 August 2010, 09:25:57 UTC | Ignore the exact ID value for the nested function in the dis.code_info tests | 17 August 2010, 09:25:57 UTC |
fc8b205 | Ezio Melotti | 17 August 2010, 08:35:41 UTC | Correct a couple of assert* methods. Patch by Dave Malcolm. | 17 August 2010, 08:35:41 UTC |
eae2da1 | Nick Coghlan | 17 August 2010, 08:03:36 UTC | Issue 9147: Add dis.code_info() | 17 August 2010, 08:03:36 UTC |