Commit Graph

42999 Commits

Author SHA1 Message Date
Victor Stinner ef8d95c498 Issue #9425: Create Py_UNICODE_strncmp() function
The code is based on strncmp() of the libiberty library,
function in the public domain.
2010-08-16 22:03:11 +00:00
Brian Curtin 405038ac1c Mark myself as assignable for winreg, and put myself down for Windows. 2010-08-16 20:50:03 +00:00
Alexander Belopolsky 977a684c94 Issue #8983: Corrected docstrings. 2010-08-16 20:17:07 +00:00
Tim Golden 4a339ad628 Add Tim Golden as interested in Windows 2010-08-16 20:10:39 +00:00
Florent Xicluna c9c29e2ab2 I get it wrong in r84097: s/relative/absolute/ 2010-08-16 19:03:05 +00:00
Alexander Belopolsky e29e6bffb5 Issue #665761: functools.reduce() will no longer mask exceptions other
than TypeError raised by the iterator argument.  Also added a test to
check that zip() already behaves similarly.
2010-08-16 18:55:46 +00:00
Florent Xicluna 27354ccec9 Use test.support and unittest features. Fix duplicated test (bad merge in r79033). Fix comment for issue #7902. 2010-08-16 18:41:19 +00:00
Victor Stinner ad5b1df67f Add versionadded tag to PySys_FormatStd*() functions doc 2010-08-16 18:39:49 +00:00
Victor Stinner 2460a43a65 Issue #9425: read_directory() is fully unicode compliant
zipimport is now able to load a module with an unencodable filename.
2010-08-16 17:54:28 +00:00
Victor Stinner 79766636b6 Issue #9599: Create PySys_FormatStdout() and PySys_FormatStderr()
Write a message formatted by PyUnicode_FromFormatV() to sys.stdout and
sys.stderr.
2010-08-16 17:36:42 +00:00
Antoine Pitrou 982c018b32 Remove debug hack 2010-08-16 14:33:42 +00:00
Giampaolo Rodolà 677d95c258 fix getaddrinfo test failure on OSX caused by AI_CANNAME erroneously used as the value for 'proto' 2010-08-16 05:08:11 +00:00
Richard Jones daf235032f close down sockets held by asyncore at end of test; closes issue9619 2010-08-16 01:48:14 +00:00
Antoine Pitrou b14ac8c2b0 Save and restore the global asyncore.socket_map, and warn if a test modified it 2010-08-16 00:28:05 +00:00
Antoine Pitrou ed9863685f Add debug output to the asyncore test 2010-08-15 23:28:10 +00:00
Antoine Pitrou f4c7badc02 Put test_ciphers in NetworkedTests 2010-08-15 23:02:22 +00:00
Antoine Pitrou 968dc03f24 Following Ezio's suggestion, force verbose mode on test_ssl to diagnose freezes on 3.x 2010-08-15 22:16:23 +00:00
Florent Xicluna e3c39ae53e Replace readfp() with read_file() in configparser documentation. 2010-08-15 20:21:26 +00:00
Florent Xicluna dc692740a8 Replace the deprecated ConfigParser.readfp() method, and fix the incomplete merge in r82293. 2010-08-15 20:16:27 +00:00
Victor Stinner a0241c8587 Fix TESTFN_UNENCODABLE of test.support on Mac OS X 2010-08-15 19:28:21 +00:00
Antoine Pitrou 4045575dd5 Fix more 64-bit warnings. 2010-08-15 18:51:10 +00:00
Antoine Pitrou 22e4155706 Fix other warnings under 64-bit Windows. 2010-08-15 18:07:50 +00:00
Antoine Pitrou 47019e500c Fix (harmless) warning with MSVC. 2010-08-15 17:41:31 +00:00
Antoine Pitrou 9b491923b8 Fix indentation and remove dead code. 2010-08-15 17:38:46 +00:00
Antoine Pitrou 0010d37a43 Fix some compilation warnings under 64-bit Windows (issue #9566).
Some of these are genuine bugs with objects bigger than 2GB, but
my system doesn't allow me to write tests for it.
2010-08-15 17:12:55 +00:00
Antoine Pitrou 1d0aaea54a Add pgen.stamp to svn:ignore and friends 2010-08-15 16:26:49 +00:00
Martin v. Löwis 907229af87 Don't run pgen twice when using make -j. 2010-08-15 15:47:25 +00:00
Victor Stinner d17f219759 Oops, fix a typo in NEWS: surrogateespace => surrogateescape 2010-08-15 09:56:07 +00:00
Mark Dickinson 8858d2cb84 Clarify whatsnew entry for short float repr: roundtripping is not a new feature in 2.7. 2010-08-15 09:43:29 +00:00
Victor Stinner e039ffe41d Issue #9605: posix.getlogin() decodes the username with file filesystem
encoding and surrogateescape error handler. Patch written by David Watson.

Reindent also posix_getlogin(), and fix a typo in the NEWS file.
2010-08-15 09:33:08 +00:00
Victor Stinner 61ec5dca2b Issue #9604: posix.initgroups() encodes the username using the fileystem
encoding and surrogateescape error handler. Patch written by David Watson.
2010-08-15 09:22:44 +00:00
Victor Stinner 5fe6de8c72 Issue #9603: posix.ttyname() and posix.ctermid() decode the terminal name
using the filesystem encoding and surrogateescape error handler. Patch
written by David Watson.
2010-08-15 09:12:51 +00:00
Raymond Hettinger 0b5669c0f5 Fix __all__. 2010-08-15 07:41:40 +00:00
Senthil Kumaran 64d010c990 Removing the comment lines for the modules which were made to build statically. 2010-08-15 03:59:07 +00:00
Raymond Hettinger bc653d1abe Remove unused imports 2010-08-15 03:35:24 +00:00
Raymond Hettinger f309828175 Remove the lfu_cache. Add more tests. 2010-08-15 03:30:45 +00:00
Raymond Hettinger 0f56e90f05 Support cache sizes. 2010-08-14 23:52:08 +00:00
Éric Araujo a893927491 Fix typo 2010-08-14 23:44:13 +00:00
Raymond Hettinger 5202fadb2c Localize one more builtin lookup. 2010-08-14 22:29:52 +00:00
Raymond Hettinger cbe8813f18 Add locks to make the caches well behaved in multi-threaded code.
Store builtins in cell variables to speed-up the common path,
reducing the chance of a lock needing to block at all.
2010-08-14 22:22:10 +00:00
Raymond Hettinger d9e8cc6249 Clean-up the cache patch for the re module. 2010-08-14 21:17:48 +00:00
Florent Xicluna 62829dc727 Silence BytesWarning while testing exception 2010-08-14 20:51:58 +00:00
Florent Xicluna 82a3f8afcb Silence the BytesWarning, due to patch r83294 for #9301 2010-08-14 18:30:35 +00:00
Florent Xicluna ac521078d7 Remove bad merge (from svnmerge r82301) 2010-08-14 18:03:19 +00:00
Victor Stinner 03c9e1dbc2 Mac OS X denies unencodable filenames (invalid utf-8) 2010-08-14 17:35:20 +00:00
Florent Xicluna fe17fd4a5d Convert to spaces. 2010-08-14 17:15:31 +00:00
Victor Stinner f52b705be4 Create _Py_fopen() for PyUnicodeObject path
Call _wfopen() on Windows, or fopen() otherwise. Return the new file object on
success, or NULL if the file cannot be open or (if PyErr_Occurred()) on unicode
error.
2010-08-14 17:06:04 +00:00
Florent Xicluna 17d1e2abd8 Fix order. 2010-08-14 17:02:49 +00:00
Victor Stinner 8a79dccc48 _Py_stat(): ensure that path ends with a nul character 2010-08-14 16:59:08 +00:00
Florent Xicluna 09245d8682 List Misc/python-config.in in Misc/README. Fix few typos. 2010-08-14 16:56:27 +00:00