Benjamin Peterson
0013783d2f
remove unused import
2012-02-03 19:07:30 -05:00
Ned Deily
22d2711cb6
Issue #13861 : Prevent test_apropos* test case failures in test_pydoc.
2012-02-03 23:13:03 +01:00
Ned Deily
fbc56fde26
Issue #13901 : Prevent test_distutils failures on OS X with --enable-shared.
2012-02-03 02:39:49 +01:00
Charles-François Natali
6dce7d633f
Merge.
2012-02-02 20:36:47 +01:00
Petri Lehtinen
fe6f9d0edc
Document absoluteness of sys.executable
...
Closes #13402 .
2012-02-02 21:26:05 +02:00
Charles-François Natali
e0e88b0483
Issue #13817 : After fork(), reinit the ad-hoc TLS implementation earlier to fix
...
a random deadlock when fork() is called in a multithreaded process in debug
mode, and make PyOS_AfterFork() more robust.
2012-02-02 19:57:19 +01:00
Stefan Krah
da6db4f8b0
Issue #1813 : backport changeset that reverts a glibc workaround for the
...
Fedora buildbot.
2012-02-02 16:57:49 +01:00
Brian Curtin
3c8807bd5e
merge.
2012-02-01 15:22:50 -06:00
Brian Curtin
b4bef305fd
merge from fb225c289bf0
2012-02-01 15:17:39 -06:00
Petri Lehtinen
0518f470b1
sqlite3: Handle strings with embedded zeros correctly
...
Closes #13676 .
2012-02-01 22:20:13 +02:00
Terry Jan Reedy
1d4ae48f48
whitespace3
2012-01-31 02:55:32 -05:00
Terry Jan Reedy
b98000ab5b
#13506 Add '' to path for interactive interpreter by adding with_cwd parameter
...
to PyShell.PyShell.transfer_path() and changing elsewhere as needed.
Original patches by Marco Scataglini and Roger Serwy.
2012-01-31 02:09:25 -05:00
Benjamin Peterson
caa0f61463
remove tests from really old regex module
2012-01-28 20:33:21 -05:00
Antoine Pitrou
88c51e8cb1
Issue #13806 : The size check in audioop decompression functions was too strict and could reject valid compressed data.
...
Patch by Oleg Plakhotnyuk.
2012-01-28 22:01:59 +01:00
Antoine Pitrou
7a556846d4
Fix intermittent test_ssl failure.
2012-01-27 17:33:01 +01:00
Antoine Pitrou
6f25d75f25
Remove debug output, fix assert (hopefully) and exercise signedness issues a bit more.
2012-01-25 15:38:32 +01:00
Antoine Pitrou
6e16f53855
Skip test failure under OpenIndiana
2012-01-25 02:49:47 +01:00
Antoine Pitrou
e3668e9842
Make test work under 32-bit systems, and when invoked through Lib/test/regrtest.py
...
(rather than `-m test.regrtest`)
2012-01-25 01:35:26 +01:00
Antoine Pitrou
d1c818a9c0
Issue #11235 : Fix OverflowError when trying to import a source file whose modification time doesn't fit in a 32-bit timestamp.
2012-01-24 17:44:06 +01:00
Łukasz Langa
30b13eebfe
Fixes #4686 . Reverts redundant picklability code from r74544.
2012-01-23 17:30:53 +01:00
Senthil Kumaran
58c6062068
Fix Issue6631 - Disallow relative files paths in urllib*.open()
2012-01-21 11:43:02 +08:00
Łukasz Langa
631c258000
Fixes #13760 : picklability of ConfigParser exceptions
2012-01-20 17:02:08 +01:00
Vinay Sajip
6d102f18cb
Closes #13807 : Now checks for sys.stderr being there before writing to it.
2012-01-20 11:20:12 +00:00
Nadeem Vawda
d7664dee0c
Issue #13781 : Fix GzipFile to work with os.fdopen()'d file objects.
2012-01-19 00:40:46 +02:00
Antoine Pitrou
e09bc1e8f5
Revert part of 13f56cd8dec1 (issue #1785 ) to avoid breaking getmembers() with unbound methods.
...
Python 3 isn't affected (unbound methods don't exist).
Thanks to Vincent Pelletier for noticing.
2012-01-18 17:39:01 +01:00
Jesus Cea
a8f75da8f2
Yet another emergency fix for #13803 bootstrap issue: Under Solaris, distutils doesn't include bitness in the directory name
2012-01-18 04:43:50 +01:00
Jesus Cea
f830aa5455
Emergency fix for #13803 bootstrap issue: Under Solaris, distutils doesn't include bitness in the directory name
2012-01-18 04:25:28 +01:00
Jesus Cea
4a8ba19783
Closes #13803 : Under Solaris, distutils doesn't include bitness in the directory name
2012-01-18 03:51:38 +01:00
Antoine Pitrou
3b6a31412f
Issue #13589 : Fix some serialization primitives in the aifc module.
...
Patch by Oleg Plakhotnyuk.
2012-01-17 17:13:04 +01:00
Benjamin Peterson
465b58e5ee
explain why we need this grammar file ( closes #13766 )
2012-01-15 21:28:00 -05:00
Terry Jan Reedy
8ef4a70a48
#13039 allow proper deletion of '>>> ' in IDLE editor windows.
...
Patch by Roger Serwy.
2012-01-15 19:02:50 -05:00
Amaury Forgeot d'Arc
dee76e627d
Issue #13774 : json: Fix a SystemError when a bogus encoding is passed to
...
json.loads().
2012-01-13 22:53:25 +01:00
Antoine Pitrou
9e0839006e
Remove unused certificate from the test directory.
2012-01-10 23:45:54 +01:00
Senthil Kumaran
bcd833f30f
- Issue #13642 : Unquote before b64encoding user:password during Basic
...
Authentication. Patch contributed by Joonas Kuorilehto and Michele Orrù.
2012-01-11 00:09:24 +08:00
Terry Jan Reedy
cfe6deb6f7
#11906 Make test_argparse work interactively by removing extra space
...
in comparison string that argparse does not add when program name is blank.
2012-01-09 18:20:09 -05:00
Benjamin Peterson
5fc58c6321
fix this to not depend on dictionary order
2012-01-03 16:23:11 -06:00
Antoine Pitrou
d76088d972
Issue #13636 : Weak ciphers are now disabled by default in the ssl module
...
(except when SSLv2 is explicitly asked for).
2012-01-03 22:46:48 +01:00
Charles-François Natali
3aa59e327c
Issue #9975 : socket: Fix incorrect use of flowinfo and scope_id. Patch by
...
Vilmos Nebehaj.
2012-01-02 15:38:27 +01:00
Jason R. Coombs
79e50c659a
Limit test scope to those platforms that can save the target filenames. Reference #11638 .
2011-12-28 11:42:22 -05:00
Benjamin Peterson
c32d5cb9ec
propgate error in other conditions
2011-12-27 15:16:34 -06:00
Jason R. Coombs
042370e750
Issue #11638 : Adding test to ensure .tar.gz files can be generated by sdist command with unicode metadata, based on David Barnett's patch.
...
Issue #11638 : Added tests to capture failures in make_tarball with various unicode strings.
Following fix for Issue #13639 , these tests now pass.
2011-12-26 10:15:15 -05:00
Charles-François Natali
b40827d379
Issue #13565 : Increase multiprocessing's server socket backlog, to avoid
...
dropped connections in case of simultaneous connection requests.
2011-12-23 19:05:45 +01:00
Senthil Kumaran
139c457106
port to 2.7 - Minor code style improvements in http.server suggested in Issue13294.
2011-12-23 17:07:13 +08:00
Lars Gustäbel
7d4d074c99
Issue #13639 : Accept unicode filenames in tarfile.open(mode="w|gz").
...
Passing a unicode filename to tarfile.open() along with mode "w|gz" failed
with a UnicodeError because the filename was not encoded properly before being
written to the gzipped stream in the FNAME extra field.
2011-12-21 19:27:50 +01:00
Antoine Pitrou
5b95eb90a7
Use context managers in test_ssl to simplify test writing.
2011-12-21 16:52:40 +01:00
Antoine Pitrou
17c07134a9
Fix test_import failure when run multiple times.
...
(2.7-only)
2011-12-21 16:01:53 +01:00
Antoine Pitrou
b8572a1673
Issue #1785 : Fix inspect and pydoc with misbehaving descriptors.
...
Also fixes issue #13581 : `help(type)` wouldn't display anything.
2011-12-21 10:16:14 +01:00
Charles-François Natali
8366b8417b
Followup to issue #11867 : Use socketpair(), since FreeBSD < 8 doesn't really
...
support multiprocessing.Event.
2011-12-20 11:47:23 +01:00
Charles-François Natali
3b8180739d
Issue #13453 : Try to increase some socket timeouts to make some buildbots stop
...
failing.
2011-12-19 16:11:04 +01:00
Victor Stinner
99cff3f182
Issue #13628 : python-gdb.py is now able to retrieve more frames in the Python
...
traceback if Python is optimized.
* delay the lookup of the size_t type, it is not available at startup
* The second argument of the PyFrameObjectPtr constructor is optional, as
done in other constructors
* iter_builtins() and iter_globals() methods of PyFrameObjectPtr returns
an empty tuple instead of None if Python is optimized
* Fix py-bt to handle correctly "optimized" frames
* Frame.get_pyop() tries to get the frame pointer from PyEval_EvalCodeEx()
if the pointer is optimized out in PyEval_EvalFrameEx()
2011-12-19 13:59:58 +01:00