Serhiy Storchaka
c472246d81
Issue #10131 : Fixed deep copying of minidom documents. Based on patch
...
by Marian Ganisin.
2015-11-26 23:49:42 +02:00
Serhiy Storchaka
d28bb624d1
Issue #24097 : Fixed crash in object.__reduce__() if slot name is freed inside
...
__getattr__. Original patch by Antoine Pitrou.
2015-11-25 18:33:29 +02:00
Serhiy Storchaka
33e7ea5ad6
Issue #25616 : Tests for OrderedDict are extracted from test_collections
...
into separate file test_ordered_dict.
2015-11-25 17:09:01 +02:00
Serhiy Storchaka
15095800a3
Issue #24731 : Fixed crash on converting objects with special methods
...
__bytes__, __trunc__, and __float__ returning instances of subclasses of
bytes, int, and float to subclasses of bytes, int, and float correspondingly.
2015-11-25 15:47:01 +02:00
Martin Panter
ed92910852
Issue #25663 : Make rlcompleter avoid duplicate global names
2015-11-23 23:50:26 +00:00
Serhiy Storchaka
e3d4ec4766
Issue #25688 : Fixed file leak in ElementTree.iterparse() raising an error.
2015-11-23 15:44:03 +02:00
Serhiy Storchaka
e9b3074cf9
Issue #23914 : Fixed SystemError raised by unpickler on broken pickle data.
2015-11-23 15:17:43 +02:00
Serhiy Storchaka
b6aa5375d5
Issue #25691 : Fixed crash on deleting ElementTree.Element attributes.
2015-11-23 08:42:25 +02:00
Serhiy Storchaka
8bc792a602
Issue #25624 : ZipFile now always writes a ZIP_STORED header for directory
...
entries. Patch by Dingyuan Wang.
2015-11-22 14:49:58 +02:00
Serhiy Storchaka
04d759b1e4
Issue #19687 : Fixed memory leak on failed Element slice assignment.
...
Added new tests for Element slice assignments.
2015-11-22 12:18:38 +02:00
Serhiy Storchaka
b42de2f309
Issue #25686 : test_shutil no longer uses the distutils package for searching
...
and running external archivers.
2015-11-21 14:09:26 +02:00
Yury Selivanov
0f3c9765d4
asyncio: Fix with github
...
See https://github.com/python/asyncio/pull/295 for details
2015-11-20 12:57:34 -05:00
Yury Selivanov
a211a7a0e7
asyncio.tests: Fix whitespace
2015-11-20 12:43:52 -05:00
Yury Selivanov
b485bb416c
asyncio: Sync with github
2015-11-20 12:39:43 -05:00
Martin Panter
a82642f9db
Issue #25583 : Avoid incorrect errors raised by os.makedirs(exist_ok=True)
2015-11-19 04:48:44 +00:00
Guido van Rossum
41f69f4cc7
Issue #25593 : Change semantics of EventLoop.stop().
2015-11-19 13:28:47 -08:00
Yury Selivanov
5d7e3b6cd2
asyncio: Cleanup Future API
...
See https://github.com/python/asyncio/pull/292 for details.
2015-11-17 12:19:41 -05:00
Yury Selivanov
5bb1afb332
asyncio: Add Transport.is_closing()
...
See https://github.com/python/asyncio/pull/291 for details.
2015-11-16 12:43:21 -05:00
Martin Panter
6e0889f0c7
Issue #20220 : Add DST rules to work around glibc quirk
...
This was triggering intermittent failures in unrelated tests.
2015-11-16 07:21:38 +00:00
Serhiy Storchaka
e28209f251
Issue #9051 : Added tests for pickling and copying the timezone objects.
2015-11-16 11:12:58 +02:00
Serhiy Storchaka
0d441119f5
Issue #25388 : Fixed tokenizer crash when processing undecodable source code
...
with a null byte.
2015-11-14 15:10:35 +02:00
Martin Panter
2e4571a456
Fix a few grammar problems in the documentation and comments
2015-11-14 01:07:43 +00:00
Martin Panter
06622ead80
Issue #25590 : Make rlcompleter only call getattr() once per attribute
...
Previously it was called another time via hasattr(), and both calls were
made once for dir(f) and again for dir(f.__class__). This includes a
backport of changing from a list to a set from revision 4dbb315fe667.
2015-11-13 22:47:00 +00:00
Yury Selivanov
abe9625eeb
asyncio: Fix sporadic failing unittests in debug mode
2015-11-13 12:28:48 -05:00
Serhiy Storchaka
84023247b4
Issue #25607 : Restore old distutils logging threshold after running tests that
...
parse command line arguments.
2015-11-12 19:46:23 +02:00
Serhiy Storchaka
d7a4415599
Issue #22995 : Default implementation of __reduce__ and __reduce_ex__ now
...
rejects builtin types with not defined __new__.
Added tests for non-pickleable types.
2015-11-12 11:23:04 +02:00
Benjamin Peterson
a9dcdabccb
always set OP_NO_SSLv3 by default ( closes #25530 )
2015-11-11 22:38:41 -08:00
Serhiy Storchaka
e1dc3d47e0
Issue #6598 : Avoid clock wrapping around in test_make_msgid_collisions.
...
Use time.monotonic or time.time instead of time.clock.
2015-11-10 19:50:14 +02:00
Serhiy Storchaka
411dfd871c
Issue #22643 : Skip test_case_operation_overflow on computers with low memory.
2015-11-07 16:54:48 +02:00
Serhiy Storchaka
608c213530
Issue #892902 : Added new tests for pickling recursive collections.
2015-11-07 11:16:10 +02:00
Martin Panter
eeb896c411
Issue #24802 : Copy bytes-like objects to null-terminated buffers if necessary
...
This avoids possible buffer overreads when int(), float(), compile(), exec()
and eval() are passed bytes-like objects. Similar code is removed from the
complex() constructor, where it was not reachable.
Patch by John Leitch, Serhiy Storchaka and Martin Panter.
2015-11-07 02:32:21 +00:00
Martin Panter
9ad0aae656
Issue #18010 : Fix pydoc web server search to handle package exceptions
...
Implementation by Antoine Pitrou.
2015-11-06 00:27:14 +00:00
Yury Selivanov
ade0412613
asyncio: Optimize asyncio.sleep(0)
2015-11-05 14:29:04 -05:00
Serhiy Storchaka
d65c9496da
Issue #25523 : Further a-to-an corrections.
2015-11-02 14:10:23 +02:00
Martin Panter
7462b64911
Issue #25523 : Correct "a" article to "an" article
...
This changes the main documentation, doc strings, source code comments, and a
couple error messages in the test suite. In some cases the word was removed
or edited some other way to fix the grammar.
2015-11-02 03:37:02 +00:00
Serhiy Storchaka
314464d0ab
Issue #25510 : fileinput.FileInput.readline() now returns b'' instead of ''
...
at the end if the FileInput was opened with binary mode.
Patch by Ryosuke Ito.
2015-11-01 16:43:58 +02:00
Serhiy Storchaka
ea4cb63e68
Issue #21827 : Fixed textwrap.dedent() for the case when largest common
...
whitespace is a substring of smallest leading whitespace.
Based on patch by Robert Li.
2015-10-28 21:39:36 +02:00
Martin Panter
5487c13e44
Issue #23391 : Restore OSError constructor argument documentation
...
This restores details lost in revision 097f4fda61a4 (since Python 3.3,
related to the new OSError subclasses). Further additions:
* Markup for attributes and constructor signature
* Explain "winerror" and "filename2"
* Extend test to check for filename2 defaulting to None
* Clarify that the constructor can return a subclass
I have intentionally left out any details of allowing more than five
arguments, or how the "args" attribute is set for four or more arguments.
These details seem to be dependent on the Python version and platform.
2015-10-26 11:05:42 +00:00
Zachary Ware
f085a16f55
Issue #25456 : Fix test_idle when Tcl/Tk DLLs are loaded from python.exe's home
...
rather than from elsewhere on PATH.
2015-10-24 23:22:16 -05:00
Benjamin Peterson
d9dbf49383
accepted sockets shouldn't inherit the SOCK_NONBLOCK flag ( closes #25471 )
2015-10-24 20:06:04 -07:00
Guido van Rossum
06d48dbea8
Fix whitespace.
2015-10-19 12:00:04 -07:00
Guido van Rossum
c44ecdf687
Issue #25441 : asyncio: Raise error from drain() when socket is closed.
2015-10-19 11:49:30 -07:00
Vinay Sajip
277640af0f
Closes #25411 : Improved Unicode support in SMTPHandler.
2015-10-17 16:13:10 +01:00
Zachary Ware
83fd0a81a4
Issue #25093 : Fix test_tcl's testloadWithUNC for paths with spaces
...
Patch by Serhiy Storchaka.
2015-10-12 23:27:58 -05:00
Serhiy Storchaka
1fdc80b55f
Cleanup test_descr: remove C8 that is the same as C3.
2015-10-11 17:42:39 +03:00
Brett Cannon
89065d9fc7
Issue #25099 : Skip relevant tests in test_compileall when an entry on
...
sys.path has an unwritable __pycache__ directory.
This typically comes up when someone runs the test suite from an
administrative install of Python on Windows where the user does not
have write permissions to the stdlib's directory.
Thanks to Zachary Ware and Matthias Klose for reporting bugs related
to this issue.
(grafted from 34bbd537b3e688dfbb6498e9083445a6a72fc4b1)
2015-10-09 15:09:43 -07:00
Serhiy Storchaka
7b2cfc4465
Issue #25365 : test_pickle now works in threads disabled builds.
2015-10-10 20:10:07 +03:00
Martin Panter
7c6420a552
Issue #25322 : Fix test for nested contextlib.suppress
2015-10-10 11:04:44 +00:00
Martin Panter
e44dba3b4f
Issue #24402 : Factor out PtyTests.run_child() in input() tests
...
This reuses existing code to hopefully make the new test_input_no_stdout_
fileno() test work. It is hanging Free BSD 9 and OS X Tiger buildbots, and I
don't know why.
2015-10-10 05:27:15 +00:00
Martin Panter
c9a6ab56cf
Issue #24402 : Fix input() when stdout.fileno() fails; diagnosed by Eryksun
...
Also factored out some test cases into a new PtyTests class.
2015-10-10 01:25:38 +00:00