R David Murray
94dd7cb0c7
#15509 : If %action substitution produces a null string, drop it.
Patch by Anton Barkovsky, comment addition by me.
This showed up as a bug in 3.3 because the definition for Chrome
produced such an empty string. This fix is tested in 3.3+;
backporting the new test suite is more trouble than it is worth.
14 years ago
Benjamin Peterson
2e2c903700
prevert ast errors from being normalized before ast_error_finish is called ( closes #15846 )
14 years ago
Petri Lehtinen
1c371b255f
#15802 : Fix test logic in TestMaildir.test_create_tmp
14 years ago
R David Murray
6fb8fb17bf
#12776,#11839: call argparse type function only once.
Before, the type function was called twice in the case where the default
was specified and the argument was given as well. This was especially
problematic for the FileType type, as a default file would always be
opened, even if a file argument was specified on the command line.
Patch by Arnaud Fontaine, with additional test by Mike Meyer.
14 years ago
Antoine Pitrou
ecc4757b79
Issue #15800 : fix the closing of input / output files when gzip is used as a script.
14 years ago
Benjamin Peterson
28a6cfaefc
use the stricter PyMapping_Check ( closes #15801 )
14 years ago
Georg Brandl
c8076dfa9d
Fix wrong way of adding Error information in shutil.copytree.
14 years ago
Mark Dickinson
6f64796c22
Remove overeager test (don't depend on the sign of a nan; cf. issue #14521 )
14 years ago
Mark Dickinson
448f57762d
Remove incorrect lines (meant for cdecimal) from recently added Decimal tests.
14 years ago
Mark Dickinson
e4204bcfb7
Issue #15544 : Fix Decimal.__float__ to work with payload-carrying NaNs.
14 years ago
Georg Brandl
a61b09f406
Closes #9374 : add back now-unused module attributes; removing them is a backward compatibility issue, since they have a public-seeming name.
14 years ago
R David Murray
638d40b433
#15249 : Mangle From lines correctly when body contains invalid bytes.
Fix by Colin Su. Test by me, based on a test written by Petri Lehtinen.
14 years ago
Trent Nelson
ee253ebf62
Issue #15747 : skip chflags UF_IMMUTABLE tests if EOPNOTSUPP is raised.
This is necessary for ZFS systems, which don't support UF_IMMUTABLE.
14 years ago
Ezio Melotti
1b47bf43a6
#15752 : s/assertRaisesRegexp/assertRaisesRegex/g
14 years ago
Stefan Krah
7cacd2eb92
Issue #15736 : Fix overflow in _PySequence_BytesToCharpArray().
14 years ago
Trent Nelson
514dbb03ba
Issue #15285 : Refactor connect timeout test in test_timeout.
14 years ago
Petri Lehtinen
c6fdafcdf3
#15199 : Fix JavaScript's default MIME type to application/javascript
14 years ago
Stefan Krah
db579d7b25
Issue #15738 : Fix a missing NULL check in subprocess_fork_exec().
14 years ago
Stefan Krah
fd24f9e51e
Issue #15732 : Fix (constructed) crash in _PySequence_BytesToCharpArray().
Found by Coverity.
14 years ago
R David Murray
e56bf97ef4
#13579 : teach string.Formatter about 'a'.
Patch by Francisco Martín Brugué.
14 years ago
Andrew Svetlov
828607170d
Issue #15595 : Fix subprocess.Popen(universal_newlines=True)
for certain locales (utf-16 and utf-32 family).
Patch by Chris Jerdonek.
14 years ago
Antoine Pitrou
b47ea9a6fe
Issue #15615 : Add some tests for the json module's handling of invalid input data.
Patch by Kushal Das.
14 years ago
Mark Dickinson
05d79e9abf
Issue #15477 : Add workaround for log1p(-0.0) on platforms where it's broken.
14 years ago
Petri Lehtinen
88614948c0
#11062 : Fix universal newline support in Babyl._install_message()
When adding a message from a binary file, \r\n was translated to
\r\r\n in the message body.
14 years ago
Petri Lehtinen
3d12c4317c
#11062 : Fix adding a message from file to Babyl mailbox
14 years ago
R David Murray
2b209cd78d
#15269 : document dircmp.left and right, and add tests for them.
Patch by Chris Jerdonek.
14 years ago
Andrew Svetlov
f3765071eb
Add test to explicit check the absence regression in subprocess (issue #15592 ).
Patch by Chris Jerdonek.
14 years ago
Richard Oudkerk
e88a2445bc
Issue #15646 : Prevent equivalent of a fork bomb when using multiprocessing
on Windows without the "if __name__ == '__main__'" idiom.
14 years ago
Brian Curtin
6f5c5cb75b
Fix #15496 . Add directory removal helpers to make Windows tests more reliable. Patch by Jeremy Kloth
14 years ago
Georg Brandl
7b250a5cff
Revert 961a15aff2a6, this is already checked in another way.
14 years ago
Georg Brandl
22bfa37ed0
Closes #15620 : check for presence of readline.clear_history(), which is apparently missing on some readline versions, before calling it in the test.
14 years ago
Meador Inge
03b4d5072a
Issue #15424 : Add a __sizeof__ implementation for array objects.
Patch by Ludwig Hähne.
14 years ago
Ned Deily
c622f4254b
Issue #14992 : Prevent test_os test_exist_ok_s_isgid_directory test case
failure on OS X built with 10.4 ABI.
14 years ago
Antoine Pitrou
e768c39890
Fix CGI tests to take into account the platform's line ending (issue #13119 )
14 years ago
Antoine Pitrou
ec2d26930c
Fix universal newlines test to avoid the newline translation done by sys.stdout.
14 years ago
Antoine Pitrou
894375a2fd
Fix test_sys under Windows (issue #13119 )
14 years ago
Andrew Svetlov
5ad514d281
Issue #13052 : Fix IDLE crashing when replace string in Search/Replace dialog ended with '\'.
Patch by Roger Serwy.
14 years ago
Victor Stinner
90ef747e04
Close #13119 : use "\r\n" newline for sys.stdout/err on Windows
sys.stdout and sys.stderr are now using "\r\n" newline on Windows, as Python 2.
14 years ago
Jesus Cea
676e73b3fb
#15512 : Remove remnants of debugging code
14 years ago
Jesus Cea
16e2fca47e
Closes #15469 : Correct __sizeof__ support for deque
14 years ago
Jesus Cea
e9c5318967
Closes #15512 : Correct __sizeof__ support for parser
14 years ago
Martin v. Löwis
4c1730db7c
Issue #8847 : Disable COMDAT folding in Windows PGO builds.
Analysis by Victor Stinner. Patch by Stefan Krah.
14 years ago
Andrew Svetlov
06c5c6d694
Issue #9803 : Don't close IDLE on saving if breakpoint is open.
Patch by Roger Serwy.
14 years ago
Andrew Svetlov
1fb0e3f3a2
Issue #12288 : Consider '0' and '0.0' as valid initialvalue for tkinter SimpleDialog.
14 years ago
Ned Deily
c556c64405
Issue #14018 : Update the OS X IDLE Tcl/Tk warning check to include
the Apple-supplied Tck/Tk versions shipped with OS X 10.7 and 10.8.
They are not as buggy as the 10.6 version but can still easily crash.
14 years ago
Antoine Pitrou
8f328d0c1d
Issue #15489 : Add a __sizeof__ implementation for BytesIO objects.
Patch by Serhiy Storchaka.
14 years ago
Antoine Pitrou
10f0c50a0b
Issue #15487 : Add a __sizeof__ implementation for buffered I/O objects.
Patch by Serhiy Storchaka.
14 years ago
Martin v. Löwis
33f799725c
Issue #15467 : Move helpers for __sizeof__ tests into test_support.
Patch by Serhiy Storchaka.
14 years ago
Meador Inge
90bc2dbcce
Issue #15402 : Simplify Struct.__sizeof__ and make tests more precise.
14 years ago
Richard Oudkerk
4887b1c0e7
Issue #6056 : Make multiprocessing use setblocking(True) on the sockets it uses.
Original patch by J Derek Wilson.
14 years ago