R David Murray
8270a2c209
Merge #14984 : On POSIX, enforce permissions when reading default .netrc.
2013-09-17 20:32:54 -04:00
R David Murray
104aab956f
#14984 : On POSIX, enforce permissions when reading default .netrc.
...
Initial patch by Bruno Piguet.
This is implemented as if a useful .netrc file could exist without passwords,
which is possible in the general case; but in fact our netrc implementation
does not support it. Fixing that issue will be an enhancement.
2013-09-17 20:30:02 -04:00
Serhiy Storchaka
dafea85190
Issue #18873 : The tokenize module, IDLE, 2to3, and the findnocoding.py script
...
now detect Python source code encoding only in comment lines.
2013-09-16 23:51:56 +03:00
Serhiy Storchaka
975fce3788
Issue #19029 : Change non-existing since 3.0 StringType to str.
2013-09-16 11:01:31 +03:00
Tim Peters
a238914952
Null merge of 3.2 into 3.3.
2013-09-15 15:39:06 -05:00
Tim Peters
945a251e4a
Null merge of 3.1 into 3.2
...
Changeset c39f42f46a05 left a dangling head on 3.1.
2013-09-15 15:37:25 -05:00
Raymond Hettinger
46f5ca31d0
Issue #19018 : The heapq.merge() function no longer suppresses IndexError
2013-09-14 20:51:57 -07:00
Ezio Melotti
0a32d92bff
Merge heads.
2013-09-15 03:00:42 +03:00
R David Murray
1bc6ceba92
#18206 : Fix test for existence of license URL.
...
It now always checks, instead of only when the LICENSE file doesn't exist. It
is also protected by the 'network' resource, and uses a HEAD request since we
are only doing an existence check.
2013-09-14 13:28:37 -04:00
Georg Brandl
0a9d05155c
merge with 3.2
2013-09-14 09:11:09 +02:00
Georg Brandl
bc75046bb3
Add a NEWS entry for b9b521efeba3.
2013-09-14 09:10:21 +02:00
Georg Brandl
c5884d8930
Add NEWS entry for c18c18774e24.
2013-09-14 09:09:18 +02:00
Georg Brandl
c17a8dfaca
Fix tkinter regression introduced by the security fix in #16248 .
2013-09-14 09:08:09 +02:00
Georg Brandl
db4309e19a
Fix tkinter regression introduced by the security fix in #16248 .
2013-09-14 09:08:09 +02:00
Ezio Melotti
87f09371b0
#18856 : improve test coverage of the calendar module. Patch by Madison May.
2013-09-14 04:55:53 +03:00
Ezio Melotti
e7f4c1c045
#18981 : fix a typo in a comment (noticed by Anoop Thomas Mathew).
2013-09-13 23:52:12 +03:00
Ezio Melotti
560a77881b
#18951 : use consistent names in unittest docs.
2013-09-13 22:17:40 +03:00
Eli Bendersky
61f4cd1dd5
Add Germán M. Bravo to Misc/ACKS
2013-09-13 06:24:59 -07:00
Eli Bendersky
dd3661e782
Issue #18997 : fix ElementTree crash with using pickle and __getstate__.
...
Based on report and initial patch from Germán M. Bravo
2013-09-13 06:24:25 -07:00
Eli Bendersky
aa04f9ae7d
Issue #18945 : Add tests for tempfile name collision handling.
...
Patch by Vlad Shcherbina
2013-09-13 05:28:20 -07:00
Senthil Kumaran
72c238e21a
Fix http.server's request handling case on trailing '/'.
...
Patch contributed by Vajrasky Kok. Addresses Issue #17324
2013-09-13 00:21:18 -07:00
Serhiy Storchaka
016af3f4d4
Issue #18784 : The uuid module no more attempts to load libc via ctypes.CDLL,
...
if all necessary functions are already found in libuuid.
Patch by Evgeny Sologubov.
2013-09-13 07:46:40 +03:00
Senthil Kumaran
d184f664e3
Automated merge with file:///Users/skumaran/python/cpython
2013-09-11 22:56:30 -07:00
Senthil Kumaran
f8ce51ab16
Improve the docstring of random.shuffle. Inform users not to provide int arg.
...
Addresses issue #14927
2013-09-11 22:54:31 -07:00
Serhiy Storchaka
dd4754e6a8
Issue #18988 : The "Tab" key now works when a word is already autocompleted.
2013-09-11 22:46:27 +03:00
Senthil Kumaran
b9183950d8
Clarify mmap.close method behavior. Addresses issue #18815
...
Patch contributed by Anoop Thomas Mathew.
2013-09-09 22:39:28 -07:00
Senthil Kumaran
b505a6ac91
Document Fraction's numerator and denominator properties.
...
Addresses issue #18800
2013-09-09 19:57:37 -07:00
Mark Dickinson
51ef074d57
Docstring typo fix: Arithmentic -> Arithmetic.
2013-09-09 10:34:24 +01:00
Raymond Hettinger
fb92f393b0
Issue 18752: Make chain.from_iterable() more visible in the documentation.
2013-09-09 02:01:35 -05:00
Raymond Hettinger
1e21ebcc2a
Issue 18301: The classmethod decorator didn't fit well with the rough-equivalent example code.
2013-09-09 01:54:27 -05:00
Serhiy Storchaka
c700180443
Fix a typo. ( closes #18953 )
2013-09-08 20:42:13 +03:00
Serhiy Storchaka
dfa689bfdd
Fixed tests with Tcl/Tk <8.5 ( closes #18964 ).
2013-09-08 20:29:37 +03:00
Senthil Kumaran
4fec47e5ed
Fix the dead link of IEEE_854-1987 standard with the Wikipedia entry.
...
Addresses issue #18438
2013-09-07 23:19:29 -07:00
Nick Coghlan
0494c2ae7f
Close #18952 : correctly download test support data
...
When test.support was converted to a package, it started silently
skipping the tests which needed to download support data to run.
This change refactors the affected code, and also tidies up
test.support.findfile to remove the unused *here* parameter, document
the *subdir* parameter and rename the *filename* parameter to avoid
shadowing the file builtin and be consistent with the documentation.
The unexpected skips were noticed and reported by Zachary Ware
2013-09-08 11:40:34 +10:00
Senthil Kumaran
21101f7038
Correct Profile class usage example. Addresses issue #18033 .
...
Patch contributed by Olivier Hervieu and Dmi Baranov.
2013-09-07 17:51:58 -07:00
Senthil Kumaran
8ef519b24f
Fix License URL display and add test to check for license url presence.
...
Fixes issue #18206 Patch contributed by Berker Peksag and py.user
2013-09-07 13:59:17 -07:00
Senthil Kumaran
1b90227c0d
Removing the mention of os.isatty mention as Unix only
...
Correct the wrong documentation.
2013-09-07 11:28:58 -07:00
Ezio Melotti
e64a91a890
#18895 : split a sentence in unittest docs.
2013-09-07 15:23:36 +03:00
Ezio Melotti
e2202365ed
#18894 : remove mention of deprecated fail* methods.
2013-09-07 15:19:30 +03:00
Tim Peters
23d7d4e85c
Issue 18944: fix a 1-character typo in test_set.py.
...
The error caused test_inline_methods() to test much less than intended.
Caught (& fixed) by Armin Rigo.
2013-09-06 15:41:30 -05:00
Eli Bendersky
f315df31bd
Issue #18849 : Fixed a Windows-specific tempfile bug where collision with an
...
existing directory caused mkstemp and related APIs to fail instead of
retrying. Report and fix by Vlad Shcherbina.
2013-09-06 06:11:19 -07:00
Vinay Sajip
43c6ef1899
Issue #18941 : Respected delay when doing rollover.
2013-09-06 10:25:31 +01:00
Vinay Sajip
d859926b29
Issue #18940 : Handled low-volume logging when delay is True.
2013-09-06 10:10:22 +01:00
Vinay Sajip
a704582002
Issue #18939 : Updated venv documentation with some clarifications.
2013-09-06 09:50:43 +01:00
Senthil Kumaran
324ae385fe
Improve urlencode docstring. Patch by Brian Brazil.
2013-09-05 21:42:38 -07:00
Tim Peters
eaa3bcc370
Issue #18942 : sys._debugmallocstats() output was damaged on Windows.
...
_PyDebugAllocatorStats() called PyOS_snprintf() with a %zd format
code, but MS doesn't support that code. Interpolated
PY_FORMAT_SIZE_T in place of the "z".
2013-09-05 22:57:04 -05:00
Vinay Sajip
31b862d40b
Issue #18933 : Added links to source code.
2013-09-05 23:01:07 +01:00
Serhiy Storchaka
134f0de66d
Issue #18672 : Fixed format specifiers for Py_ssize_t in debugging output in
...
the _sre moduel.
2013-09-05 18:01:15 +03:00
Serhiy Storchaka
ef31a00e99
Merge heads
2013-09-05 17:31:37 +03:00
Serhiy Storchaka
362c1b513d
Issue #18830 : inspect.getclasstree() no more produces duplicated entries even
...
when input list contains duplicates.
2013-09-05 17:14:32 +03:00