Serhiy Storchaka
beaa3adae9
Issue #10355 : SpooledTemporaryFile properties and xreadline method now work for unrolled files.
14 years ago
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.
14 years ago
Serhiy Storchaka
35c52b687f
Issue #17073 : Fix some integer overflows in sqlite3 module.
14 years ago
Serhiy Storchaka
4a88041444
Issue #17118 : Add new tests for testing Python-Tcl interaction.
14 years ago
Serhiy Storchaka
8e8bbc5e7d
Fix test_from_dll* in test_returnfuncptrs.py.
14 years ago
R David Murray
9b3085cdf5
#17142 : fix apparent copy and paste error in test_all.
14 years ago
Serhiy Storchaka
28ababcda4
Temporarily disable test_from_dll in test_returnfuncptrs.py for Windows.
14 years ago
Serhiy Storchaka
a07a8b4f18
Issue #6083 : Fix multiple segmentation faults occured when PyArg_ParseTuple
parses nested mutating sequence.
14 years ago
Benjamin Peterson
f727c31133
fix find_library on Solaris ( closes #5289 )
14 years ago
É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.
14 years ago
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).
14 years ago
Ned Deily
cc23cc672f
Issue #16698 : Skip posix test_getgroups when built with OS X
deployment target prior to 10.6.
14 years ago
Antoine Pitrou
d66c0ee76e
Issue #15633 : httplib.HTTPResponse is now mark closed when the server sends less than the advertised Content-Length.
14 years ago
Serhiy Storchaka
2a051fa117
Fix test for issue #6972 .
14 years ago
Serhiy Storchaka
05fd744122
Preserve backslashes in malicious zip files for testing issue #6972 .
14 years ago
Benjamin Peterson
eff492f4b7
Issue #15881 : Fixed atexit hook in multiprocessing.
14 years ago
Serhiy Storchaka
13e56c73b7
Fix the test and remove trailing dots on Windows for issue #6972 .
14 years ago
Serhiy Storchaka
7c068750b6
Fix translating of illegal characters on Windows (issue #6972 ).
14 years ago
Serhiy Storchaka
23298cb7f5
Fix tests for issue #11159 .
14 years ago
Serhiy Storchaka
8673ab97cc
Issue #11159 : SAX parser now supports unicode file names.
14 years ago
Gregory P. Smith
608cc451c7
Fixes Issue #6972 : The zipfile module no longer overwrites files outside of
its destination path when extracting malicious zip files.
14 years ago
doko@python.org
d65e2bab3b
- Issue #17086 : Backport the patches from the 3.3 branch to cross-build
the package.
14 years ago
Serhiy Storchaka
c5200b489d
Issue #17041 : Fix doctesting when Python is configured with the
--without-doc-strings.
14 years ago
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).
14 years ago
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.
14 years ago
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.
14 years ago
Michael Foord
77cd8aab23
Issue 15505. unittest.installHandler and non callable signal handlers
14 years ago
Serhiy Storchaka
74e449fe6a
Add tests for raw-unicode-escape codec.
14 years ago
Serhiy Storchaka
7277f9d099
Clean up escape-decode decoder tests.
14 years ago
Serhiy Storchaka
c8e58126a2
Issue #16979 : Fix error handling bugs in the unicode-escape-decode decoder.
14 years ago
Serhiy Storchaka
80a0a1e170
Fix skip conditions in some docstings tests.
14 years ago
Serhiy Storchaka
72121c6c30
- Issue #17041 : Fix testing when Python is configured with the
--without-doc-strings option.
14 years ago
Stefan Krah
4216aa1e52
Adapt test for build --without-doc-strings.
14 years ago
Serhiy Storchaka
6fef14d7f3
Optimize the test for issue #13454 .
Now it requires almost 4x less memory and is almost 2x faster.
14 years ago
Serhiy Storchaka
01b3a08f5e
Issue #16975 : Fix error handling bug in the escape-decode decoder.
14 years ago
Serhiy Storchaka
9abc830c6a
Issue #9290 : In IDLE the sys.std* streams now implement io.TextIOBase
interface and support all mandatory methods and properties.
14 years ago
Serhiy Storchaka
b09ec9b618
Issue #13454 : Fix a crash when deleting an iterator created by itertools.tee()
if all other iterators were very advanced before.
14 years ago
Serhiy Storchaka
7ee79a2823
Don't run the test for issue #16335 when -M is not specified.
Increase memory limit in this test.
14 years ago
Ezio Melotti
f5da3ec5ee
#11379 : rephrase minidom documentation to use the term "minimal" instead of "lightweight". Patch by Éric Araujo.
14 years ago
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.
14 years ago
Serhiy Storchaka
e3adb43b4b
Add bigmemtest decorator to test of issue #16335 .
14 years ago
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 .
14 years ago
Christian Heimes
4d70e583ab
fix for f4d30d1a529e
Python 2.7 has only assertRaisesRegexp, not assertRaisesRegex
14 years ago
Serhiy Storchaka
1d3acd4b59
Issue #16335 : Fix integer overflow in unicode-escape decoder.
14 years ago
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 ).
14 years ago
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.
14 years ago
Benjamin Peterson
2f78f0e1f9
support -> test_support
14 years ago
Benjamin Peterson
08e153ae37
check windows fd validity ( closes #16992 )
14 years ago
Frank Wierzbicki
65a9f36981
Closed #16886 : test_dictcomps no longer depends on dict order
14 years ago
Vinay Sajip
51b55517a1
Issue #9501 : Improved shutdown handling to deal with module attributes correctly.
14 years ago