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
bb80131375
Import shutil for restore_test_support_TESTFN().
2013-02-10 12:01:31 +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
Serhiy Storchaka
35c52b687f
Issue #17073 : Fix some integer overflows in sqlite3 module.
2013-02-07 16:59:34 +02:00
Serhiy Storchaka
4a88041444
Issue #17118 : Add new tests for testing Python-Tcl interaction.
2013-02-07 15:37:53 +02:00
Serhiy Storchaka
8e8bbc5e7d
Fix test_from_dll* in test_returnfuncptrs.py.
2013-02-07 14:57:53 +02:00
R David Murray
9b3085cdf5
#17142 : fix apparent copy and paste error in test_all.
2013-02-06 10:06:10 -05:00
Serhiy Storchaka
28ababcda4
Temporarily disable test_from_dll in test_returnfuncptrs.py for Windows.
2013-02-04 15:19:21 +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
Serhiy Storchaka
2a051fa117
Fix test for issue #6972 .
2013-02-02 19:25:57 +02:00
Serhiy Storchaka
05fd744122
Preserve backslashes in malicious zip files for testing issue #6972 .
2013-02-02 18:34:57 +02:00
Benjamin Peterson
eff492f4b7
Issue #15881 : Fixed atexit hook in multiprocessing.
2013-02-02 11:15:50 -05:00
Serhiy Storchaka
13e56c73b7
Fix the test and remove trailing dots on Windows for issue #6972 .
2013-02-02 17:46:33 +02:00
Serhiy Storchaka
7c068750b6
Fix translating of illegal characters on Windows (issue #6972 ).
2013-02-02 12:30:49 +02:00
Serhiy Storchaka
23298cb7f5
Fix tests for issue #11159 .
2013-02-02 12:16:22 +02:00
Serhiy Storchaka
8673ab97cc
Issue #11159 : SAX parser now supports unicode file names.
2013-02-02 10:28:30 +02: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
c5200b489d
Issue #17041 : Fix doctesting when Python is configured with the
...
--without-doc-strings.
2013-01-31 16:10:15 +02: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
74e449fe6a
Add tests for raw-unicode-escape codec.
2013-01-29 11:39:44 +02:00
Serhiy Storchaka
7277f9d099
Clean up escape-decode decoder tests.
2013-01-29 11:06:28 +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
80a0a1e170
Fix skip conditions in some docstings tests.
2013-01-28 13:24:01 +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
Stefan Krah
4216aa1e52
Adapt test for build --without-doc-strings.
2013-01-26 13:31:44 +01:00
Serhiy Storchaka
6fef14d7f3
Optimize the test for issue #13454 .
...
Now it requires almost 4x less memory and is almost 2x faster.
2013-01-26 11:51:42 +02:00
Serhiy Storchaka
01b3a08f5e
Issue #16975 : Fix error handling bug in the escape-decode decoder.
2013-01-25 23:30:50 +02: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
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
7ee79a2823
Don't run the test for issue #16335 when -M is not specified.
...
Increase memory limit in this test.
2013-01-25 10:03:12 +02:00
Ezio Melotti
f5da3ec5ee
#11379 : rephrase minidom documentation to use the term "minimal" instead of "lightweight". Patch by Éric Araujo.
2013-01-22 22:47:57 +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
Serhiy Storchaka
e3adb43b4b
Add bigmemtest decorator to test of issue #16335 .
2013-01-21 20:23:01 +02:00
Serhiy Storchaka
b1ecf80e04
Fix memory error in test_ucn.
...
unicode-escape decoder requires memory for result corresponding to input size.
Fixes test for issue #16335 .
2013-01-21 13:03:58 +02:00
Christian Heimes
4d70e583ab
fix for f4d30d1a529e
...
Python 2.7 has only assertRaisesRegexp, not assertRaisesRegex
2013-01-21 11:25:27 +01:00
Serhiy Storchaka
1d3acd4b59
Issue #16335 : Fix integer overflow in unicode-escape decoder.
2013-01-21 11:48:24 +02:00
Serhiy Storchaka
18a13933f9
Ensure that width and precision in string formatting test have type int, not long.
...
Fix a regression from changeset d544873d62e9 (issue #15989 ).
2013-01-19 21:06:35 +02:00
Serhiy Storchaka
74f49ab28b
Issue #15989 : Fix several occurrences of integer overflow
...
when result of PyInt_AsLong() or PyLong_AsLong() narrowed
to int without checks.
This is a backport of changesets 13e2e44db99d and 525407d89277.
2013-01-19 12:55:39 +02:00
Benjamin Peterson
2f78f0e1f9
support -> test_support
2013-01-18 00:44:49 -05:00
Benjamin Peterson
08e153ae37
check windows fd validity ( closes #16992 )
2013-01-18 00:10:24 -05:00
Frank Wierzbicki
65a9f36981
Closed #16886 : test_dictcomps no longer depends on dict order
2013-01-16 13:52:22 -08:00
Vinay Sajip
51b55517a1
Issue #9501 : Improved shutdown handling to deal with module attributes correctly.
2013-01-15 17:55:13 +00:00
Serhiy Storchaka
e39ba04e22
Issue #15861 : tkinter now correctly works with lists and tuples containing
...
strings with whitespaces, backslashes or unbalanced braces.
2013-01-15 18:01:21 +02:00
Serhiy Storchaka
bdea5ec574
Merge heads
2013-01-15 15:32:49 +02:00
Richard Oudkerk
7796b08664
Issue #10527 : Remove dead code
2013-01-15 13:13:35 +00:00
Serhiy Storchaka
9599745e2c
Issue #14850 : Now a chamap decoder treates U+FFFE as "undefined mapping"
...
in any mapping, not only in an unicode string.
2013-01-15 14:42:59 +02:00
Serhiy Storchaka
80a9fd77a0
Issue #9720 : zipfile now writes correct local headers for files larger than 4 GiB.
2013-01-15 00:29:51 +02:00
Serhiy Storchaka
3d4a02ab8c
Describe the default_namespace parameter of ElemetTree.write.
2013-01-13 21:57:14 +02:00
Charles-François Natali
8c9047149b
test_asyncore: wait explicitly for a thread termination (this dangling thread
...
could be the cause of a random failure).
2013-01-13 13:55:13 +01:00
Serhiy Storchaka
eebcb5f790
Issue #16829 : IDLE printing no longer fails if there are spaces or other
...
special characters in the file path.
2013-01-12 18:12:27 +02:00
Charles-François Natali
ef2bd67e23
Issue #16762 : Fix some test_subprocess failures on NetBSD and OpenBSD: kill()
...
returns ESRCH for a zombie process, which is not POSIX-compliant.
2013-01-12 16:52:20 +01:00
Serhiy Storchaka
dfae912d80
Issue #15539 : Fix backup file creation in pindent.py on Windows
2013-01-11 22:16:15 +02:00
Serhiy Storchaka
8cd7f82024
Issue #15539 : Fix a number of bugs in Tools/scripts/pindent.py.
...
Now pindent.py works with a "with" statement. pindent.py no longer produces
improper indentation. pindent.py now works with continued lines broken after
"class" or "def" keywords and with continuations at the start of line. Added
regression tests for pindent.py. Modernized pindent.py.
2013-01-11 11:59:59 +02:00
Ezio Melotti
5c4e32b131
#13899 : \A, \Z, and \B now correctly match the A, Z, and B literals when used inside character classes (e.g. [A]). Patch by Matthew Barnett.
2013-01-11 08:32:01 +02:00
R David Murray
32851d61f2
#15109 : revert '%'->'format' changes in 4b105d328fe7 to fix regression.
...
With '%', non-ascii worked because the '%' automatically got promoted to
unicode. With format that doesn't happen, which led to encoding errors. This
fix goes back to using %, and adds a test to make sure non-ascii string values
work in iterdump.
2013-01-10 21:10:40 -05:00
R David Murray
d618684d65
#15545 : sort iterdump via SQL instead of in python code
...
Although there is not a regression in Python2, we make the same update here to
keep the code bases in sync.
(The fix for issue 9750 introduced a regression in Python 3 by sorting the row
objects returned by fetchall. But if a row_factory such as sqlite3.Row is
used, the rows may not be sortable (in Python3), which leads to an exception.
The sorting is still a nice idea, so the patch moves the sort into the sql.)
Fix and test by Peter Otten.
2013-01-10 11:30:51 -05:00
Serhiy Storchaka
c4b82c037e
Issue #11461 : Fix the incremental UTF-16 decoder. Original patch by
...
Amaury Forgeot d'Arc. Added tests for partial decoding of non-BMP
characters.
2013-01-08 23:12:00 +02:00
Giampaolo Rodola'
049a378cd7
issue 10527: fix missing import
2013-01-03 02:53:28 +01:00
Nadeem Vawda
895cc22b8b
Issue #16828 : Fix error incorrectly raised by bz2.compress('').
...
Patch by Martin Packman.
2013-01-02 22:59:51 +01:00
Benjamin Peterson
a708adfcf6
call PyErr_Clear() when ignoring error from PyNumber_Int ( closes #15516 )
...
Patch from Tom Tromey.
2013-01-02 12:21:32 -06:00
Serhiy Storchaka
14224420d0
Issue #16819 : IDLE method completion now correctly works for unicode literals.
2013-01-01 22:27:45 +02:00
Ned Deily
10e93a6d40
Issue #14958 : backport to 2.7.x from 3.3 (patch by Roger Serwy)
2012-12-31 15:06:38 -08:00
Giampaolo Rodola'
cef2006eaf
Fix issue 10527: make multiprocessing use poll() instead of select() if available.
2012-12-31 17:23:09 +01:00
Serhiy Storchaka
421489f8a6
Issue #16645 : Fix hardlink extracting test for tarfile.
2012-12-30 20:15:10 +02:00
Andrew Svetlov
14e27d896f
Fix docstring in curses ( #16782 )
2012-12-29 23:09:32 +02:00
Serhiy Storchaka
4ed797efbc
Issue #16485 : Fix file descriptor not being closed if file header patching fails on closing of aifc file.
2012-12-29 22:25:59 +02:00
Antoine Pitrou
40f12ab0c5
Backport Python 3.2 fix for issue #12065 , and add another test for SSLSocket.connect_ex().
2012-12-28 19:03:43 +01:00
Serhiy Storchaka
cf095f8e0f
Issue #16761 : Raise TypeError when int() or long() called with base argument only.
2012-12-28 09:31:59 +02:00
Chris Jerdonek
3684c79e00
Issue #15324 : Fix regrtest parsing of --fromfile and --randomize options.
2012-12-27 18:14:01 -08:00
Serhiy Storchaka
c90be30b0d
Issue #16792 : Use assertIs() to test identity.
2012-12-28 00:44:20 +02:00
Serhiy Storchaka
8876145fab
Issue #16793 . Replace deprecated unittest asserts with modern counterparts.
2012-12-28 00:32:19 +02:00
Serhiy Storchaka
270767b2ce
Issue #16792 : Mark small ints test as CPython-only.
2012-12-27 23:07:00 +02:00
Chris Jerdonek
6f70fe8046
Issue #16790 : add some of the recent issue #16045 int tests to test_long.
...
This patch also provides a simple way to share tests going forward
between test_int and test_long.
2012-12-27 12:53:29 -08:00
Brian Curtin
33e05e7905
Fix #16759 . Convert DWORD registry values using unsigned long.
...
When converting REG_DWORD registry values into Python, the conversion
needs to be made from an *unsigned* long (k instead of i) to match the
DWORD type.
2012-12-27 14:37:06 -06:00
Serhiy Storchaka
a0b7e9c74c
Null merge.
2012-12-27 22:00:12 +02:00
Serhiy Storchaka
61006a2113
Issue #16504 : Catch SyntaxErrors raised by tokenizer in IDLE.
2012-12-27 21:34:23 +02:00
Brian Curtin
0e091b0365
Fix #14420 . Check for PyLong as well as PyInt when converting in Py2Reg.
...
This fixes a ValueError seen in winreg.SetValueEx when passed long
winreg.REG_DWORD values that should be supported by the underlying API.
2012-12-27 12:28:51 -06:00
Hynek Schlawack
4a5a4c2808
#16618 : Add more glob regression tests
...
Mostly about symlinks and str/unicode behavior.
Patch by Serhiy Storchaka.
2012-12-27 10:24:21 +01:00
Senthil Kumaran
2f01e239cb
Issue #16702 : Skip proxies for localhost in urllib2_localnet tests
2012-12-26 01:45:22 -08:00
Kristján Valur Jónsson
b0d1c37d73
Issue #14574 : Ignore socket errors raised when flushing a connection on close.
2012-12-25 22:46:32 +00:00
Kristján Valur Jónsson
2380feeff8
issue #879399
...
Fix line buffering of socket._fileobject
2012-12-25 13:04:50 +00:00
Ezio Melotti
94704fc25b
#16765 : remove unused import.
2012-12-25 14:25:47 +02:00
Senthil Kumaran
1974baadc6
Fix issue16713 - tel url parsing with params
2012-12-24 13:56:54 -08:00
Andrew Svetlov
332562f447
Keep ref to ECHILD in local scope ( #16650 )
2012-12-24 20:09:27 +02:00
Mark Dickinson
9fade768c8
Issue #13863 : fix incorrect .pyc timestamps on Windows / NTFS (apparently due to buggy fstat)
2012-12-24 16:33:18 +00:00
Andrew Svetlov
d8590ff209
Issue #16511 : Use default IDLE width and height if config param is not valid.
...
Patch Serhiy Storchaka.
2012-12-24 13:17:59 +02:00
Senthil Kumaran
f8a6b005fd
Fix Issue15701 - HTTPError info method call raises AttributeError. Fix that to return headers correctly
2012-12-23 09:00:47 -08:00
Andrew Svetlov
cddcafaf6b
Issue #16045 : add more unit tests for built-in int()
...
Patch by Chris Jerdonek.
2012-12-23 12:44:04 +02:00
Petri Lehtinen
ab7dd183f3
#8853 : Allow port to be of type long for socket.getaddrinfo()
2012-12-20 21:09:56 +02:00
Benjamin Peterson
a2d6d7121e
call close on the underlying stream even if flush raises ( #16597 )
2012-12-20 12:24:10 -06:00
Andrew Svetlov
bacf1bf355
replace threw with raised ( #16714 )
2012-12-19 22:49:01 +02:00
Andrew Svetlov
bd644608bd
revert comment wording ( #16714 )
2012-12-19 22:47:05 +02:00
Andrew Svetlov
4bb142b1b7
Issue #16714 : use 'raise' exceptions, don't 'throw'.
...
Patch by Serhiy Storchaka.
2012-12-18 21:27:37 +02:00
Andrew Svetlov
80ab6c53c6
merge heads
2012-12-17 19:07:57 +02:00
Andrew Svetlov
ed3f6c6c79
Issue #16647 : save socket error details in LMTP.connect()
...
Patch by Serhiy Storchaka.
2012-12-17 19:06:43 +02:00
Giampaolo Rodola'
c2a8169aa3
Fix issue #16646 : ftplib.FTP.makeport() might lose socket error details. (patch by Serhiy Storchaka)
2012-12-17 14:30:48 +01:00
Antoine Pitrou
124ee8b1ab
Issue #16626 : Fix infinite recursion in glob.glob() on Windows when the pattern contains a wildcard in the drive or UNC path.
...
Patch by Serhiy Storchaka.
2012-12-16 13:55:47 +01:00
Hynek Schlawack
646c7b5086
#16664 : Add regression tests for glob's behaviour concerning "."-entries
...
Patch by Sebastian Kreft.
2012-12-16 12:30:57 +01:00
Antoine Pitrou
4113d2bd36
Issue #16298 : In HTTPResponse.read(), close the socket when there is no Content-Length and the incoming stream is finished.
...
Patch by Eran Rundstein.
2012-12-15 19:11:54 +01:00
Andrew Svetlov
33b9b71e8d
Issue #16582 : use int exit code in tkinter._exit
2012-12-10 00:05:08 +02:00
Antoine Pitrou
7dddec4e9d
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.
2012-12-09 14:46:18 +01:00
Éric Araujo
367efc254d
Branch merge
2012-12-08 22:45:09 -05:00
Éric Araujo
9e06e8d5de
Use proper skip instead of reporting success in one distutils test
2012-12-08 22:30:47 -05:00
Éric Araujo
2320fa08a8
Fix setup.py register failure with invalid rst in description ( #13614 ).
...
Original patch by Julien Courteau and Pierre Paul Lefebvre.
2012-12-08 22:26:57 -05:00
Antoine Pitrou
d38c990bb7
Issue #16602 : When a weakref's target was part of a long deallocation chain, the object could remain reachable through its weakref even though its refcount had dropped to zero.
...
Thanks to Eugene Toder for diagnosing and reporting the issue.
2012-12-08 21:15:26 +01:00
Éric Araujo
26ea4a08a3
Remove code unneeded after f833e7ec4de1
2012-12-08 14:41:39 -05:00
Victor Stinner
8c7c697e49
Issue #15747 : skip chflags UF_IMMUTABLE tests if EOPNOTSUPP is raised.
...
This is necessary for ZFS systems, which don't support UF_IMMUTABLE.
--
Kubilay Kocak (koobs) asked me on IRC to backport this fix to Python 2.7: done!
2012-12-04 10:07:16 +01:00
Antoine Pitrou
74635c9177
Fix test splitting in previous commit.
2012-12-03 21:08:43 +01:00
Antoine Pitrou
735f36edb8
Split the bigmem re test in two separate tests with different memory requirements.
2012-12-03 20:53:12 +01:00
Antoine Pitrou
b83575b0a5
Issue #10182 : The re module doesn't truncate indices to 32 bits anymore.
...
Patch by Serhiy Storchaka.
2012-12-02 12:52:36 +01:00
Raymond Hettinger
80e9eedd12
Minor fixups. Early-out for equality test. Inline PREV/NEXT constants.
2012-12-01 19:22:02 -08:00
Benjamin Peterson
71966058a8
fix spelling
2012-11-30 16:13:14 -05:00
Benjamin Peterson
8a1a17b309
Remove redundant check for symlink. ( closes #6036 )
...
Patch by Bruno Dupuis.
2012-11-30 16:12:15 -05:00
Benjamin Peterson
ed10a30ed6
enumerate only requires an iterable ( closes #16573 )
...
Patch by Jonathan Kotta.
2012-11-29 10:55:22 -05:00
Andrew Svetlov
ac26a2e736
Issue #16477 : Close tarfile internal handlers in case of exception.
...
Patch by Serhiy Storchaka.
2012-11-29 14:22:26 +02:00
Ezio Melotti
43acbf1fd6
#16549 : fix test failures on Windows.
2012-11-29 05:08:54 +02:00
Ezio Melotti
def6ee5979
#16476 : Fix json.tool to avoid including trailing whitespace.
2012-11-29 02:22:49 +02:00
Ezio Melotti
d8feba904c
#16549 : Add tests for json.tools. Initial patch by Berker Peksag and Serhiy Storchaka.
2012-11-29 02:14:52 +02:00
Ezio Melotti
3a237ebcaa
#16333 : document a way to get rid of trailing whitespace when indent is used.
2012-11-29 00:22:30 +02:00
Ezio Melotti
282d331ec7
#16559 : Add more tests for the json module. Patch by Serhiy Storchaka.
2012-11-26 19:22:58 +02:00
Mark Dickinson
b1cc6aa2df
Issue #9011 : AST creation no longer modifies CST for negated numeric literals.
2012-11-25 17:11:33 +00:00
Mark Dickinson
1658797a9d
Issue #16339 : Document and test exec(stmt, globals, locals) form in Python 2.7.
2012-11-25 13:25:57 +00:00
Antoine Pitrou
508d7d356e
test_winsound should require the "audio" resource, as it does on 3.x.
...
(this should fix some buildbot test failures)
2012-11-24 18:25:25 +01:00
Ezio Melotti
ec6486d52d
#16306 : report only the first unknown option and add more tests. Patch by Serhiy Storchaka.
2012-11-23 18:46:11 +02:00
Raymond Hettinger
0ec8f48b99
Remove steps no longer needed once __del__ was removed
2012-11-20 21:42:44 -08:00
Raymond Hettinger
ec5046b76b
Fit nit: the return got dropped from an earlier check-in
2012-11-20 21:11:26 -08:00
Antoine Pitrou
b83ea144cc
Issue #1160 : Fix compiling large regular expressions on UCS2 builds.
...
Patch by Serhiy Storchaka.
2012-11-20 22:30:42 +01:00
Ezio Melotti
6451497df1
#7782 : add a test for test_iter.
2012-11-18 23:14:42 +02:00
Ezio Melotti
db5947f0f3
#16306 : Fix multiple error messages when unknown command line parameters where passed to the interpreter. Patch by Hieu Nguyen.
2012-11-18 13:46:38 +02:00
Ezio Melotti
9e94972eed
#14313 : zipfile now raises NotImplementedError when the compression type is unknown.
2012-11-18 13:18:06 +02:00
Antoine Pitrou
02512fb1cf
Issue #16408 : Fix file descriptors not being closed in error conditions in the zipfile module.
...
Patch by Serhiy Storchaka.
2012-11-17 23:56:53 +01:00
Antoine Pitrou
e3ae321222
Issue #15379 : Fix passing of non-BMP characters as integers for the charmap decoder (already working as unicode strings).
...
Patch by Serhiy Storchaka.
2012-11-17 21:14:58 +01:00
Jesus Cea
f34e4de3f5
Closes #16461 : Wave library should be able to deal with 4GB wav files, and sample rate of 44100 Hz.
2012-11-17 03:38:17 +01:00
Antoine Pitrou
b704eab599
Issue #16453 : Fix equality testing of dead weakref objects.
...
Also add tests for hashing.
2012-11-11 19:36:51 +01:00
Gregory P. Smith
027d6fcebd
remove an obsolete comment
2012-11-11 10:13:06 -08:00
Gregory P. Smith
f047ba83e8
Refactor test_preexec_errpipe to not create an uncollectable reference cycle.
2012-11-11 09:49:02 -08:00
Nadeem Vawda
04050b80b1
Issue #15677 : Document that zlib and gzip accept a compression level of 0 to mean 'no compression'.
...
Patch by Brian Brazil.
2012-11-11 13:52:10 +01:00