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
Antoine Pitrou
6fdb74f0ae
Re-apply r83871.
2010-08-13 16:26:40 +00:00
Antoine Pitrou
e81c806be7
De-duplicate contents of pytime.h
2010-08-13 15:25:56 +00:00
Georg Brandl
4d2240915f
Fix copy-paste error.
2010-08-13 15:10:49 +00:00
Victor Stinner
4a2b7a1b14
Issue #9425 : Create PyErr_WarnFormat() function
...
Similar to PyErr_WarnEx() but use PyUnicode_FromFormatV() to format the warning
message.
Strip also some trailing spaces.
2010-08-13 14:03:48 +00:00
Victor Stinner
b4b8eb9163
Oops, I did it again: add missing \ removed in previous commit
2010-08-13 13:47:18 +00:00
Victor Stinner
11fd4e962d
Oops, create TESTFN_UNENCODEABLE from TEST_FN, not TESTFN_UNICODE
...
test_imp fails on Linux with C locale because TESTFN_UNICODE is not encodable
to ascii.
2010-08-13 13:45:00 +00:00
Victor Stinner
3603cc5fdb
Issue #9425 : PyFile_FromFd() ignores the name argument
...
This function is only by imp.find_module() which does return the filename in a
separated variable.
2010-08-13 13:34:52 +00:00
Victor Stinner
1a4d12d746
Issue #9425 : NullImporter constructor is fully unicode compliant
...
* On non-Windows OSes: the constructor accepts bytes filenames
and use surrogateescape for unicode filenames
* On Windows: use GetFileAttributesW() instead of GetFileAttributesA()
2010-08-13 13:07:29 +00:00
Victor Stinner
3d85a6fa04
Set TESTFN_UNENCODEABLE on non-Windows OSes
...
* Use 0xff byte on non-Windows OSes
* mbcs is now really strict by default: i closed the issue #850997 , so use the
filesystem encoding and not Latin-1
* Rename TESTFN_UNICODE_UNENCODEABLE to TESTFN_UNENCODEABLE
2010-08-13 13:02:04 +00:00
Eric Smith
994addc414
Remove unused test class.
2010-08-12 21:55:30 +00:00
Antoine Pitrou
3e2eab19b9
Typo.
2010-08-12 15:15:01 +00:00
Antoine Pitrou
7c8bcb6f92
Issue #7467 : when a file from a ZIP archive, its CRC is checked and a
...
BadZipfile error is raised if it doesn't match (as used to be the
case in Python 2.5 and earlier).
2010-08-12 15:11:50 +00:00
Benjamin Peterson
d4efbf90d2
use pep 383 decoding for mknod and mkfifo #9570
...
Patch by David Watson.
2010-08-11 19:20:42 +00:00
Alexander Belopolsky
f0f45142d5
Issue #2443 : Added a new macro, Py_VA_COPY, which is equivalent to C99
...
va_copy, but available on all python platforms. Untabified a few
unrelated files.
2010-08-11 17:31:17 +00:00
Tim Golden
3a879e8a27
#9055 : remove assertion at the end of test_8959_b since the test is about crashing, not about counting and is difficult to manage when run as a service
2010-08-11 15:59:57 +00:00
Tim Golden
126c2960ca
#2304 : fix incorporating Eric Smith's .format suggestion and tested on Ubuntu as well as Windows
2010-08-11 14:20:40 +00:00
Antoine Pitrou
32cfedeb1c
Issue #9550 : a BufferedReader could issue an additional read when the
...
original read request had been satisfied, which can block indefinitely
when the underlying raw IO channel is e.g. a socket. Report and original
patch by Jason V. Miller.
2010-08-11 13:31:33 +00:00
Martin v. Löwis
5ea3d93708
Add George Boutsioukis, from the GSoC project.
2010-08-11 05:48:57 +00:00
Brett Cannon
7d82c345ac
Note that Éric Araujo has been given commit privileges.
2010-08-11 00:18:19 +00:00
Alexander Belopolsky
8f60430fcc
Issue #8834 : Added a comment describing the order of entries in Misc/ACKS.
...
Added names from release27-maint branch that were missing from py3k.
2010-08-10 21:54:48 +00:00