Ronald Oussoren
16c52a3376
Issue #17269 : Workaround for a platform bug in getaddrinfo on OSX
...
Without this patch socket.getaddrinfo crashed when called
with some unusual argument combinations.
2013-05-24 13:45:27 +02:00
Ned Deily
674f4fa2ad
Issue #17532 : Always include Options menu for IDLE on OS X.
...
Patch by Guilherme Simões.
2013-05-22 15:16:17 -07:00
Benjamin Peterson
1cf48b4adc
implement missing inequality on WeakSet
2013-05-22 13:25:41 -07:00
Serhiy Storchaka
54f70923a3
Issue #17844 : Refactor a documentation of Python specific encodings.
...
Add links to encoders and decoders for binary-to-binary codecs.
2013-05-22 15:28:30 +03:00
Serhiy Storchaka
cb1a0283c3
Issue #17979 : Fixed the re module in build with --disable-unicode.
2013-05-21 22:53:33 +03:00
Roger Serwy
02c0ed0612
#14146 : Highlight source line while debugging on Windows.
2013-05-20 22:13:39 -05:00
Benjamin Peterson
b91ef008ba
add missing NULL check ( closes #18019 )
2013-05-19 19:38:12 -07:00
Antoine Pitrou
f41ffedad0
Issue #11995 : test_pydoc doesn't import all sys.path modules anymore.
2013-05-19 15:44:54 +02:00
Vinay Sajip
bb6b51ca25
Issue #17981 : Closed socket on error in SysLogHandler.
2013-05-16 22:47:47 +01:00
doko@ubuntu.com
9855249a9f
- Fix typos in the multiprocessing module.
2013-05-15 16:54:16 +02:00
doko@ubuntu.com
96645cc4ff
- Issue #17754 : Make ctypes.util.find_library() independent of the locale.
2013-05-15 15:46:11 +02:00
Serhiy Storchaka
7423903eee
Issue #17606 : Fixed support of encoded byte strings in the XMLGenerator
...
characters() and ignorableWhitespace() methods. Original patch by Sebastian
Ortiz Vasquez.
2013-05-12 17:29:34 +03:00
Benjamin Peterson
988aba3ba3
onto 2.7.6
2013-05-11 22:36:05 -05:00
Benjamin Peterson
086494483d
bump version to 2.7.5
2013-05-11 22:29:20 -05:00
Benjamin Peterson
5a27168883
prevent IDLE from trying to close when sys.stdin is reassigned ( #17838 )
2013-05-11 22:24:28 -05:00
Benjamin Peterson
6e165b40e1
backout 214d8909513d for regressions ( #1159051 )
2013-05-11 13:17:13 -05:00
Benjamin Peterson
c8759666d5
-Wformat is needed by gcc 4.8 ( closes #17547 )
2013-05-11 13:00:05 -05:00
Serhiy Storchaka
ce34ba6e3c
Issue #16601 : Restarting iteration over tarfile no more continues from where
...
it left off. Patch by Michael Birtwell.
2013-05-09 14:22:05 +03:00
Terry Jan Reedy
673770c59d
Issue 16584: in filecomp._cmp, catch IOError as well as os.error.
...
Patch by Till Maas.
2013-05-08 23:42:41 -04:00
Antoine Pitrou
4ccdc966ce
Fix NEWS order
2013-05-08 03:23:10 +02:00
Antoine Pitrou
1e18102a72
Issue #17928 : Fix test_structmembers on 64-bit big-endian machines.
...
(_testcapi isn't Py_ssize_t-clean, the "s#" code should use an int for length)
2013-05-08 02:07:13 +02:00
Antoine Pitrou
38f1afe8d1
Issue #17926 : Fix dbm.__contains__ on 64-bit big-endian machines.
2013-05-08 01:51:37 +02:00
Antoine Pitrou
f16ff7bc21
Issue #17918 : When using SSLSocket.accept(), if the SSL handshake failed on the new socket, the socket would linger indefinitely.
...
Thanks to Peter Saveliev for reporting.
2013-05-06 22:19:48 +02:00
Antoine Pitrou
31bc8bef63
Issue #17289 : The readline module now plays nicer with external modules or applications changing the rl_completer_word_break_characters global variable.
...
Initial patch by Bradley Froehle.
2013-05-06 21:51:03 +02:00
Charles-Francois Natali
880359c2bd
Issue #12181 : select module: Fix struct kevent definition on OpenBSD 64-bit
...
platforms. Patch by Federico Schwindt.
2013-05-06 21:21:57 +02:00
Ezio Melotti
6a4f394165
#17883 : Fix buildbot testing of Tkinter on Windows. Patch by Zachary Ware.
2013-05-05 22:36:09 +03:00
Antoine Pitrou
d8931c375a
Issue #14173 : Avoid crashing when reading a signal handler during interpreter shutdown.
2013-05-04 23:16:59 +02:00
Ezio Melotti
5cea09d290
#7855 : Add tests for ctypes/winreg for issues found in IronPython. Initial patch by Dino Viehland.
2013-05-04 17:59:03 +03:00
Serhiy Storchaka
6aca765220
Issue #16316 : mimetypes now recognizes the .xz and .txz (.tar.xz) extensions.
2013-05-04 15:11:46 +03:00
Raymond Hettinger
0801d73b1b
Issue #15535 : Fix regression in pickling of named tuples.
2013-05-03 00:59:20 -07:00
Antoine Pitrou
b996e04f11
Issue #17712 : Fix test_gdb failures on Ubuntu 13.04.
2013-05-01 00:15:44 +02:00
Gregory P. Smith
4832f34f05
move the NEWS entry to the right section and mention ctypes.
2013-04-30 00:56:07 -07:00
Gregory P. Smith
b0cabc2b31
NEWS entry
2013-04-30 00:54:45 -07:00
Nadeem Vawda
c1ea5ec905
Add missing NEWS entry for issue #17843 .
2013-04-28 19:01:31 +02:00
Serhiy Storchaka
8493a04e0f
Issue #17857 : Prevent build failures with pre-3.5.0 versions of sqlite3,
...
such as was shipped with Centos 5 and Mac OS X 10.4.
This bug was already fixed in issue14572 for 2.7 only and then it was
backported back from 3.3 in issue17073.
2013-04-28 14:09:47 +03:00
Antoine Pitrou
68915d7510
Issue #17835 : Fix test_io when the default OS pipe buffer size is larger than one million bytes.
2013-04-24 23:31:38 +02:00
Ronald Oussoren
7b0baf0d87
Ensure that plistlib doesn't corrupt deeply nested datastructures
...
Without this changeset plistlib would write empty tags for plistlib.Data
objects in deeply nested datastructures.
Fixes #17353
2013-04-23 13:47:06 +02:00
Serhiy Storchaka
d194b30407
Issue #11714 : Use 'with' statements to assure a Semaphore releases a
...
condition variable. Original patch by Thomas Rachel.
2013-04-22 22:51:00 +03:00
Vinay Sajip
4dc385b4e3
Issue #17795 : Reverted backwards-incompatible change in SysLogHandler with Unix domain sockets.
2013-04-22 09:58:51 +01:00
R David Murray
5cbff51745
#17065 : Use process-unique key for winreg test.
...
Patch by Jeremy Kloth.
2013-04-21 10:13:43 -04:00
Richard Oudkerk
7bdd93c20e
Issue #17555 : Fix ForkAwareThreadLock so that size of after fork
...
registry does not grow exponentially with generation of process.
2013-04-17 19:15:52 +01:00
Roger Serwy
90f8b23be2
#14735 : Update IDLE docs to omit "Control-z on Windows".
2013-04-17 00:22:50 -05:00
Antoine Pitrou
be92971b38
Issue #17710 : Fix cPickle raising a SystemError on bogus input.
2013-04-15 21:35:25 +02:00
Antoine Pitrou
108d1b4a79
Issue #17703 : Fix a regression where an illegal use of Py_DECREF() after interpreter finalization can cause a crash.
2013-04-15 21:20:14 +02:00
R David Murray
6077339270
#17341 : Include name in re error message about invalid group name.
...
Patch by Jason Michalski.
2013-04-14 13:08:50 -04:00
Serhiy Storchaka
ff99e414c9
Issue #17221 : Resort Misc/NEWS.
2013-04-14 18:52:15 +03:00
Serhiy Storchaka
616f2fe28c
Issue #17016 : Get rid of possible pointer wraparounds and integer overflows
...
in the re module. Patch by Nickolai Zeldovich.
2013-04-13 21:15:10 +03:00
Andrew Svetlov
524773020a
null merge
2013-04-13 18:07:15 +03:00
Andrew Svetlov
75f1fc27c3
Revert changes for #13355 by request from Raymond Hettinger
2013-04-13 18:05:44 +03:00
doko@ubuntu.com
66da7c573b
- Issue #17536 : Add to webbrowser's browser list: xdg-open, gvfs-open,
...
www-browser, x-www-browser, chromium browsers, iceweasel, iceape.
2013-04-13 17:05:11 +02:00
Mark Dickinson
f794b143d3
Issue #16447 : Fix potential segfault when setting __name__ on a class.
2013-04-13 15:19:05 +01:00
Serhiy Storchaka
6fa83f99af
Issue #17656 : Fix extraction of zip files with unicode member paths.
2013-04-13 12:28:17 +03:00
Andrew Svetlov
b6cdae3db4
Issue #13355 : Raise ValueError on random.triangular call with invalid params.
...
Initial patch by Yuriy Senko.
2013-04-12 23:39:33 +03:00
Ezio Melotti
0ba584c023
#6696 : add documentation for the Profile objects, and improve profile/cProfile docs. Patch by Tom Pinckney.
2013-04-12 16:22:24 +03:00
Roger Serwy
53dc4f0148
#17585 : Fixed IDLE regression. Now closes when using exit() or quit().
2013-04-11 19:13:21 -05:00
doko@ubuntu.com
77d8dbc1e8
- Issue #17086 : Search the include and library directories provided by the
...
compiler.
2013-04-11 00:19:55 +02:00
doko@ubuntu.com
5ef41abc7c
- Issue #17682 : Add the _io module to Modules/Setup.dist (commented out).
2013-04-09 17:34:39 +02:00
Roger Serwy
789299f858
#17657 : Show full Tk version in IDLE's about dialog.
...
Patch by Todd Rovito.
2013-04-08 20:57:13 -05:00
Serhiy Storchaka
371432b961
Close #17666 : Fix reading gzip files with an extra field.
2013-04-08 22:33:55 +03:00
doko@ubuntu.com
6cb4343d0d
- Issue #13150 , #17512 : sysconfig no longer parses the Makefile and config.h
...
files when imported, instead doing it at build time. This makes importing
sysconfig faster and reduces Python startup time by 20%.
2013-04-08 21:20:09 +02:00
Roger Serwy
4e9a705887
#17613 : Prevent traceback when removing syntax colorizer in IDLE.
2013-04-07 12:41:16 -05:00
Roger Serwy
231a8fd22d
#1207589 : Backwards-compatibility patch for right-click menu in IDLE.
2013-04-07 12:15:52 -05:00
Benjamin Peterson
74001fad7d
list slotdefs in offset order rather than sorting them ( closes #17610 )
...
This means we can remove our usage of qsort() than relied on undefined behavior.
Backport by Zbigniew Halas.
2013-04-07 09:52:59 -04:00
Roger Serwy
75b249c914
#16887 : IDLE now accepts Cancel in tabify/untabify dialog box.
2013-04-06 20:26:53 -05:00
Roger Serwy
08759c7d2a
move idle news entries to its section
2013-04-06 20:21:21 -05:00
Serhiy Storchaka
6c467a41bc
Revert a premature patch for issue #14010 (changeset d17d10c84d27).
2013-04-06 22:51:29 +03:00
Benjamin Peterson
0e7df43128
merge heads
2013-04-06 15:19:11 -04:00
Benjamin Peterson
89e2aed9cc
move idle news to its own section
2013-04-06 15:19:04 -04:00
Serhiy Storchaka
bb84565cdb
Issue #14010 : Fix a crash when iterating or deleting deeply nested filters
...
in itertools module (i.e. itertools.izip(), itertools.chain(), etc).
2013-04-06 22:04:10 +03:00
Benjamin Peterson
9db034161e
merge 2.7.4 release branch
2013-04-06 10:00:24 -04:00
Benjamin Peterson
376dd0edfa
change version to 2.7.4
2013-04-06 09:58:51 -04:00
Benjamin Peterson
bf51717022
merge 2.7.4 release branch
2013-04-03 22:35:28 -04:00
Benjamin Peterson
167a96c0ea
close search and replace dialog after it is used ( closes #17625 )
2013-04-03 22:35:12 -04:00
Terry Jan Reedy
6e65e99fe1
Issue #15940 : NEWS entry
2013-04-03 13:24:26 -04:00
Roger Serwy
ad8cad3c6d
#14254 : IDLE now handles readline correctly across shell restarts.
2013-04-03 00:42:24 -05:00
Roger Serwy
d7c9d9cdcd
#17614 : IDLE no longer raises exception when quickly closing a file.
2013-04-02 22:37:12 -05:00
R David Murray
c993a19480
#13163 : fix names of _get_socket args
...
This was already done in Python3, but having it wrong leads to
incorrect debug output, so it seems worth fixing in 2.7 as well.
Patch by Victor Terrón.
2013-04-02 12:15:07 -04:00
Roger Serwy
34d0c66ef2
#6698 : IDLE now opens just an editor window when configured to do so.
2013-03-31 23:28:55 -05:00
Roger Serwy
cadd7864d8
#8900 : Using keyboard shortcuts in IDLE to open a file no longer raises an exception.
2013-03-31 15:53:08 -05:00
Roger Serwy
6e4e4abf16
#6649 : Fixed missing exit status in IDLE. Patch by Guilherme Polo.
2013-03-31 00:57:16 -05:00
Benjamin Peterson
337b1737df
merge 2.7.4 release branch
2013-03-30 10:37:25 -04:00
Benjamin Peterson
d627e122d7
fall back when an old test_support doesn't have various data and functions ( closes #17533 )
2013-03-30 10:36:31 -04:00
Ezio Melotti
e66e7de5d6
#17526 : fix an IndexError raised while passing code without filename to inspect.findsource(). Initial patch by Tyler Doyle.
2013-03-30 05:10:28 +02:00
Christian Heimes
92acb0a81c
Issue 17538: Document XML vulnerabilties
2013-03-26 17:53:05 +01:00
Christian Heimes
23790b4be0
Issue 17538: Document XML vulnerabilties
2013-03-26 17:53:05 +01:00
Benjamin Peterson
4b394db41f
merge 2.7.4 release branch ( #17550 )
2013-03-26 08:56:16 -04:00
Benjamin Peterson
b9be7bbe2e
fix variable reference to fix --enable-profiling ( closes #17550 )
2013-03-26 08:55:37 -04:00
Vinay Sajip
1e76e8643b
Issue #12718 : Set importer on instance if Python function, to avoid bad interaction with winpdb.
2013-03-25 23:37:41 +00:00
Benjamin Peterson
bc1d9c9963
merge 2.7.4 release branch
2013-03-23 22:32:34 -05:00
Benjamin Peterson
da2c7ebd23
allow any type with __getitem__ to be a mapping for the purposes of % ( #15801 )
2013-03-23 22:32:00 -05:00
Benjamin Peterson
2350ecd711
merge 2.7.4 release branch
2013-03-23 16:35:57 -05:00
Benjamin Peterson
7e2f197a2b
update NEWS for #17531
2013-03-23 16:35:45 -05:00
Benjamin Peterson
4a03c7d482
merge 2.7.4 release branch
2013-03-23 15:40:48 -05:00
Benjamin Peterson
01d9a775fa
group ids and user ids can be longs now ( #17531 )
2013-03-23 15:40:36 -05:00
Benjamin Peterson
aec813993f
add 2.7.5 header
2013-03-23 15:24:13 -05:00
Benjamin Peterson
31289230e2
return int instead long when possible ( #17531 )
2013-03-23 15:22:20 -05:00
Benjamin Peterson
a1f6fab464
version to 2.7.4rc1
2013-03-23 10:17:29 -05:00
Vinay Sajip
bb2dad8915
Issue #17521 : Corrected non-enabling of logger following two calls to fileConfig().
2013-03-23 11:18:10 +00:00
Vinay Sajip
0e29f22855
Updated Misc/NEWS with #17508 .
2013-03-23 10:56:39 +00:00
Martin v. Loewis
18613e6e7b
Issue #17425 : Build against openssl 0.9.8y on Windows.
2013-03-22 22:01:56 +01:00
Benjamin Peterson
469ee9d84c
backout 66e30c4870bb for breaking OSX ( #13150 )
2013-03-22 09:37:13 -05:00
doko@ubuntu.com
28b7c05131
- Issue #13150 : sysconfig no longer parses the Makefile and config.h files
...
when imported, instead doing it at build time. This makes importing
sysconfig faster and reduces Python startup time by 20%.
2013-03-21 15:02:16 -07:00
Kristján Valur Jónsson
9795ca44fb
Issue #10212 : Support new buffer interface for struct.unpack and
...
cStringIO
2013-03-19 17:17:47 -07:00
Kristján Valur Jónsson
8927e8f421
Issue #12098 : multiprocessing on Windows now starts child processes
...
using the same sys.flags as the current process.
Backport from default branch.
2013-03-19 15:07:35 -07:00
doko@ubuntu.com
4950a3b6cc
- Issue #17477 : Update the bsddb module to pybsddb 5.3.0, supporting
...
db-5.x, and dropping support for db-4.1 and db-4.2.
2013-03-19 14:46:29 -07:00
R David Murray
a39c47aab0
#8862 : Fix curses cleanup with getchar is interrupted by a signal.
...
I have no idea how one would write a test for this.
Patch by July Tikhonov.
2013-03-19 16:26:53 -04:00
Kristján Valur Jónsson
6ebc8f3f38
Issue #9090 : Error code 10035 calling socket.recv() on a socket with a timeout
...
(WSAEWOULDBLOCK - A non-blocking socket operation could not be completed
immediately)
2013-03-19 10:58:59 -07:00
Gregory P. Smith
46ce27ab1e
Fixes issue #17192 : Update the ctypes module's libffi to v3.0.13. This
...
specifically addresses a stack misalignment issue on x86 and issues on
some more recent platforms.
2013-03-18 16:58:50 -07:00
Ezio Melotti
e015b6b1fc
#11420 : make test suite pass with -B/DONTWRITEBYTECODE set. Initial patch by Thomas Wouters.
2013-03-16 20:04:44 +02:00
Terry Jan Reedy
0b2173a1ee
Issue #17412 : update 2.7 Doc/make.bat to also use sphinx-1.0.7.
2013-03-14 19:32:22 -04:00
Serhiy Storchaka
923baea9f9
Issue #1285086 : Get rid of the refcounting hack and speed up urllib.unquote().
2013-03-14 21:31:09 +02:00
Serhiy Storchaka
2556c8388c
Issue #17299 : Add test coverage for cPickle with file objects and general IO
...
objects. Original patch by Aman Shah.
2013-03-14 20:59:09 +02:00
Ezio Melotti
fda7a8ce78
#17368 : Fix an off-by-one error in the Python JSON decoder that caused a failure while decoding empty object literals when object_pairs_hook was specified.
2013-03-13 01:49:57 +02:00
Terry Jan Reedy
21e52aad13
Fix issue number
2013-03-12 02:19:09 -04:00
Terry Jan Reedy
f9d31069db
Issue #14707 : add news entry
2013-03-12 01:26:28 -04:00
Ezio Melotti
617e2c186d
#16004 : Add `make touch`.
2013-03-11 09:14:09 +02:00
Ezio Melotti
efaad09c9a
#11963 : remove human verification from test_subprocess.
2013-03-11 00:34:33 +02:00
Senthil Kumaran
6234cc0098
Reverting the changeset c31d700dea8b made for Issue #12921
2013-03-05 02:24:03 -08:00
Senthil Kumaran
c74e764c21
Fix Issue #12921 : BaseHTTPServer's send_error should send the correct error
...
response message when send_error includes a message in addition to error
status. Patch contributed by Karl.
2013-03-05 01:21:13 -08:00
Ned Deily
eec152d217
Issue #16848 : python-config now returns proper --ldflags values for OS X
...
framework builds.
2013-03-04 14:31:04 -08:00
Antoine Pitrou
49e4dfeec8
Issue #17278 : Fix a crash in heapq.heappush() and heapq.heappop() when the list is being resized concurrently.
2013-03-04 20:30:01 +01:00
Mark Dickinson
7cac1c25a1
Issue #16445 : Fix potential segmentation fault when deleting an exception message.
2013-03-03 11:13:34 +00:00
Chris Jerdonek
2277b947bb
Issue #16406 : combine the doc pages for uploading and registering to PyPI.
2013-02-27 09:55:39 -08:00
Richard Oudkerk
ba48264bce
Issue #17018 : Make Process.join() retry if os.waitpid() fails with EINTR.
2013-02-26 12:37:07 +00:00
R David Murray
5b2cf5e651
#17275 : Fix class name in init errors in C bufferedio classes.
...
This fixes an apparent copy-and-paste error.
Original patch by Manuel Jacob.
2013-02-23 22:11:21 -05:00
Petri Lehtinen
f794bde17d
Revert "Issue #16121 : Fix line number accounting in shlex"
2013-02-23 23:05:54 +01:00
Petri Lehtinen
43072780df
Issue #16121 : Fix line number accounting in shlex
2013-02-23 22:07:39 +01:00
Petri Lehtinen
fead3c8cca
Issue #16403 : Document how distutils uses the maintainer field in PKG-INFO
2013-02-23 21:05:48 +01:00
Petri Lehtinen
2342784d28
Issue #16695 : Document how glob handles filenames starting with a dot
2013-02-23 19:53:03 +01:00
Petri Lehtinen
0b785036ef
Issue #8890 : Stop advertising an insecure use of /tmp in docs
2013-02-23 19:24:31 +01:00
Petri Lehtinen
9e14755b46
Issue #14720 : sqlite3: Convert datetime microseconds correctly
...
Patch by Lowe Thiderman
2013-02-23 19:05:09 +01:00
Petri Lehtinen
c23178ba36
Issue #5033 : Fix building of the sqlite3 extension module
2013-02-23 17:05:28 +01:00
Ezio Melotti
2fddfd85bd
#17249 : convert a test in test_capi to use unittest and reap threads.
2013-02-23 05:45:37 +02:00
Chris Jerdonek
13cee1696f
Issue #17203 : add long option names to unittest discovery docs.
2013-02-21 18:52:12 -08:00
Serhiy Storchaka
49d4022d7d
Issue #17225 : JSON decoder now counts columns in the first line starting
...
with 1, as in other lines.
2013-02-21 20:17:54 +02:00
Barry Warsaw
f25d95732c
- Issue #16248 : Disable code execution from the user's home directory by
...
tkinter when the -E flag is passed to Python. Patch by Zachary Ware.
2013-02-20 18:19:55 -05:00
Benjamin Peterson
8e830a0664
fix building without pymalloc ( closes #17228 )
2013-02-20 16:54:30 -05:00
R David Murray
c32b678fd0
#7842 : backport fix for py_compile.compile syntax error message handling.
2013-02-19 20:00:11 -05:00
R David Murray
5aff27aec1
#7963 : fix error message when 'object' called with arguments.
...
Patch by Alexander Belopolsky.
2013-02-18 22:04:59 -05:00
Serhiy Storchaka
4676448941
Issue #13153 : Tkinter functions now raise TclError instead of ValueError when
...
a unicode argument contains non-BMP character.
2013-02-18 13:00:08 +02:00
Serhiy Storchaka
6a8e2b4982
Issue #9669 : Protect re against infinite loops on zero-width matching in
...
non-greedy repeat. Patch by Matthew Barnett.
2013-02-16 21:23:01 +02:00
Serhiy Storchaka
e18e05cce9
Issue #13169 : The maximal repetition number in a regular expression has been
...
increased from 65534 to 2147483647 (on 32-bit platform) or 4294967294 (on
64-bit).
2013-02-16 16:47:15 +02:00
Richard Oudkerk
f4b6560f7c
Add Misc/NEWS entry for Issue #16743
2013-02-13 15:17:47 +00:00
Serhiy Storchaka
8d7d6bcc25
Issue #11311 : StringIO.readline(0) now returns an empty string as all other
...
file-like objects.
2013-02-13 12:26:58 +02:00
Serhiy Storchaka
34fe1b7a3d
Issue #5308 : Raise ValueError when marshalling too large object (a sequence
...
with size >= 2**31), instead of producing illegal marshal data.
2013-02-13 12:07:43 +02:00
Serhiy Storchaka
0127de0b87
Issue #16800 : tempfile.gettempdir() no longer left temporary files when
...
the disk is full. Original patch by Amir Szekely.
2013-02-13 00:34:46 +02:00
Serhiy Storchaka
cdc7a91dde
Issue #13555 : cPickle now supports files larger than 2 GiB.
2013-02-12 21:36:47 +02:00
Serhiy Storchaka
da5c2a0646
Issue #4591 : Uid and gid values larger than 2**31 are supported now.
2013-02-12 09:27:53 +02:00
Ned Deily
aa1e1a2755
Issue #17111 : Prevent test_surrogates (test_fileio) failure on OS X 10.4.
...
An odd bug in OS X 10.4 causes open(2) on a non-existent,
invalid-encoded filename to return errno 22, EINVAL: Invalid argument,
instead of the expected errno 2, ENOENT: No such file or directory,
*if* the containing directory is not empty. That caused frequent
failures when running the buildbot tests on 10.4 depending on the state
of the test working directory. The failure is easy to reproduce on
10.4 by running the test directly (not with regrtest), first in an empty
directory, then after adding a file to it. The fix is to check for and
pass if either errno is returned.
2013-02-11 22:10:59 -08:00
Michael Foord
c36bf99189
Correction to issue 17052 fix
2013-02-11 12:53:21 +00:00
Michael Foord
cb66ee7f56
Issue 17502: unittest discovery should use self.testLoader
2013-02-10 23:59:46 +00:00
Serhiy Storchaka
65d56390bb
Issue #17141 : random.vonmisesvariate() no more hangs for large kappas.
2013-02-10 19:27:37 +02:00
Mark Dickinson
9aaeb5e0c8
Issue #17149 : Fix random.vonmisesvariate to always return results in [0, 2*math.pi].
2013-02-10 14:13:40 +00:00
Serhiy Storchaka
f898038ca0
Issue #1470548 : XMLGenerator now works with UTF-16 and UTF-32 encodings.
2013-02-10 14:26:08 +02:00
Serhiy Storchaka
0dd3d309ab
Issue #6975 : os.path.realpath() now correctly resolves multiple nested symlinks on POSIX platforms.
2013-02-10 12:21:49 +02:00
Serhiy Storchaka
15ea3ac67a
Issue #17156 : pygettext.py now correctly escapes non-ascii characters.
2013-02-09 22:36:22 +02:00
Raymond Hettinger
4234992c75
Keep IDLE from displaying spurious SystemExit tracebacks
...
when running scripts that terminated by raising SystemExit
(i.e. unittest and turtledemo).
2013-02-09 14:20:55 -05:00
R David Murray
a5e7f8f8e0
#16564 : test to confirm behavior that regressed in python3.
...
Also add running of test_email_renamed to the email regrtest. It contains
tests that the base email/tests/test_email.py does not, which I discovered
while trying to backport this test for confirmation of the behavior.
2013-02-09 12:53:29 -05:00
Serhiy Storchaka
276f1d5139
Issue #7358 : cStringIO.StringIO now supports writing to and reading from
...
a stream larger than 2 GiB on 64-bit systems.
2013-02-09 13:47:43 +02:00
Serhiy Storchaka
beaa3adae9
Issue #10355 : SpooledTemporaryFile properties and xreadline method now work for unrolled files.
2013-02-09 12:20:18 +02:00
Serhiy Storchaka
62e709c52b
Issue #16686 : Fixed a lot of bugs in audioop module.
...
* avgpp() and maxpp() no more crash on empty and 1-samples input fragment. They now work when peak-peak values are greater INT_MAX.
* ratecv() no more crashes on empty input fragment.
* Fixed an integer overflow in ratecv().
* Fixed an integer overflow in add() and bias() for 32-bit samples.
* reverse(), lin2lin() and ratecv() no more lose precision for 32-bit samples.
* max() and rms() no more returns negative result for 32-bit sample -0x80000000.
* minmax() now returns correct max value for 32-bit sample -0x80000000.
* avg(), mul(), tomono() and tostereo() now round negative result down and can return 32-bit sample -0x80000000.
* add() now can return 32-bit sample -0x80000000.
2013-02-09 11:10:30 +02:00
Ned Deily
ed1e4382c4
Issue #17161 : make install now also installs a python2 and python man page.
2013-02-08 22:51:52 -08:00
Serhiy Storchaka
c12dcd2e4d
Fix accidental non-breakable space (U+00A0).
2013-02-08 11:21:32 +02:00
Serhiy Storchaka
35c52b687f
Issue #17073 : Fix some integer overflows in sqlite3 module.
2013-02-07 16:59:34 +02:00
Serhiy Storchaka
d5327d95d2
Issue #17043 : The unicode-internal decoder no longer read past the end of
...
input buffer.
2013-02-07 16:23:11 +02:00
Serhiy Storchaka
a07a8b4f18
Issue #6083 : Fix multiple segmentation faults occured when PyArg_ParseTuple
...
parses nested mutating sequence.
2013-02-04 12:45:46 +02:00
Benjamin Peterson
f727c31133
fix find_library on Solaris ( closes #5289 )
2013-02-03 19:25:11 -05:00
Éric Araujo
3e081c73b8
Add alias to restore 2.7.2 compatibility for setup scripts ( #13994 ).
...
The customize_compiler function moved many times during the 2.7 series;
in 2.7.3, setup scripts importing this function from ccompiler were
broken. This commit restores compatibility without reintroducing the
issue that #13994 originally fixed (duplication of the function).
A unit test makes little sense here, as distutils tests never do imports
in functions, and the fix is very simple.
2013-02-03 11:41:19 -05:00
Serhiy Storchaka
354d50ee37
Issue #17106 : Fix a segmentation fault in io.TextIOWrapper when an underlying
...
stream or a decoder produces data of an unexpected type (i.e. when
io.TextIOWrapper initialized with text stream or use bytes-to-bytes codec).
2013-02-03 17:10:42 +02:00
Ned Deily
cc23cc672f
Issue #16698 : Skip posix test_getgroups when built with OS X
...
deployment target prior to 10.6.
2013-02-02 15:06:45 -08:00
Antoine Pitrou
d66c0ee76e
Issue #15633 : httplib.HTTPResponse is now mark closed when the server sends less than the advertised Content-Length.
2013-02-02 22:49:34 +01:00
Nadeem Vawda
1efd9824d8
Back out fix for issue #13886 ; it introduced a new bug in interactive readline use.
2013-02-02 20:52:54 +01:00
Benjamin Peterson
eff492f4b7
Issue #15881 : Fixed atexit hook in multiprocessing.
2013-02-02 11:15:50 -05:00
Gregory P. Smith
a5df290e06
Update the embedded copy of the expat XML parser to 2.1.0. It brings
...
with it a vareity of bug fixes, both security and behavior. See
http://www.libexpat.org/ for the list.
NOTE: I already backported the expat hash randomization fix in March.
Fixes issue #14340 .
2012-07-14 14:12:35 -07:00
Serhiy Storchaka
07fbf60cc8
Merge heads
2013-02-02 10:36:43 +02:00
Serhiy Storchaka
8673ab97cc
Issue #11159 : SAX parser now supports unicode file names.
2013-02-02 10:28:30 +02:00
Ned Deily
7045f0579b
Issue #15116 : Remove references to appscript as it is no longer being
...
supported.
2013-02-02 00:14:44 -08:00
Ned Deily
6e7da15279
Issue #15587 : Enable Tk high-resolution text rendering on Macs with
...
Retina displays. Applies to Tkinter apps, such as IDLE, on OS X
framework builds linked with Cocoa Tk 8.5+.
Suggested by Kevin Walzer
2013-02-01 23:10:56 -08:00
Ned Deily
acf7b95219
Issue #16256 : OS X installer now sets correct permissions for doc directory.
2013-02-01 13:58:00 -08:00
Gregory P. Smith
a06ad5b366
better news entry
2013-02-01 13:07:27 -08:00
Gregory P. Smith
a998ad0135
Additional fix for Issue #12268 : The io module file object writelines() methods
...
no longer abort early when one of its write system calls is interrupted (EINTR).
2013-02-01 13:02:59 -08:00
Gregory P. Smith
608cc451c7
Fixes Issue #6972 : The zipfile module no longer overwrites files outside of
...
its destination path when extracting malicious zip files.
2013-02-01 11:40:18 -08:00
doko@python.org
d65e2bab3b
- Issue #17086 : Backport the patches from the 3.3 branch to cross-build
...
the package.
2013-01-31 23:52:03 +01:00
Serhiy Storchaka
8d510cd6e1
Issue #17049 : Localized calendar methods now return unicode if a locale
...
includes an encoding and the result string contains month or weekday (was
regression from Python 2.6).
2013-01-31 15:57:51 +02:00
Serhiy Storchaka
0be506a5ba
Issue #4844 : ZipFile now raises BadZipfile when opens a ZIP file with an
...
incomplete "End of Central Directory" record. Original patch by Guilherme
Polo and Alan McIntyre.
2013-01-31 15:26:55 +02:00
Ned Deily
18fae3f954
Issue #13590 : OS X Xcode 4 - improve support for universal extension modules
...
In particular, fix extension module build failures when trying to use
32-bit-only installer Pythons on systems with Xcode 4 (currently
OS X 10.8, 10.7, and optionally 10.6).
* Backport 3.3.0 fixes to 2.7 branch (for release in 2.7.4)
* Since Xcode 4 removes ppc support, extension module builds now
check for ppc compiler support and by default remove ppc and
ppc64 archs when they are not available.
* Extension module builds now revert to using system installed
headers and libs (/usr and /System/Library) if the SDK used
to build the interpreter is not installed or has moved.
* Try to avoid building extension modules with deprecated
and problematic Apple llvm-gcc compiler. If original compiler
is not available, use clang instead by default.
2013-01-31 01:24:55 -08:00
Michael Foord
77cd8aab23
Issue 15505. unittest.installHandler and non callable signal handlers
2013-01-29 22:59:02 +00:00
Serhiy Storchaka
64cca12622
Move NEWS entity from library to core section.
2013-01-29 12:04:55 +02:00
Serhiy Storchaka
c8e58126a2
Issue #16979 : Fix error handling bugs in the unicode-escape-decode decoder.
2013-01-29 10:20:34 +02:00
Serhiy Storchaka
46f5b35bc0
Issue #17051 : Fix a memory leak in os.path.isdir() on Windows. Patch by Robert Xiao.
2013-01-28 20:19:50 +02:00
Serhiy Storchaka
72121c6c30
- Issue #17041 : Fix testing when Python is configured with the
...
--without-doc-strings option.
2013-01-27 19:45:49 +02:00
Nadeem Vawda
221508cdef
Issue #13886 : Fix input() to not strip out supposedly-invalid input bytes.
2013-01-27 14:21:26 +01:00
Serhiy Storchaka
c59c85c1ac
Issue #10156 : In the interpreter's initialization phase, unicode globals
...
are now initialized dynamically as needed.
2013-01-26 12:13:40 +02:00
Serhiy Storchaka
01b3a08f5e
Issue #16975 : Fix error handling bug in the escape-decode decoder.
2013-01-25 23:30:50 +02:00
Ronald Oussoren
1c60c7ac4c
Issue #1602133 : 'environ' is not really available with shared libraries on OSX
...
There already was a workaround for this for framework builds on OSX,
this changeset enables the same workaround for shared libraries.
Closes #1602133
2013-01-25 17:55:39 +01:00
doko@python.org
fa3f9a38b2
- Issue #3754 : fix typo in pthread AC_CACHE_VAL.
2013-01-25 15:32:31 +01:00
Serhiy Storchaka
9abc830c6a
Issue #9290 : In IDLE the sys.std* streams now implement io.TextIOBase
...
interface and support all mandatory methods and properties.
2013-01-25 15:30:35 +02:00
doko@python.org
4e63fbe04d
- Issue #17029 : Let h2py search the multiarch system include directory.
2013-01-25 13:08:27 +01:00
Serhiy Storchaka
b09ec9b618
Issue #13454 : Fix a crash when deleting an iterator created by itertools.tee()
...
if all other iterators were very advanced before.
2013-01-25 13:31:05 +02:00
Serhiy Storchaka
353e54edc4
Issue #1159051 : GzipFile now raises EOFError when reading a corrupted file
...
with truncated header or footer.
Added tests for reading truncated gzip and bzip2 files.
2013-01-22 17:13:26 +02:00