Victor Stinner
e2d66903e8
Issue #21497 : faulthandler functions now raise a better error if sys.stderr is
...
None: RuntimeError("sys.stderr is None") instead of AttributeError("'NoneType'
object has no attribute 'fileno'").
2014-05-14 17:15:50 +02:00
Victor Stinner
a57dfd033c
Issue #21488 : Add support of keyword arguments for codecs.encode and codecs.decode
2014-05-14 17:13:14 +02:00
Victor Stinner
f7667e3989
Merge 3.4 (I commited a patch to the wrong branch and then used hg backout)
2014-05-14 17:13:02 +02:00
Victor Stinner
e1e04ad8aa
Backed out changeset 6ceedbd88b5f
2014-05-14 17:12:27 +02:00
Victor Stinner
b78c448f4b
Issue #21488 : Add support of keyword arguments for codecs.encode and codecs.decode
2014-05-14 17:10:45 +02:00
Victor Stinner
85ec1b990a
Merge 3.4: ignore change specific to 3.4 for #21488 , I had a different patch for Python 3.5
2014-05-14 17:09:39 +02:00
Victor Stinner
ef5b4e3dc3
Issue #21488 : Fix doc of codecs.decode() and codecs.encode(), no keyword support.
...
Patch written by Brad Aylsworth.
2014-05-14 17:08:45 +02:00
R David Murray
37f524f001
Merge: #21347 : use string not list in shell=True example.
2014-05-14 10:10:14 -04:00
R David Murray
ae9d193dc4
#21347 : use string not list in shell=True example.
...
Patch by Akira.
2014-05-14 10:09:52 -04:00
Raymond Hettinger
acddff6f28
merge
2014-05-13 22:21:04 -07:00
Raymond Hettinger
23042cda40
Issue #21470 : Do a better job seeding the random number generator
...
to fully cover its state space.
2014-05-13 22:13:40 -07:00
Eric Snow
e1c9e5270a
Merge from 3.4 (for #21499 ).
2014-05-13 12:18:07 -06:00
Eric Snow
2f46a0e8be
Issue #21499 : Ignore __builtins__ in several test_importlib.test_api tests.
2014-05-13 12:15:42 -06:00
Guido van Rossum
c7188e2690
Merge 3.4->default: Fix test-order-dependend asyncio test failure caused by rev 2af5a52b9b87 (in this branch).
2014-05-13 09:21:33 -07:00
Guido van Rossum
7664eb0297
Fix test-order-dependend asyncio test failure caused by rev 909ea8cc86bbab92dbb6231668f403b7360f30fa.
2014-05-13 09:19:39 -07:00
doko@ubuntu.com
987831c945
Merge from 3.4:
...
- Issue #17756 : Fix test_code test when run from the installed location.
2014-05-13 11:30:17 +02:00
doko@ubuntu.com
15bec9cb3f
- Issue #17756 : Fix test_code test when run from the installed location.
2014-05-13 11:28:12 +02:00
Antoine Pitrou
43e3d9409d
Issue #19775 : Add a samefile() method to pathlib Path objects.
...
Initial patch by Vajrasky Kok.
2014-05-13 10:50:15 +02:00
Raymond Hettinger
38acd4c028
Issue 21469: Minor code modernization (convert and/or expression to an if/else expression).
...
Suggested by: Tal Einat
2014-05-12 22:22:46 -07:00
Raymond Hettinger
51669d8c18
merge
2014-05-12 22:05:09 -07:00
Raymond Hettinger
8cc67a1b42
Issue 21469: Add missing news item
2014-05-12 22:01:46 -07:00
Raymond Hettinger
a7364a887c
merge
2014-05-12 21:57:19 -07:00
Raymond Hettinger
122541bece
Issue 21469: Mitigate risk of false positives with robotparser.
...
* Repair the broken link to norobots-rfc.txt.
* HTTP response codes >= 500 treated as a failed read rather than as a not
found. Not found means that we can assume the entire site is allowed. A 5xx
server error tells us nothing.
* A successful read() or parse() updates the mtime (which is defined to be "the
time the robots.txt file was last fetched").
* The can_fetch() method returns False unless we've had a read() with a 2xx or
4xx response. This avoids false positives in the case where a user calls
can_fetch() before calling read().
* I don't see any easy way to test this patch without hitting internet
resources that might change or without use of mock objects that wouldn't
provide must reassurance.
2014-05-12 21:56:33 -07:00
Jason R. Coombs
61f61dc679
Merge doc change from 3.3
2014-05-12 22:41:49 -04:00
Jason R. Coombs
73308d6869
Merge doc change from 3.3
2014-05-12 22:41:15 -04:00
Jason R. Coombs
13266fb5c8
Update docs to reflect resurrection of Setuptools over Distribute
2014-05-12 22:40:49 -04:00
Eric Snow
b7f1be309e
Merge from 3.4 (for #21226 ).
2014-05-12 18:25:00 -06:00
Victor Stinner
38d3d22b29
(Merge 3.4) Issue #21398 : Fix an unicode error in the pydoc pager when the
...
documentation contains characters not encodable to the stdout encoding.
2014-05-13 02:06:33 +02:00
Victor Stinner
0cc45baa3d
Issue #21398 : Fix an unicode error in the pydoc pager when the documentation
...
contains characters not encodable to the stdout encoding.
2014-05-13 02:05:35 +02:00
Eric Snow
08197a4616
Issue #21226 : Set all attrs in PyImport_ExecCodeModuleObject.
2014-05-12 17:54:55 -06:00
Victor Stinner
470cf8dfbe
(Merge 3.4) Issue #21418 : Fix a crash in the builtin function super() when
...
called without argument and without current frame (ex: embedded Python).
2014-05-13 01:32:54 +02:00
Victor Stinner
1c6970fac9
Issue #21418 : Fix a crash in the builtin function super() when called without
...
argument and without current frame (ex: embedded Python).
2014-05-13 01:32:36 +02:00
Victor Stinner
933da8efb7
(Merge 3.4) Issue #21485 : remove unnecesary .flush() calls in the asyncio
...
subprocess code example
2014-05-12 23:25:25 +02:00
Victor Stinner
b0539b27d9
Issue #21485 : remove unnecesary .flush() calls in the asyncio subprocess code
...
example
2014-05-12 23:25:09 +02:00
Victor Stinner
66113bb74a
(Merge 3.4) Issue #21422 : Add a test to check that bool << int and bool >> int
...
return an int
2014-05-12 22:43:07 +02:00
Victor Stinner
7fe1049fcb
Issue #21422 : Add a test to check that bool << int and bool >> int return an int
2014-05-12 22:35:40 +02:00
Antoine Pitrou
5fb195f854
Issue #16531 : ipaddress.IPv4Network and ipaddress.IPv6Network now accept an (address, netmask) tuple argument, so as to easily construct network objects from existing addresses.
2014-05-12 20:36:46 +02:00
Guido van Rossum
3b5162d05d
Merge 3.4->default: asyncio: Fix upstream issue 168: StreamReader.read(-1) from pipe may hang if data exceeds buffer limit.
2014-05-12 10:05:04 -07:00
Guido van Rossum
bf88ffba5e
asyncio: Fix upstream issue 168: StreamReader.read(-1) from pipe may hang if data exceeds buffer limit.
2014-05-12 10:04:37 -07:00
Ned Deily
05278eeac9
Issue 21383: merge from 3.4
2014-05-11 21:47:21 -07:00
Ned Deily
a869fd3dc0
Issue #21383 : Allow "make touch" to work when building outside of the
...
source directory.
2014-05-11 21:45:13 -07:00
Terry Jan Reedy
70371fcb56
Issue #18104 : News for 3.4, in proper place.
2014-05-11 23:47:31 -04:00
Terry Jan Reedy
ce9654f8f0
#18104 : null merge of 3.4 News entry
2014-05-11 23:46:22 -04:00
Terry Jan Reedy
96089fb40d
Issue #18104 : News for 3.4 (which will not merge forward).
2014-05-11 23:42:43 -04:00
Terry Jan Reedy
d9ee1f50e5
Merge with 3.4
2014-05-11 23:35:35 -04:00
Terry Jan Reedy
8386fda154
whitespace
2014-05-11 23:35:09 -04:00
Terry Jan Reedy
f80c0f6eac
Merge with 3.4
2014-05-11 23:32:58 -04:00
Terry Jan Reedy
06313b79d5
Issue #18104 : Add idlelib/idle_test/htest.py with a few sample tests to begin
...
consolidating and improving human-validated tests of Idle. Change other files
as needed to work with htest. Running the module as __main__ runs all tests.
2014-05-11 23:32:32 -04:00
Benjamin Peterson
89aea5075e
merge 3.4
2014-05-11 16:17:34 -07:00
Benjamin Peterson
23a192d963
use logical rather than bit and
2014-05-11 16:17:02 -07:00