R David Murray
317f64f048
#21815 : violate IMAP RFC to be compatible with, e.g., gmail
...
and others, including imaplib's own behavior. I'm applying this only to 3.6
because there's a potential backward compatibility concern: if there are
servers that include ] characters in the 'text' portion of their imap
responses, this code change could introduce a new bug.
Patch by Lita Cho, reviewed by Jessica McKellar, Berker Peksag, Maciej Szulik,
silentghost, and me (I fleshed out the comments with the additional
info/concerns.)
2016-01-02 17:18:34 -05:00
R David Murray
01759d5554
Merge: #22709 : Use stdin as-is if it does not have a buffer attribute.
2016-01-02 15:43:44 -05:00
R David Murray
830207e8f3
#22709 : Use stdin as-is if it does not have a buffer attribute.
...
This restores backward compatibility lost in the fix for #21075 , and
is better duck typing.
Patch by Akira Li.
2016-01-02 15:41:41 -05:00
Gregory P. Smith
a313538381
Remove a duplicate test_addresses key:value as identified by Vincent
...
Davis reviewing code.
2016-01-01 17:42:30 -08:00
Gregory P. Smith
9ecf00e7cb
Remove a duplicate test_addresses key:value as identified by Vincent
...
Davis reviewing code.
2016-01-01 17:41:46 -08:00
Serhiy Storchaka
58f8833e4c
Make catched exception more specific and correct a comment.
2015-12-30 21:00:29 +02:00
Serhiy Storchaka
beb652ccc1
Make catched exception more specific and correct a comment.
2015-12-30 21:00:08 +02:00
Serhiy Storchaka
0d250bc119
Issue #25971 : Optimized creating Fractions from floats by 2 times and from
...
Decimals by 3 times.
Unified error messages in float.as_integer_ratio(), Decimal.as_integer_ratio(),
and Fraction constructors.
2015-12-29 22:34:23 +02:00
Benjamin Peterson
5aab44b301
merge 3.5 ( #25973 )
2015-12-29 10:08:51 -06:00
Benjamin Peterson
3cc8f4b969
make recording and reporting errors and nonlocal and global directives more robust ( closes #25973 )
2015-12-29 10:08:34 -06:00
Brett Cannon
838629a1fe
Issue #25234 : Skip test_eintr.test_os_open under OS X.
...
Test inconsistently hangs.
2015-12-28 17:23:35 -08:00
Brett Cannon
3bbad12b5b
Tweak skipping message
2015-12-28 17:21:44 -08:00
Brett Cannon
b4783f4bc1
Merge
2015-12-28 17:18:21 -08:00
Brett Cannon
3c61a448f1
Issue #24725 : Skip the test_socket.testFDPassEmpty on OS X.
...
In OS X 10.11, the test fails consistently due to a platform change
since 10.10. Thanks to Jeff Ramnani for the patch.
2015-12-28 17:17:58 -08:00
Stefan Krah
150660eefd
Issue #25940 : Make buildbots usable again until a solution is found.
2015-12-29 02:15:35 +01:00
Stefan Krah
2335f44d8e
Issue #25928 : Temporarily disable some tests in test_statistics in order
...
to sort out its assumptions about the as_integer_ratio() interface.
2015-12-29 00:11:36 +01:00
Stefan Krah
e3f359c71c
Merge.
2015-12-28 23:12:52 +01:00
Stefan Krah
53f2e0ad45
Issue #25928 : Add Decimal.as_integer_ratio(). Python parts and docs by
...
Mark Dickinson.
2015-12-28 23:02:02 +01:00
Serhiy Storchaka
3f1b95b4ae
Merge heads
2015-12-29 00:01:31 +02:00
Serhiy Storchaka
e3a7d26aa6
Issue #25447 : Copying the lru_cache() wrapper object now always works,
...
independedly from the type of the wrapped object (by returning the original
object unchanged).
2015-12-28 23:59:09 +02:00
Serhiy Storchaka
e4d65e3aab
Issue #25447 : Copying the lru_cache() wrapper object now always works,
...
independedly from the type of the wrapped object (by returning the original
object unchanged).
2015-12-28 23:58:07 +02:00
Ezio Melotti
ac1e7f6983
Remove duplicate method in test_pathlib. Initial patch by Navneet Suman.
2015-12-28 23:50:19 +02:00
Brett Cannon
1e3c3e906c
Issue #25768 : Make compileall functions return booleans and document
...
the return values as well as test them.
Thanks to Nicholas Chammas for the bug report and initial patch.
2015-12-27 13:17:04 -08:00
Serhiy Storchaka
f9253c96fd
Issue #22995 : Instances of extension types with a state that aren't
...
subclasses of list or dict and haven't implemented any pickle-related
methods (__reduce__, __reduce_ex__, __getnewargs__, __getnewargs_ex__,
or __getstate__), can no longer be pickled. Including memoryview.
2015-12-25 21:05:35 +02:00
Serhiy Storchaka
f81be8aa3f
Issue #22995 : Instances of extension types with a state that aren't
...
subclasses of list or dict and haven't implemented any pickle-related
methods (__reduce__, __reduce_ex__, __getnewargs__, __getnewargs_ex__,
or __getstate__), can no longer be pickled. Including memoryview.
2015-12-25 21:04:29 +02:00
Serhiy Storchaka
85896f72d5
Issue #25860 : Fixed test failure caused by inconsistency of os.walk() and
...
os.fwalk() parameter names.
2015-12-23 00:37:50 +02:00
Serhiy Storchaka
a17ca19d34
Issue #25860 : Fixed test failure caused by inconsistency of os.walk() and
...
os.fwalk() parameter names.
2015-12-23 00:37:34 +02:00
Serhiy Storchaka
345e78e566
Issue #25860 : os.fwalk() no longer skips remaining directories when error occurs.
...
Original patch by Samson Lee.
2015-12-23 00:09:01 +02:00
Serhiy Storchaka
0bddc9eb15
Issue #25860 : os.fwalk() no longer skips remaining directories when error occurs.
...
Original patch by Samson Lee.
2015-12-23 00:08:24 +02:00
Serhiy Storchaka
3987e26e75
Issue #25914 : Fixed and simplified OrderedDict.__sizeof__.
2015-12-22 08:22:05 +02:00
Serhiy Storchaka
0ce7a3a34c
Issue #25914 : Fixed and simplified OrderedDict.__sizeof__.
2015-12-22 08:16:18 +02:00
Serhiy Storchaka
47a9d59d51
Issue #25902 : Fixed various refcount issues in ElementTree iteration.
2015-12-21 11:11:12 +02:00
Serhiy Storchaka
66c08d90f6
Issue #25902 : Fixed various refcount issues in ElementTree iteration.
2015-12-21 11:09:48 +02:00
Serhiy Storchaka
3182db356c
Issue #25766 : Special method __bytes__() now works in str subclasses.
2015-12-20 16:37:21 +02:00
Serhiy Storchaka
5aac3ed799
Issue #25766 : Special method __bytes__() now works in str subclasses.
2015-12-20 16:36:34 +02:00
Serhiy Storchaka
5decf0bf32
Fixed sizeof tests for dict and type (they were passed by accident).
...
Added tests for dict views iterators.
2015-12-20 11:39:47 +02:00
Serhiy Storchaka
5185597a69
Fixed sizeof tests for dict and type (they were passed by accident).
...
Added tests for dict views iterators.
2015-12-20 11:39:14 +02:00
Serhiy Storchaka
36b5b6a417
Don't create non-needed file.
2015-12-20 09:38:31 +02:00
Serhiy Storchaka
aaf69aca45
Don't create non-needed file.
2015-12-20 09:37:52 +02:00
Serhiy Storchaka
0702d4d245
Use correct PyGC_Head size in tests for issue #25421 .
2015-12-19 22:51:00 +02:00
Serhiy Storchaka
9c297e43bf
Use correct PyGC_Head size in tests for issue #25421 .
2015-12-19 22:49:29 +02:00
Serhiy Storchaka
a9406e77fa
Issue #25421 : __sizeof__ methods of builtin types now use dynamic basic size.
...
This allows sys.getsize() to work correctly with their subclasses with
__slots__ defined.
2015-12-19 20:07:11 +02:00
Serhiy Storchaka
5c4064e8bd
Issue #25421 : __sizeof__ methods of builtin types now use dynamic basic size.
...
This allows sys.getsize() to work correctly with their subclasses with
__slots__ defined.
2015-12-19 20:05:25 +02:00
Martin Panter
afaf3544aa
Merge typo fixes from 3.5
2015-12-17 10:20:21 +00:00
Martin Panter
6f9b010242
Fix a couple of typos in code comments
2015-12-17 10:18:28 +00:00
Yury Selivanov
d4222dba18
Merge 3.5
2015-12-16 20:41:39 -05:00
Yury Selivanov
c4e27e277c
Merge 3.4
2015-12-16 20:41:25 -05:00
Yury Selivanov
ea4ce1c776
asyncio/tests: Fix a ResourceWarning due to unclosed loop
2015-12-16 20:41:11 -05:00
Yury Selivanov
29832bb19d
Merge 3.5
2015-12-16 20:23:47 -05:00
Yury Selivanov
152c408ed6
Merge 3.4
2015-12-16 20:23:37 -05:00