Petri Lehtinen
5b5619f717
#5346 : Preserve permissions of mbox, MMDF and Babyl mailbox files on flush()
2012-06-29 15:10:41 +03: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
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
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
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
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
Nick Coghlan
14d99a1491
Ignore X-Antivirus headers in test_nntplib
2012-06-17 21:27:18 +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
Petri Lehtinen
02653f1b11
#15036 : Make a repeated changes and flushes work with single-file mailboxes
2012-06-15 20:59:31 +03:00
Richard Oudkerk
197651b4e3
Issue #10133 : Make multiprocessing deallocate buffer if socket read fails.
...
Patch by Hallvard B Furuseth.
2012-06-11 15:12:12 +01:00
Terry Jan Reedy
2a2ce4f673
Issue #12510 : Revise and triple # of calltip tests, with an eye to unittest
...
use. Make the get_entity 'method' a module function as it did not use 'self'.
Delete buggy _find_constructor function that is not needed, at least in 3.x.
Revise get_argspec so all tests pass. Add and fix NEWS entries.
2012-06-07 19:41:04 -04:00
Richard Oudkerk
29471de459
Issue #13854 : Properly handle non-integer, non-string arg to SystemExit
...
Previously multiprocessing only expected int or str. It also wrongly
used an exit code of 1 when the argument was a string instead of zero.
2012-06-06 19:04:57 +01:00
Richard Oudkerk
e41682b994
Issue #12157 : pool.map() does not handle empty iterable correctly
...
Initial patch by mouad
2012-06-06 19:04:57 +01:00
Gregory P. Smith
58f07a9d6d
Fixes issue #15000 : support the odd x32 abi on posixsubprocess's system call.
2012-06-05 13:26:39 -07:00
Gregory P. Smith
61ed804cd7
Move the 14992 note to the correct section.
2012-06-03 14:36:01 -07:00
Gregory P. Smith
a81c856436
Fixes Issue #14992 : os.makedirs(path, exist_ok=True) would raise an OSError
...
when the path existed and had the S_ISGID mode bit set when it was not
explicitly asked for. This is no longer an exception as mkdir cannot control
if the OS sets that bit for it or not.
2012-06-03 14:30:44 -07:00
Ned Deily
8b2a56b89d
Issue #14962 : Update text coloring in IDLE shell window after changing
...
options. Patch by Roger Serwy.
2012-05-31 09:17:29 -07:00
Brian Curtin
cf4a1b7ecf
Add news item for #14943
2012-05-29 18:41:30 -05:00
Ned Deily
3aee9416a0
Issue #10997 : Prevent a duplicate entry in IDLE's "Recent Files" menu.
2012-05-29 10:43:36 -07:00
Antoine Pitrou
e1ad3dac3d
Issue #14775 : Fix a potential quadratic dict build-up due to the garbage collector repeatedly trying to untrack dicts.
...
Additional comments by Tim Silk.
2012-05-28 22:22:34 +02:00
Meador Inge
031e25b0f7
Issue #9041 : raised exception is misleading
...
An issue in ctypes.c_longdouble, ctypes.c_double, and ctypes.c_float that
caused an incorrect exception to be returned in the case of overflow has been
fixed.
2012-05-28 14:21:16 -05:00
Nick Coghlan
4b6045c30f
Issue #14443 : Tell rpmbuild to use the correct version of Python
2012-05-28 22:34:46 +10:00
Terry Jan Reedy
e1c5087802
Issue14929: Stop Idle 3.x from closing on Unicode decode errors when grepping.
...
Patch by Roger Serwy.
2012-05-27 22:56:49 -04:00
Terry Jan Reedy
c5301ef2df
Issue12510: Attempting to get invalid tooltip no longer closes Idle.
...
Original patch by Roger Serwy.
2012-05-27 21:29:17 -04:00
Terry Jan Reedy
cd6b8c67ce
Issue #10365 : File open dialog now works instead of crashing
...
even when parent window is closed. Patch by Roger Serwy.
2012-05-26 20:23:45 -04:00
Terry Jan Reedy
809309a482
Issue #14876 : Use user-selected font for highlight configuration.
...
Patch by Roger Serwy.
2012-05-26 16:31:00 -04:00
Senthil Kumaran
ffa4b2c037
Issue #14920 : Fix the help(urllib.parse) failure on locale C terminals. Just have ascii in help msg
2012-05-26 09:53:32 +08:00
Petri Lehtinen
1a01ebc41c
#14863 : Update the documentation of os.fdopen()
...
There's no bufsize argument anymore, and os.fdopen() is only a very
thin wrapper around open() anymore. Change the documentation to
reflect that.
2012-05-24 21:46:36 +03:00
Senthil Kumaran
2fc5a50809
Issue #14036 : return None when port in urlparse cross 65535
2012-05-24 21:56:17 +08:00
Florent Xicluna
346c5de08e
Remove duplicate entries in Misc/NEWS.
2012-05-23 17:42:50 +02:00
Petri Lehtinen
1f50389370
#14472 : Update .gitignore
...
Patch by Matej Cepl.
2012-05-22 21:03:05 +03:00
Ezio Melotti
898d51da4d
#14875 : Use float('inf') instead of float('1e66666') in the json module.
2012-05-21 17:49:06 -06:00
Senthil Kumaran
6e8ba0aba6
news for Issue14426
2012-05-20 12:06:24 +08:00
Petri Lehtinen
079bfc962d
#14494 : Document that absolute imports became default in 3.0 instead of 2.7.
2012-05-19 18:36:33 +03:00
Ezio Melotti
6709b7d5d1
#14072 : Fix parsing of tel URIs in urlparse by making the check for ports stricter.
2012-05-19 17:15:19 +03:00
Senthil Kumaran
5fa4a89601
Fix Issue14721: Send Content-length: 0 for empty body () in the http.client requests
2012-05-19 16:58:09 +08:00
Senthil Kumaran
1be320ebdd
Issue9374 - Generic parsing of query and fragment portion of urls for any scheme
2012-05-19 08:12:00 +08:00
Petri Lehtinen
8d88604682
#14798 : pyclbr now raises ImportError instead of KeyError for missing packages
2012-05-18 21:56:36 +03:00
Martin v. Löwis
3407dfbaf9
Upgrade OpenSSL to 1.0.0j
2012-05-18 15:28:01 +02:00
Antoine Pitrou
a103b96a80
Issue #14829 : Fix bisect and range() indexing with large indices (>= 2 ** 32) under 64-bit Windows.
2012-05-16 14:37:54 +02:00
Ned Deily
4d377d98a1
Issue #14777 : In an X11 windowing environment, tkinter may return
...
undecoded UTF-8 bytes as a string when accessing the Tk clipboard.
Modify clipboad_get() to first request type UTF8_STRING when no
specific type is requested in an X11 windowing environment, falling
back to the current default type STRING if that fails.
Original patch by Thomas Kluyver.
2012-05-15 18:08:11 -07:00
Senthil Kumaran
34f3fcc269
Issue #12541 : Be lenient with quotes around Realm field of HTTP Basic Authentation in urllib2.
...
G: changed Misc/NEWS
2012-05-15 22:30:25 +08:00
Ned Deily
5fddf866d8
Issue #14662 : Prevent shutil failures on OS X when destination does not
...
support chflag operations. (Patch by Hynek Schlawack)
2012-05-10 17:21:23 -07:00
Antoine Pitrou
1682e5d740
Issue #14157 : Fix time.strptime failing without a year on February 29th.
...
Patch by Hynek Schlawack.
2012-05-10 20:17:46 +02:00
Jesus Cea
7f0d88860f
Closes #14768 : os.path.expanduser('~/a') doesn't works correctly when HOME is '/'
2012-05-10 05:10:50 +02:00