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
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
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
Serhiy Storchaka
e03c74a1b6
Issue #18988 : The "Tab" key now works when a word is already autocompleted.
2013-09-11 22:49:06 +03:00
Serhiy Storchaka
7d12ca5fd4
Fix a typo. ( closes #18953 )
2013-09-08 20:43:16 +03: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
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
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
6db9e88eff
Issue #18830 : inspect.getclasstree() no more produces duplicated entries even
...
when input list contains duplicates.
2013-09-05 17:28:10 +03: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
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
Charles-François Natali
30a5445b30
Issue #18418 : After fork(), reinit all threads states, not only active ones.
...
Patch by A. Jesse Jiryu Davis.
2013-08-30 23:30:50 +02:00
Serhiy Storchaka
879a213736
Issue #18817 : Fix a resource warning in Lib/aifc.py demo.
2013-08-25 19:12:33 +03:00
Christian Heimes
42831fefa7
Issue #11973 : Fix a problem in kevent. The flags and fflags fields are now
...
properly handled as unsigned.
2013-08-25 14:57:00 +02:00
Christian Heimes
8ee5ffddf5
Issue #18747 : Fix spelling errors in my commit message and comments,
...
thanks to Vajrasky Kok for proof-reading.
2013-08-25 14:19:16 +02:00
Barry Warsaw
82f8828317
- Issue #18709 : Fix CVE-2013-4238. The SSL module now handles NULL bytes
...
inside subjectAltName correctly. Formerly the module has used OpenSSL's
GENERAL_NAME_print() function to get the string represention of ASN.1
strings for `rfc822Name` (email), `dNSName` (DNS) and
`uniformResourceIdentifier` (URI).
2013-08-23 13:26:49 -04:00
Serhiy Storchaka
b445558d84
Issue #16809 : Fixed some tkinter incompabilities with Tcl/Tk 8.6.
2013-08-22 17:53:16 +03:00
Serhiy Storchaka
2ac1c1a31d
Issue #16809 : Tkinter's splitlist() and split() methods now accept Tcl_Obj
...
argument.
This is needed for support Tcl/Tk 8.6.
2013-08-22 17:42:45 +03:00
Christian Heimes
ac6416424b
Issue #18747 : Update Misc/NEWS to reflect the latest changeset.
2013-08-22 13:22:37 +02:00
Antoine Pitrou
78254dc6fc
Issue #18792 : Use "127.0.0.1" or "::1" instead of "localhost" as much as possible, since "localhost" goes through a DNS lookup under recent Windows versions.
2013-08-22 00:39:46 +02:00
Serhiy Storchaka
4203570d01
Issue #17119 : Fixed integer overflows when processing large Unicode strings
...
and tuples in the tkinter module.
2013-08-21 21:46:12 +03:00
Charles-François Natali
b817faa4ce
Issue #15233 : Python now guarantees that callables registered with the atexit
...
module will be called in a deterministic order.
2013-08-21 18:25:00 +02:00
Christian Heimes
0d604cf65e
Issue #18747 : Re-seed OpenSSL's pseudo-random number generator after fork.
...
A pthread_atfork() child handler is used to seeded the PRNG with pid, time
and some stack data.
2013-08-21 13:26:05 +02:00
Serhiy Storchaka
c360389453
Issue #8865 : Concurrent invocation of select.poll.poll() now raises a
...
RuntimeError exception. Patch by Christian Schubert.
2013-08-20 20:38:21 +03:00
Serhiy Storchaka
a9885e93ee
Issue #13461 : Fix a crash in the TextIOWrapper.tell method and in the "replace"
...
error handler on 64-bit platforms. Patch by Yogesh Chaudhari.
2013-08-20 20:08:53 +03:00
Christian Heimes
10107813ac
Issue #18777 : The ssl module now uses the new CRYPTO_THREADID API of
...
OpenSSL 1.0.0+ instead of the deprecated CRYPTO id callback function.
2013-08-19 17:36:29 +02:00
Christian Heimes
ec8c2198bd
add missing #
2013-08-18 03:11:11 +02:00
Christian Heimes
b4ec842f39
Issue 18768: Correct doc string of RAND_edg(). Patch by Vajrasky Kok.
2013-08-17 17:25:18 +02:00
Ezio Melotti
419e23cbb0
#18466 : fix more typos. Patch by Févry Thibault.
2013-08-17 16:56:09 +03:00
Christian Heimes
6e0be01bfb
Issue #18178 : Fix ctypes on BSD. dlmalloc.c was compiled twice which broke malloc weak symbols.
2013-08-17 15:01:54 +02:00
Christian Heimes
88b174c977
Issue #18709 : Fix CVE-2013-4238. The SSL module now handles NULL bytes
...
inside subjectAltName correctly. Formerly the module has used OpenSSL's
GENERAL_NAME_print() function to get the string represention of ASN.1
strings for rfc822Name (email), dNSName (DNS) and
uniformResourceIdentifier (URI).
2013-08-17 00:54:47 +02:00
Antoine Pitrou
f48a67b317
Issue #18756 : Improve error reporting in os.urandom() when the failure is due to something else than /dev/urandom not existing.
2013-08-16 20:44:38 +02:00
David Wolever
a80d3a09fd
Issue #18718 : datetime documentation contradictory on leap second support
2013-08-14 14:33:54 -04:00
Antoine Pitrou
4221b7c764
Add NEWS entry for 0f17aed78168 (issue #16248 )
2013-08-13 20:23:56 +02:00
David Wolever
452dd38150
Issue #17701 : Improving strftime documentation
2013-08-12 15:50:10 -04:00
Terry Jan Reedy
bb8114cbe6
Issue #18676 : Change 'positive' to 'non-negative' in queue.py put and get
...
docstrings and ValueError messages. Patch by Zhongyue Luo
2013-08-10 18:17:01 -04:00
Terry Jan Reedy
0fd115650a
Issue #18429 : Add user-oriented News entry about Format / Format Paragraph
...
now working with comment block selections. Patch was part of 18226 patch.
2013-08-10 17:46:16 -04:00
Terry Jan Reedy
3d35489169
Issue #18226 : Add docstrings and unittests for idlelib/FormatParagraph.py.
...
Move comment code to a separate function so it can be separately tested.
Original patches by Todd Rovito and Phil Webster.
2013-08-10 16:56:20 -04:00
Ezio Melotti
7921b30be6
#18357 : add tests for dictview set difference. Patch by Fraser Tweedale.
2013-08-08 20:09:19 +03:00
Serhiy Storchaka
e822b034e7
Issue #15866 : The xmlcharrefreplace error handler no more produces two XML
...
entities for a non-BMP character on narrow build.
2013-08-06 16:56:26 +03:00
Martin v. Löwis
d5375dfb15
Issue #16067 : Add description into MSI file to replace installer's temporary name.
2013-08-03 20:24:00 +02:00
Serhiy Storchaka
3ade66c203
Issue #17998 : Fix an internal error in regular expression engine.
2013-08-03 19:26:33 +03:00
Ned Deily
8074364f7a
Issue #17557 : Fix os.getgroups() to work with the modified behavior of
...
getgroups(2) on OS X 10.8. Original patch by Mateusz Lenik.
2013-08-01 21:19:09 -07:00
Ned Deily
fb77386ffb
Issue #18071 : Extension module builds on OS X could fail with TypeError
...
if Xcode command line tools were not installed.
2013-07-31 00:14:20 -07:00
Terry Jan Reedy
349065500a
Issue #18539 : Calltips now work for float default arguments.
2013-07-26 18:21:32 -04:00