Jesus Cea
035997f1a3
Issue #1677 : Unused variable warning in Non-Windows
2012-07-03 13:15:03 +02:00
Georg Brandl
29feb1ffca
Make call of os.getppid() conditional: it is not available on Windows.
2012-07-01 09:47:54 +02:00
Georg Brandl
3aa0c9dcf3
Fix inconsistent function name in embedding howto.
2012-07-01 09:43:20 +02:00
Stefan Krah
4cf1cc71a6
Issue #15171 : Quote the variable that expands to the current directory.
2012-06-30 18:35:15 +02:00
Antoine Pitrou
c399185fcc
Issue #9239 : add tests for modifying zipfile comments in append mode.
2012-06-30 17:31:37 +02:00
Tim Golden
4854533f6d
Merged
2012-06-29 22:11:38 +01:00
Senthil Kumaran
eda29f4718
urllib.parse cleanup. rename keywords used as variables
2012-06-29 11:08:20 -07:00
Antoine Pitrou
b8b6a68baa
Better diagnose test failure
2012-06-29 19:40:35 +02:00
Tim Golden
b92b757eed
Issue #1677 : Handle better a race condition between the interactive interpreter and
...
the Ctrl-C signal handler on Windows
2012-06-29 18:27:08 +01:00
Petri Lehtinen
5b5619f717
#5346 : Preserve permissions of mbox, MMDF and Babyl mailbox files on flush()
2012-06-29 15:10:41 +03:00
Petri Lehtinen
b6ee3d6b7a
#9559 : Don't call _pre_mailbox_hook more than once
2012-06-29 13:50:21 +03:00
Senthil Kumaran
4a27d9fb46
urlparse docs clean up - no reference to earlier draft
2012-06-28 21:07:58 -07:00
Antoine Pitrou
2d24e94bbe
Issue #5067 : improve some json error messages.
...
Patch by Serhiy Storchaka.
2012-06-29 01:58:26 +02:00
Antoine Pitrou
24319ac407
Issue #10571 : Fix the "--sign" option of distutils' upload command.
...
Patch by Jakub Wilk.
2012-06-29 01:05:26 +02:00
Petri Lehtinen
f29435f9f0
#9559 : Append data to single-file mailbox files if messages are only added
...
If messages were only added, a new file is no longer created and
renamed over the old file when flush() is called on an mbox, MMDF or
Babyl mailbox.
2012-06-28 13:53:23 +03:00
Antoine Pitrou
8237258e09
Flush stdout and stderr when running tests in parallel
...
(helps getting results in real-time when stdio is transmitted over a pipe or socket)
2012-06-27 17:41:07 +02:00
Antoine Pitrou
d0bb9c6386
Allow passing extra testing options to the buildbot test scripts
2012-06-27 17:27:21 +02:00
Antoine Pitrou
79035bd71f
Issue #15079 : make a test applicable to both C and Python versions of the pickle module.
...
Patch by Stefan Mihaila.
2012-06-26 23:04:48 +02:00
David Malcolm
b83719287d
Issue #14443 : ensure that brp-python-bytecompile is invoked with the correct
...
python executable
The __os_install_macro defines some post-processing activities during an rpm
build; one of the scripts it calls is brp-python-bytecompile, which can take
an argument: the python executable with which to byte-compile .py files in the
package payload.
In some older versions of rpm (e.g. in RHEL 6), this invocation doesn't pass
in an argument, and brp-python-bytecompile defaults to using /usr/bin/python,
which can lead to the .py files being byte-compiled for the wrong version of
python. This has been fixed in later versions of rpm by passing in
%{__python} as an argument to brp-python-bytecompile.
Workaround this by detecting if __os_install_post has a 0-argument invocation
of brp-python-bytecompile, and if so generating an equivalent macro that has
the argument, and explicitly provide the new definition within the specfile.
2012-06-26 14:06:23 -04:00
Senthil Kumaran
72a80e85a8
issue13666 - Fixing datetime documentation example when using tzinfo
2012-06-26 20:00:15 +08:00
Senthil Kumaran
f21804ad61
Issue #13685 - Update argparse help message for % sign usage.
2012-06-26 14:17:19 +08:00
Vinay Sajip
3e6d71d336
Issue #15179 : Closed socket on connection failure. Thanks to Kazutaka Morita for the patch.
2012-06-25 23:18:45 +01:00
Antoine Pitrou
1dd75a64aa
Backport test_nntplib fixes from default.
2012-06-25 18:08:54 +02:00
Stefan Krah
62ba0428af
Issue #15171 : Try the HOST_PYTHON hack for 3.2.
2012-06-25 14:57:18 +02:00
Gregory P. Smith
b5ba203709
Backout change e8f44ebacda7052267318cecf5b6f128d35add17. Reverting the test
...
to using signal.alarm(1) instead of signal.setitimer(signal.ITIMER_REAL, 0.1).
This is an attempt to see if this change is what caused the ubuntu arm buildbot
to hang in test_io's test_interrupted_write_retry_text.
Discussion in Issue #12268 .
2012-06-25 01:13:32 -07:00
Georg Brandl
33369cf9a5
Fix a bunch of "versionchanged" related markup errors.
2012-06-24 22:48:03 +02:00
Georg Brandl
26af3b223f
Refer test_xmlrpc_net to the new buildbot URL at buildbot.python.org.
2012-06-24 20:06:54 +02:00
Georg Brandl
496660c56b
Partial backport of 612f34e31270: fix spacing error in exception message.
2012-06-24 20:01:05 +02:00
Gregory P. Smith
5135992164
Fixes issue #12268 : File readline, readlines and read() or readall() methods
...
no longer lose data when an underlying read system call is interrupted.
IOError is no longer raised due to a read system call returning EINTR
from within these methods.
2012-06-23 23:55:39 -07:00
Gregory P. Smith
8150492f11
Speed up test_io by >2x by reducing the sleep time using setitimer instead of
...
alarm for the signal tests.
2012-06-23 23:46:37 -07:00
Martin v. Löwis
7349eb27d7
The build target of this makefile is python3.dll, not python32.dll.
2012-06-23 19:36:08 +02:00
Antoine Pitrou
99cc629969
Issue #15142 : Fix reference leak when deallocating instances of types created using PyType_FromSpec().
2012-06-23 14:42:38 +02:00
Mark Dickinson
b8dc3ab08b
Issue #12965 : More PyLong_As* clarifications. Thanks Stefan Krah.
2012-06-23 12:12:52 +01:00
Mark Dickinson
f0acfeeccf
Issue #12965 : Clean up C-API docs for PyLong_AsLongLong(AndOverflow); clarify that __int__ will be called for non-PyLongs
2012-06-23 11:14:22 +01:00
Mark Dickinson
0a22924d52
Issue #12965 : Clean up C-API docs for PyLong_AsLong(AndOverflow); clarify that __int__ will be called for non-PyLongs
2012-06-23 10:49:12 +01:00
Charles-François Natali
9b0c006eb0
Remove useless test (flowinfo is unsigned).
2012-06-23 10:17:05 +02:00
Alexander Belopolsky
a07548e97b
Issue #14653 : email.utils.mktime_tz() no longer relies on system
...
mktime() when timezone offest is supplied.
2012-06-21 20:34:09 -04:00
Hynek Schlawack
9ed8b4e4ca
#10053 : Don't close FDs when FileIO.__init__ fails
...
Loosely based on the work by Hirokazu Yamamoto.
2012-06-21 20:20:25 +02:00
Nadeem Vawda
103e8113e4
Fix GzipFile's handling of filenames given as bytes objects.
2012-06-20 01:35:22 +02:00
Richard Oudkerk
f29ec4b0c8
Issue #15101 : Make pool finalizer avoid joining current thread.
2012-06-18 15:54:57 +01:00
Petri Lehtinen
da7a6e7da0
Fix NEWS entry for #15036
2012-06-18 10:43:53 +03:00
R David Murray
3ac8c780f4
Update out of date docstring.
2012-06-17 15:26:35 -04:00
Ezio Melotti
f90ea1f0a0
#14840 : Add a bit on the difference between tuples and lists. Initial patch by Zachary Ware.
2012-06-17 14:10:59 +02:00
Nick Coghlan
14d99a1491
Ignore X-Antivirus headers in test_nntplib
2012-06-17 21:27:18 +10:00
Nick Coghlan
e6ef462243
Issue #15095 : Use better assertions in test_imaplib
2012-06-17 21:10:21 +10:00
Nick Coghlan
be4e4b5691
Issue #15043 : skip test_gdb if the custom hooks can't be loaded
2012-06-17 18:57:20 +10:00
Nick Coghlan
50f147a9be
Issue #15044 : Handle Fedora 17's approach to ndbm compatibility
2012-06-17 18:27:11 +10:00
Petri Lehtinen
02653f1b11
#15036 : Make a repeated changes and flushes work with single-file mailboxes
2012-06-15 20:59:31 +03:00
Antoine Pitrou
13775221e0
Issue #14933 : fix misleading doc about weakref support in extension types.
2012-06-15 19:11:31 +02:00
Martin v. Löwis
993fe3f035
Issue #14937 : Fix typo. Patch by Roger Serwy.
2012-06-14 15:37:21 +02:00