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
Giampaolo Rodolà
419f704d76
fix issue #8857 : provide a test case for socket.getaddrinfo
2010-08-14 16:45:41 +00:00
Antoine Pitrou
ab6190f9aa
There doesn't seem to be a reason for this test to be disabled.
2010-08-14 16:33:38 +00:00
Antoine Pitrou
d151e27446
This is a better resolution than r84021 (because it will also affect
...
ssl.get_server_certificate()).
2010-08-14 16:32:10 +00:00
Antoine Pitrou
35bebe12e0
Add a reasonable timeout to network SSL tests, so as to avoid buildbot timeouts
...
when the remote server doesn't answer.
2010-08-14 16:24:38 +00:00
Georg Brandl
cc5943d36b
Fix format.
2010-08-14 15:57:20 +00:00
Florent Xicluna
aa17106e41
Merged manually from 2.7 branch to 3.x trunk.
...
------------------------------------------------------------------------
r79925 | nick.coghlan | 2010-04-10 16:24:36 +0200 (sam. 10 avril 2010)
Try to turn some buildbots green by allowing test_multiprocessing to
pass even if it hits the sys.exc_clear code in the threading module, and
improve the test coverage by making the ctypes dependencies a bit more
granular (two of the cited ctypes objects don't exist on my system)
------------------------------------------------------------------------
2010-08-14 15:56:42 +00:00
Georg Brandl
54ebb78171
Typo fix.
2010-08-14 15:48:49 +00:00
Georg Brandl
9427dcfc31
Typo fix.
2010-08-14 15:46:59 +00:00
Georg Brandl
8e27fcea07
Wording fix.
2010-08-14 15:46:15 +00:00
Georg Brandl
1c29ddd0d0
Add some maintainers.
2010-08-14 15:44:34 +00:00
Victor Stinner
2b8dab7050
Issue #9425 : zipimporter_init() is fully unicode compliant
2010-08-14 14:54:10 +00:00
Victor Stinner
4f4402c4bb
Issue #9425 : Create private _Py_stat() function
...
Use stat() or _wstat() depending on the OS.
2010-08-14 14:50:26 +00:00
Georg Brandl
4c9aa45175
There are no *.doc files anymore. Also update "funny" target.
2010-08-14 13:43:37 +00:00
Antoine Pitrou
99773acf38
Fix indentation in Modules/getpath.c
2010-08-14 12:34:41 +00:00
Antoine Pitrou
eba57b6f3a
Add comments about Windows in Modules/getpath.c
2010-08-14 12:33:18 +00:00
Antoine Pitrou
7e817d0e90
Add myself to threads topic (suggested by Ezio)
2010-08-14 12:06:40 +00:00
Ezio Melotti
842c19cac0
Add myself for the bug tracker (and for re).
2010-08-14 09:02:36 +00:00
Ezio Melotti
d623de0237
Revert r82831 as discussed at EP now that the wording of maintainers.rst has been clarified.
2010-08-14 08:54:33 +00:00
Éric Araujo
d7fc374a7a
Oops, fix typo
2010-08-14 05:00:18 +00:00
Éric Araujo
bf054adea4
Let's commit
2010-08-14 04:56:48 +00:00
Éric Araujo
71428876ea
Fix reference (follow-up to #9061 )
2010-08-14 04:55:45 +00:00
Éric Araujo
a85e2175bb
Manually merge r83995: Fix version{added,changed} and spacing in NEWS
2010-08-14 03:59:54 +00:00
Éric Araujo
da668ff24f
Use a marker in generated MANIFEST files, don't touch files without it. Fixes #8688 .
2010-08-14 02:30:34 +00:00
Victor Stinner
e406ef41b1
Kill a gcc warning introduced by r83988
2010-08-14 00:07:14 +00:00
Victor Stinner
47fcb5b4c3
Issue #9542 : Create PyUnicode_FSDecoder() function
...
It's a ParseTuple converter: decode bytes objects to unicode using
PyUnicode_DecodeFSDefaultAndSize(); str objects are output as-is.
* Don't specify surrogateescape error handler in the comments nor the
documentation, but PyUnicode_DecodeFSDefaultAndSize() and
PyUnicode_EncodeFSDefault() because these functions use strict error handler
for the mbcs encoding (on Windows).
* Remove PyUnicode_FSConverter() comment in unicodeobject.c to avoid
inconsistency with unicodeobject.h.
2010-08-13 23:59:58 +00:00
Victor Stinner
f2e08b34f1
Create _Py_wchar2char() function, reverse of _Py_char2wchar()
...
* Use _Py_wchar2char() in _wstat() and _Py_wfopen()
* Document _Py_char2wchar()
2010-08-13 23:29:08 +00:00
Antoine Pitrou
e9b428f997
Reimplement addbuilddir() in C inside getpath.c, so as to execute it
...
at interpreter startup before importing any non-builtin modules.
Should fix #9589 .
2010-08-13 22:25:01 +00:00
Victor Stinner
09c449c7de
Fix a typo: TESTFN_UNENCODEABLE => TESTFN_UNENCODABLE
2010-08-13 22:23:24 +00:00
Antoine Pitrou
042b128f58
Issue #9203 : Computed gotos are now enabled by default on supported
...
compilers (which are detected by the configure script). They can still
be disable selectively by specifying --without-computed-gotos.
2010-08-13 21:15:58 +00:00
Brian Curtin
d835cf1c84
Fix #9588 . Add sys.executable to two shell=True tests.
2010-08-13 20:42:57 +00:00
R. David Murray
5e7918c712
Per request, make 'nosy' vs 'assign' explicit in maintainers.rst.
...
Also add myself as assignable for email issues.
2010-08-13 18:16:35 +00:00
Victor Stinner
ddfb2c3a33
Issue #9560 : Use -b option of the file command in _syscmd_file()
...
Omit the filename to avoid enconding issues, especially with non encodable
characters in the Python full path.
2010-08-13 16:30:15 +00:00
Antoine Pitrou
3060c4573f
Reapply r83877.
2010-08-13 16:27:38 +00:00