Serhiy Storchaka
1c205518a3
Issue #19980 : Improved help() for non-recognized strings. help('') now
...
shows the help on str. help('help') now shows the help on help().
Original patch by Mark Lawrence.
2015-03-01 00:42:54 +02:00
Alexander Belopolsky
e92951f8da
merge
2015-02-28 10:46:00 -05:00
Alexander Belopolsky
184291aeb7
Fixes #23521 : Corrected pure python implementation of timedelta division.
...
* Eliminated OverflowError from timedelta * float for some floats;
* Corrected rounding in timedlta true division.
2015-02-28 10:44:47 -05:00
Alexander Belopolsky
24d3deefcf
Fixes #23521 : Corrected pure python implementation of timedelta division.
...
* Eliminated OverflowError from timedelta * float for some floats;
* Corrected rounding in timedlta true division.
2015-02-28 10:41:57 -05:00
Raymond Hettinger
63d1ff2a0b
Convert one more division to unsigned arithmetic to speed-up deque_item().
2015-02-28 07:41:30 -08:00
Serhiy Storchaka
6ab0ec9352
Fixed a test for issue #21619 on Windows.
...
On Windows an OSError with errno=EINVAL is raised.
2015-02-28 13:28:19 +02:00
Serhiy Storchaka
cf265fd02a
Fixed a test for issue #21619 on Windows.
...
On Windows an OSError with errno=EINVAL is raised.
2015-02-28 13:27:54 +02:00
Serhiy Storchaka
86ba765705
Issue #21619 : Popen objects no longer leave a zombie after exit in the with
...
statement if the pipe was broken. Patch by Martin Panter.
2015-02-28 12:45:00 +02:00
Serhiy Storchaka
ab900c21fc
Issue #21619 : Popen objects no longer leave a zombie after exit in the with
...
statement if the pipe was broken. Patch by Martin Panter.
2015-02-28 12:43:08 +02:00
Raymond Hettinger
7e8c7956a7
Line missed in last checkin
2015-02-27 16:59:29 -08:00
Raymond Hettinger
da2850f932
Since the index is always non-negative, use faster unsigned division and modulo.
2015-02-27 12:42:54 -08:00
Brett Cannon
b44ed82b81
Merge with 3.4 for porting HOWTO tweaks
2015-02-27 15:10:38 -05:00
Brett Cannon
fdde79dbf6
Fix the clarification as to why division cannot be ported automatically
2015-02-27 15:10:03 -05:00
Larry Hastings
2f710b6008
Merge from 3.4.
2015-02-27 09:21:06 -08:00
Larry Hastings
c332f8a492
Fix minor errors in Misc/NEWS. (Thanks for the report, Florian Bruhin!)
2015-02-27 09:14:32 -08:00
Brett Cannon
8004e8577c
Issue #22834 : Drop a redundant comment and use errno instead of an
...
integer.
Thanks to Serhiy Storchaka and Martin Panter for the suggestions.
2015-02-27 12:13:35 -05:00
Victor Stinner
e2bda9ad68
Merge 3.4 (asyncio)
2015-02-27 17:49:19 +01:00
Victor Stinner
ce8c7682d6
Issue #23537 : Remove 2 unused private methods of asyncio.BaseSubprocessTransport
...
Methods only raise NotImplementedError and are never used.
2015-02-27 17:49:09 +01:00
Victor Stinner
69899e6f3f
Merge 3.4 (httplib)
2015-02-27 17:47:40 +01:00
Victor Stinner
b389b48265
Issue #23526 : Fix ResourceWarning in test_httplib. Patch written by Alex Shkop.
2015-02-27 17:47:23 +01:00
Zachary Ware
ad9296e403
Merge with 3.4
2015-02-27 01:40:41 -06:00
Zachary Ware
0b49637890
Fix copy/paste error in bytes.isupper() doc.
...
Reported by Jon Colburn on docs@.
2015-02-27 01:40:22 -06:00
Raymond Hettinger
daf57f25e5
Bump the blocksize up from 62 to 64 to speed up the modulo calculation.
...
Remove the old comment suggesting that it was desireable to have
blocksize+2 as a multiple of the cache line length. That would
have made sense only if the block structure start point was always
aligned to a cache line boundary. However, the memory allocations
are 16 byte aligned, so we don't really have control over whether
the struct spills across cache line boundaries.
2015-02-26 23:21:29 -08:00
Benjamin Peterson
b1e6e57a17
unix newlines
2015-02-26 22:50:43 -05:00
Benjamin Peterson
2bb5aa89d9
merge 3.4
2015-02-26 22:50:12 -05:00
Benjamin Peterson
d2e067b130
remove duplicate 3.4.3 tags
2015-02-26 22:49:21 -05:00
Steve Dower
76998fef2c
Issue #23465 : Implement PEP 486 - Make the Python Launcher aware of virtual environments (patch by Paul Moore)
2015-02-26 14:25:33 -08:00
Larry Hastings
8c3ec536e9
Merge 3.4.3 release engineering changes back into 3.4.
2015-02-26 05:58:48 -08:00
Larry Hastings
e287746401
Post-release changes for 3.4.3.
2015-02-26 05:56:32 -08:00
Serhiy Storchaka
b48af340b9
Silenced minor GCC warnings.
2015-02-26 15:27:57 +02:00
Antoine Pitrou
e71258a0e6
Issue #15955 : Add an option to limit the output size in bz2.decompress().
...
Patch by Nikolaus Rath.
2015-02-26 13:08:07 +01:00
Victor Stinner
87f50158ee
Merge 3.4 (asyncio doc)
2015-02-26 10:39:31 +01:00
Victor Stinner
7b2c3c6840
asyncio doc: lock classes are not thread safe
2015-02-26 10:39:16 +01:00
Steve Dower
f63dab5a84
Back-out wcstok deprecation suppression and updates calls to use wcstok_s.
2015-02-25 20:48:01 -08:00
Steve Dower
b3f51e3c44
Adds _CRT_NON_CONFORMING_WCSTOK to retain two-parameter wcstok.
2015-02-25 20:38:31 -08:00
Benjamin Peterson
4fa49727d7
merge 3.4
2015-02-25 16:47:20 -05:00
Benjamin Peterson
ed135f46ec
remove unused import
2015-02-25 16:47:14 -05:00
Berker Peksag
a1780bc321
Issue #23511 : Port email-simple.py to Python 3.
...
Also, update email examples to use the context manager version of open().
Patch by Baptiste Mispelon.
2015-02-25 18:14:47 +02:00
Berker Peksag
f9e3cf1f9f
Issue #23511 : Port email-simple.py to Python 3.
...
Also, update email examples to use the context manager version of open().
Patch by Baptiste Mispelon.
2015-02-25 18:14:09 +02:00
Benjamin Peterson
c8fd9ce73d
merge 3.4 ( #23515 )
2015-02-25 10:16:56 -05:00
Benjamin Peterson
b808d590a2
fix merge_collapse to actually maintain the invariant it purports to ( closes #23515 )
...
See
de Gouw, Stijn and Rot, Jurriaan and de Boer, Frank S and Bubel, Richard and Hähnle, Reiner
"OpenJDK’s java.utils.Collection.sort() is broken: The good, the bad and the worst case"
2015-02-25 10:12:26 -05:00
Victor Stinner
1313af2340
Merge 3.4 (asyncio doc)
2015-02-25 14:24:47 +01:00
Victor Stinner
83704963c0
asyncio: add a note about (non) thread safety in each class
2015-02-25 14:24:15 +01:00
Victor Stinner
532c69a428
asyncio doc: begin with warnings on asyncio traps
2015-02-25 14:23:51 +01:00
Victor Stinner
615a58eaab
asyncio doc: move queues to a new page
2015-02-25 13:55:43 +01:00
Larry Hastings
4c464c3a42
Added tag v3.4.3 for changeset b4cbecbc0781
2015-02-25 04:17:04 -08:00
Larry Hastings
f5caf2b30b
Checking in this change LOCAL ONLY NO UPLOAD ANYWHERE
2015-02-25 04:15:33 -08:00
Georg Brandl
961dfa10a6
Merge with 3.4
2015-02-25 13:07:03 +01:00
Georg Brandl
7e91af3a91
Remove unsupported (in latex) character from the source.
2015-02-25 13:05:53 +01:00
Steve Dower
c55a316cff
Issue 23314: SuppressCrashReports now disables CRT assertions
...
SuppressCrashReports should be used in test subprocesses that test invalid conditions.
2015-02-23 07:56:13 -08:00