Benjamin Peterson
73315e9200
revert change that was in wrong branch
2010-10-14 22:00:20 +00:00
Florent Xicluna
35049443dc
Add test case for issue #9409 , non-ascii char in doctest. It passes in 3.2 but needs fixing in 2.7.
2010-10-14 21:35:58 +00:00
Antoine Pitrou
b86680e299
Explicitly close some files (from issue #10093 )
2010-10-14 21:15:17 +00:00
Florent Xicluna
d9f57630fe
Fix the regex to match all kind of filenames, for interactive debugging in doctests. (issue #9409 )
2010-10-14 20:56:20 +00:00
Antoine Pitrou
d778e568ba
Increase timeouts in test_ftplib (for very slow buildbots)
2010-10-14 20:35:26 +00:00
Antoine Pitrou
8c8f1ac46c
Oops
2010-10-14 18:32:54 +00:00
Antoine Pitrou
b3a88b5c42
Really fix bug
2010-10-14 18:31:39 +00:00
Barry Warsaw
270800c801
Fix issue 10094, by narrowing down the test for PROXY environment variables.
...
Ubuntu 10.10 introduced $UBUNTU_MENUPROXY into the default user environment,
and that's what's tripping up the code.
2010-10-14 18:10:34 +00:00
Barry Warsaw
278266f6f2
Run autoconf to update configure.in -> configure.
2010-10-14 17:38:46 +00:00
Alexander Belopolsky
1bcbaab15a
Issue 9183: Intern UTC timezone.
2010-10-14 17:03:51 +00:00
Antoine Pitrou
5bc4fa7a49
Replace the "compiler" resource with the more generic "cpu", so
...
as to mark CPU-heavy tests.
2010-10-14 15:34:31 +00:00
Matthias Klose
3fbfea1fae
- Issue #10094 : Use versioned .so files on GNU/kfreeBSD and the GNU Hurd.
2010-10-14 15:24:22 +00:00
Antoine Pitrou
b1c5496738
Issue #7523 : Add SOCK_CLOEXEC and SOCK_NONBLOCK to the socket module,
...
where supported by the system. Patch by Nikita Vetoshkin.
2010-10-14 15:05:38 +00:00
Victor Stinner
f4061dac60
_Py_wgetcwd() decodes the path using _Py_char2wchar() to support surrogates
2010-10-14 12:37:19 +00:00
Victor Stinner
22a351aabf
Issue #10095 : fp_setreadl() doesn't reopen the file, reuse instead the file
...
descriptor.
2010-10-14 12:04:34 +00:00
Senthil Kumaran
383c32dd38
Issue10063 - file:// scheme will stop accessing remote hosts via ftp protocol
2010-10-14 11:57:35 +00:00
Antoine Pitrou
6d7be5f86c
Add make variable to allow testing of different interpreter flags in buildbot runs
2010-10-14 11:29:16 +00:00
Antoine Pitrou
1b03f2ca83
Inherit interpreter flags in parallel testing
2010-10-14 11:12:00 +00:00
Victor Stinner
9a6692f6d7
Py_Main() uses _Py_wchar2char() to encode the filename in error messages
2010-10-14 10:51:24 +00:00
Victor Stinner
89f3ad10d2
test_subprocess doesn't need to C locale to test os.environb
...
Improve also the comment to explain why C locale is needed to test os.environ.
2010-10-14 10:43:31 +00:00
Victor Stinner
ebc78d23ef
test_subprocess: use C locale to get ascii locale encoding
2010-10-14 10:38:17 +00:00
Georg Brandl
f5247e35c1
#9964 : fix running test_cmd_line_script under -O and -OO.
2010-10-14 08:08:56 +00:00
Georg Brandl
1463a3f833
#9964 : fix running test_compileall under -O and -OO.
2010-10-14 07:42:27 +00:00
Georg Brandl
1c2a7b7a69
Better check for "any optimize option given".
2010-10-14 07:34:56 +00:00
Georg Brandl
f99a15c377
#9964 : fix running test_xml_etree under -OO.
2010-10-14 07:32:52 +00:00
Georg Brandl
cbeb9fa617
#9964 : fix lib2to3 fixer fix_operator when running under -OO.
2010-10-14 07:29:08 +00:00
Georg Brandl
fb3c84a8d9
#9964 : fix running test_import under -O or -OO.
2010-10-14 07:24:28 +00:00
Georg Brandl
ebbf63b5b2
#9964 : Fix failure of test_dis under -OO.
2010-10-14 07:23:01 +00:00
Georg Brandl
f93390a61e
Remove unused imports.
2010-10-14 07:17:44 +00:00
Georg Brandl
9e7dbc8a70
#9964 : fix pdb failure to import under -OO. Warn the user that help is simply not available in this case.
2010-10-14 07:14:31 +00:00
Georg Brandl
66c221e993
#9418 : first step of moving private string methods to _string module.
2010-10-14 07:04:07 +00:00
Georg Brandl
268e4d4cf3
#1710703 : write zipfile structures also in the case of closing a new, but empty, archive.
2010-10-14 06:59:45 +00:00
Georg Brandl
77658bd9ad
Mention 2to3.
2010-10-14 06:48:47 +00:00
Georg Brandl
539c165299
#6825 : small correction to split() docs.
2010-10-14 06:46:08 +00:00
Georg Brandl
7c4cad51ba
#10046 : small correction to atexit docs.
2010-10-14 06:43:22 +00:00
Georg Brandl
4eb6597b62
#3865 : add note about benchmarking with profilers, and move licensing stuff to bottom of document.
2010-10-14 06:41:42 +00:00
Georg Brandl
8f7b427b5b
#7642 : update to os.system() docs.
2010-10-14 06:35:53 +00:00
Antoine Pitrou
a62cbf7cce
Fix (hopefully) occasional failures in test_threaded_import.
...
`done` could be released multiple times because of concurrent
execution. We convert it to an Event, where calling set()
multiple times is not a problem.
2010-10-13 23:48:39 +00:00
Victor Stinner
d24fc5d7c4
test_sys: Remove workaround #8611
...
It looks like it is no more needed: Python 3.2 is slowly able to support
non-ascii paths with an ascii locale.
2010-10-13 23:41:57 +00:00
Victor Stinner
052a04d34a
Revert r85435 (and r85440): decode command line arguments from utf-8
...
Python exits with a fatal error if the command line contains an undecodable
argument. PyUnicode_FromString() fails at the first undecodable byte because it
calls the error handler, but error handlers are not ready before Python
initialization.
2010-10-13 23:24:06 +00:00
Alexander Belopolsky
59a289d16b
Issue 9005: Removed dead code.
2010-10-13 22:54:34 +00:00
Victor Stinner
a21350976e
main(): catch PyUnicode_FromString() failure (exit)
2010-10-13 22:36:16 +00:00
Benjamin Peterson
ee85a1d3bb
put PYTHONIOENCODING in man page
2010-10-13 22:20:15 +00:00
Victor Stinner
90bbaa57f9
Issue #9992 : On Mac OS X, decode command line arguments from utf-8 instead of
...
the locale encoding.
2010-10-13 22:15:06 +00:00
Benjamin Peterson
eb1410fc40
constify to appease compiler warnings
2010-10-13 22:06:39 +00:00
Victor Stinner
8f6b6b0cc3
Issue #9992 : Remove PYTHONFSENCODING environment variable.
2010-10-13 22:02:27 +00:00
Benjamin Peterson
aa96592a59
remove obselete import implementation #7287
2010-10-13 21:59:36 +00:00
Antoine Pitrou
6003ff7633
Protect test_smtpnet against connection failures
2010-10-13 17:14:16 +00:00
Antoine Pitrou
d4958c2832
Followup to #9437 : since LDFLAGS is now appended to LDSHARED in the Makefile,
...
don't do in configure as well.
Hopefully this will solve a Makefile parsing issue on the FreeBSD buildbots.
2010-10-13 17:01:10 +00:00
Antoine Pitrou
834bd81c51
Issue #10041 : The signature of optional arguments in socket.makefile()
...
didn't match that of io.open(), and they also didn't get forwarded
properly to TextIOWrapper in text mode. Patch by Kai Zhu.
2010-10-13 16:17:14 +00:00