R David Murray
f1c1cd9b3b
Merge #14984 : only import pwd on POSIX.
2013-09-18 08:50:11 -04:00
R David Murray
9e27eda325
#14984 : only import pwd on POSIX.
2013-09-18 08:49:25 -04:00
R David Murray
c64566e30f
#19037 : adjust file times *before* moving maildir files into place.
...
This avoids race conditions when other programs are monitoring
the maildir directory. Patch by janzert.
2013-09-18 08:35:45 -04:00
R David Murray
ba58e1d827
Merge: Add versionchanged for #14984 , remove extra blank from string.
2013-09-17 20:10:23 -04:00
R David Murray
137b572d55
Add versionchanged for #14984 , remove extra blank from string.
2013-09-17 20:08:09 -04:00
Serhiy Storchaka
e4818f6937
Remove the use of non-existing re.ASCII.
...
(fixes a regression in 3d46ef0c62c5, issue #18873 )
2013-09-17 10:09:08 +03:00
Serhiy Storchaka
e787bce79c
Issue #18873 : IDLE, 2to3, and the findnocoding.py script now detect Python
...
source code encoding only in comment lines.
2013-09-17 00:00:46 +03:00
R David Murray
74213e4ee9
Merge #14984 : On POSIX, enforce permissions when reading default .netrc.
2013-09-16 14:32:54 -04:00
R David Murray
4189b67a66
#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-16 13:48:44 -04:00
Eli Bendersky
e207e38c53
Close #18945 : Add tests for tempfile name collision handling.
...
Patch by Vlad Shcherbina
2013-09-15 12:08:14 -07:00
Andrew Kuchling
35532c86f5
Null merge with 2.6
2013-09-15 13:24:05 -04:00
Andrew Kuchling
503baf9ecd
#16042 : CVE-2013-1752: Limit amount of data read by limiting the call to readline().
...
The SSLFakeFile.readline() method needs to support limiting readline() as
well. It's not a full emulation of readline()'s signature, but this class
is only used by smtplib's code, so it doesn't have to be.
Modified version of original patch by Christian Heimes.
2013-09-15 13:11:47 -04:00
Raymond Hettinger
39659f22fa
Issue #19018 : The heapq.merge() function no longer suppresses IndexError
2013-09-14 22:17:39 -07:00
Ezio Melotti
bf7e8656b5
#18981 : fix a typo in a comment (noticed by Anoop Thomas Mathew).
2013-09-13 23:52:12 +03:00
Ezio Melotti
802fa397d5
Fix markup in email.parser docs.
2013-09-13 22:55:08 +03:00
Ezio Melotti
36c3368233
#18951 : use consistent names in unittest docs.
2013-09-13 22:17:40 +03:00
Senthil Kumaran
d4fac04fde
Fix SimpleHTTPServer's request handling case on trailing '/'.
...
Patch contributed by Vajrasky Kok. Addresses Issue #17324
2013-09-13 00:18:55 -07:00
Serhiy Storchaka
b06f536cb7
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:52:00 +03:00
Senthil Kumaran
5d253efb06
Automated merge with file:///Users/skumaran/python/cpython
2013-09-11 22:56:34 -07:00
Senthil Kumaran
37851d0e55
Improve the docstring of random.shuffle. Inform users not to provide int arg.
...
Addresses issue #14927
2013-09-11 22:52:58 -07:00
Serhiy Storchaka
e03c74a1b6
Issue #18988 : The "Tab" key now works when a word is already autocompleted.
2013-09-11 22:49:06 +03:00
Senthil Kumaran
b65685f3f2
Clarify mmap.close method behavior. Addresses issue #18815
...
Patch contributed by Anoop Thomas Mathew.
2013-09-09 22:38:58 -07:00
Mark Dickinson
8fdd9deb45
Docstring typo fix: Arithmentic -> Arithmetic.
2013-09-09 10:32:08 +01:00
Serhiy Storchaka
7d12ca5fd4
Fix a typo. ( closes #18953 )
2013-09-08 20:43:16 +03:00
Serhiy Storchaka
9402533cb1
Fixed tests with Tcl/Tk <8.5 ( closes #18964 ).
2013-09-08 20:32:56 +03:00
Senthil Kumaran
023c3e74a6
Fix the dead link of IEEE_854-1987 standard with the Wikipedia entry.
...
Addresses issue #18438
2013-09-07 23:18:53 -07:00
Michael Foord
050e9e5c59
Closes issue 14971.
...
unittest test discovery no longer gets confused when a function
has a different __name__ than its name in the TestCase class dictionary.
2013-09-08 15:34:27 +12:00
Senthil Kumaran
cb7e5fa935
Correct Profile class usage example. Addresses issue #18033 .
...
Patch contributed by Olivier Hervieu and Dmi Baranov.
2013-09-07 17:50:35 -07:00
Senthil Kumaran
2646e6758d
os.isatty is not Unix only. Correct the wrong documentation.
...
Addresses issue #18553
2013-09-07 11:27:45 -07:00
Ezio Melotti
ad54307b9b
#18895 : split a sentence in unittest docs.
2013-09-07 15:23:36 +03:00
Ezio Melotti
2676583b66
#18894 : remove mention of deprecated fail* methods.
2013-09-07 15:19:30 +03:00
Eli Bendersky
8c7e925f6e
Close #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:17:15 -07:00
Vinay Sajip
fb03696fda
Issue #18941 : Respected delay when doing rollover.
2013-09-06 10:24:08 +01:00
Vinay Sajip
6d7e29651c
Issue #18940 : Handled low-volume logging when delay is True.
2013-09-06 10:09:45 +01:00
Vinay Sajip
6971f2e6b7
Issue #18933 : Added links to source code.
2013-09-05 22:57:20 +01:00
Serhiy Storchaka
cf29ba8cf0
Issue #18672 : Fixed format specifiers for Py_ssize_t in debugging output in
...
the _sre moduel.
2013-09-05 18:02:57 +03:00
Serhiy Storchaka
2984f2bcf6
Merge heads
2013-09-05 17:30:56 +03:00
Serhiy Storchaka
6db9e88eff
Issue #18830 : inspect.getclasstree() no more produces duplicated entries even
...
when input list contains duplicates.
2013-09-05 17:28:10 +03:00
Christian Heimes
5eb6e3b40d
Issue #18709 : GCC 4.6 complains that 'v' may be used uninitialized in GEN_EMAIL/GEN_URI/GEN_DNS case
2013-09-05 16:05:50 +02:00
Christian Heimes
ed9884b2d0
Issue #18709 : GCC 4.6 complains that 'v' may be used uninitialized in GEN_EMAIL/GEN_URI/GEN_DNS case
2013-09-05 16:04:35 +02:00
Victor Stinner
930c3c9e43
Issue #18909 : Fix _tkinter.tkapp.interpaddr() on Windows 64-bit, don't cast
...
64-bit pointer to long (32 bits).
2013-09-05 00:26:15 +02:00
Antoine Pitrou
213fec4bff
Issue #18876 : The FileIO.mode attribute now better reflects the actual mode under which the file was opened.
...
Patch by Erik Bray.
2013-09-04 20:46:33 +02:00
Tim Peters
ab70a7dc41
Null merge of 2.6 into 2.7.
...
Changeset 25683ceaf341 left a new head on 2.6.
2013-09-03 11:39:06 -05:00
Eli Bendersky
e6802db7d1
Close #18912 : Fix indentation in docstring
...
Contributed by Jeroen Van Goey
2013-09-03 06:41:58 -07:00
Christian Heimes
bde2985f1d
Python 2.6's ssl module has neither OPENSSL_VERSION_INFO nor _OPENSSL_API_VERSION
2013-09-03 14:47:00 +02:00
Benjamin Peterson
b44c8619fe
document that various functions that parse from source will interpret things as latin-1 ( closes #18870 )
2013-09-01 19:06:35 -04:00
Terry Jan Reedy
71b2ded05e
Silence deprecation warning in test_mmap for ValueError.message.
...
Replacement is from 3.3, with 'p' added to make '...Regexp'.
2013-08-31 21:14:00 -04:00
Terry Jan Reedy
0c534a4624
Silence deprecation warning in test_unittest for 'None > 1'.
...
This is the same change that was made in 3.x when this became an error.
2013-08-31 20:37:21 -04:00
Terry Jan Reedy
4c42735a99
Issue #18489 : Add complete, gui-free tests for idlelib.SearchEngine.
...
Patch import and initialization in SearchEngine to make testing easier.
Improve docstrings, especially to clarify the double role of 'ok' parameters.
Original patch by Phil Webster.
2013-08-31 16:27:08 -04:00
Antoine Pitrou
33fc744ea3
Issue #18851 : Avoid a double close of subprocess pipes when the child process fails starting.
2013-08-30 23:38:13 +02:00