Gregory P. Smith
b48c5d5107
Fixes issue19081: When a zipimport .zip file in sys.path being imported
...
from is modified during the lifetime of the Python process after
zipimport has already opened and cached the zip's table of contents
it now fstat's the file after opening it upon every attempt to access
anything within and will re-read the table of contents if the .zip file
inode, size or mtime have changed.
It would've been nicer to hold any .zip file used by zipimport open for the
duration of the process but that would be more invasive and add an additional
open file descriptor to all zipimport using processes. It also would likely
not fix the problem on Windows due to different filesystem semantics.
2014-01-06 09:46:46 -08:00
R David Murray
875565bbd6
#1065986 : add missing error handler in pydoc unicode fix.
2014-01-05 17:14:08 -05:00
R David Murray
984f630f0a
#1065986 : Make pydoc handle unicode strings.
...
Patch by Akira Kitada.
2014-01-05 12:35:59 -05:00
R David Murray
1d2ef64df6
#16039/#20118: temporarily skip failing imaplib SSL test.
...
The fix the test is testing prevents a DOS attack, and the failure
mode will also prevent the DOS attack, so for now skip the test.
Either the test or the code does need fixing, however.
2014-01-03 17:26:21 -05:00
R David Murray
020d7c379a
closes 16039: CVE-2013-1752: limit line length in imaplib readline calls.
2014-01-03 13:59:22 -05:00
R David Murray
5851218e42
#17282 : Document unittest.main defaultTest argument.
2014-01-02 13:38:02 -05:00
Ned Deily
8a2bfc13c6
Update copyright dates in Mac plists.
2014-01-01 13:03:24 -08:00
Benjamin Peterson
1aeb8cfcfd
update copyright year
2013-12-31 22:02:22 -06:00
Benjamin Peterson
22d9ee7e17
complain if the codec doesn't return unicode
2013-12-28 10:33:58 -06:00
Antoine Pitrou
63cc99d9a6
Issue #19422 : Explicitly disallow non-SOCK_STREAM sockets in the ssl module, rather than silently let them emit clear text data.
2013-12-28 17:26:33 +01:00
Serhiy Storchaka
e891de3cbb
Fixed the wave module testing on big-endian platforms.
...
array.fromfile() works only with file objects, not io.FileIO instances.
2013-12-28 10:18:44 +02:00
Serhiy Storchaka
d551b28571
Issue #20027 : Fixed locale aliases for devanagari locales.
2013-12-26 21:20:46 +02:00
Serhiy Storchaka
dbb9630c53
Backported tests for Tkinter variables.
2013-12-26 20:08:34 +02:00
Serhiy Storchaka
5e11655156
Issue #20067 : Tkinter variables now work when wantobjects is false.
2013-12-26 20:05:53 +02:00
R David Murray
dfd21d3538
#20063 : Remove inaccurate/confusing statement about support of 'pop' method.
...
Patch by Gennadiy Zlobin.
2013-12-25 22:26:59 -05:00
Serhiy Storchaka
0356ff0493
test_debug in test_tkinter/test_text no longer fails when wantobjects is false.
2013-12-25 17:35:11 +02:00
Serhiy Storchaka
5542b15d25
Issue #19320 : test_tcl no longer fails when wantobjects is false.
2013-12-25 17:28:50 +02:00
Serhiy Storchaka
ec773cc9c3
Issue #19020 : Tkinter now uses splitlist() instead of split() in configure
...
methods.
2013-12-25 16:35:20 +02:00
Serhiy Storchaka
0b6b335253
Issue #20058 : sys.stdin.readline() in IDLE now always returns only one line.
2013-12-25 14:24:17 +02:00
Serhiy Storchaka
b712873a63
Removed spaces before colons and semicolons.
2013-12-24 11:04:06 +02:00
Serhiy Storchaka
610f84af0d
Removed spaces before commas and periods.
2013-12-23 18:19:34 +02:00
Benjamin Peterson
41432f527d
update Barry's email ( closes #19563 )
2013-12-22 19:45:12 -06:00
Antoine Pitrou
c96592da4d
s/lightweight/minimal/, as per issue #11379 .
2013-12-22 01:57:01 +01:00
Antoine Pitrou
6200324701
Issue #12226 : HTTPS is now used by default when connecting to PyPI.
2013-12-22 01:35:53 +01:00
Serhiy Storchaka
d105196c72
Issue #20048 : Fixed ZipExtFile.peek() when it is called on the boundary of
...
the uncompress buffer and read() goes through more than one readbuffer.
This is partial backport of changeset 028e8e0b03e8.
2013-12-21 23:51:15 +02:00
Serhiy Storchaka
0e4d852abf
Issue #20034 : Updated alias mapping to most recent locale.alias file
...
from X.org distribution using makelocalealias.py.
2013-12-20 18:22:38 +02:00
Serhiy Storchaka
18ab51d2ee
Merge heads
2013-12-19 22:31:23 +02:00
Serhiy Storchaka
80b76bf0f9
Don't use sebTest() in tests for issue #5815 .
2013-12-19 22:28:25 +02:00
Zachary Ware
1875536480
Issue #19683 : Removed empty tests from test_minidom.
...
Initial patch by Ajitesh Gupta.
2013-12-19 13:44:19 -06:00
Serhiy Storchaka
bd78986279
Issue #5815 : Fixed support for locales with modifiers. Fixed support for
...
locale encodings with hyphens.
2013-12-19 21:21:06 +02:00
Victor Stinner
9450219b06
Issue #20026 : Fix the sqlite module to handle correctly invalid isolation level
...
(wrong type).
2013-12-19 16:44:48 +01:00
Serhiy Storchaka
0c221beed4
Issue #18829 : csv.Dialect() now checks type for delimiter, escapechar and
...
quotechar fields. Original patch by Vajrasky Kok.
2013-12-19 16:26:56 +02:00
Vinay Sajip
d46a31fc64
Issue #19902 : Added list of logging levels.
2013-12-19 11:42:18 +00:00
Benjamin Peterson
437c4ae5b7
update url to spec ( closes #20018 )
2013-12-18 15:36:34 -06:00
Gregory P. Smith
ddd71e2f78
remove trailing spaces.
2013-12-18 11:25:26 -08:00
Zachary Ware
b56c517b05
Issue #20005 : Fix typo in operator docs. Patch by Claudiu Popa.
2013-12-18 12:18:36 -06:00
Serhiy Storchaka
57bc6da7c4
Issue #19492 : Silently skipped distutils tests now reported as skipped.
2013-12-18 16:45:37 +02:00
R David Murray
15160399f5
#19855 : uuid.get_node now looks on the PATH for executables on unix.
...
Patch by Serhiy Storchaka.
2013-12-17 21:27:56 -05:00
Antoine Pitrou
bd4b667ea4
Issue #20006 : Fix sporadic failures in test_weakset.
2013-12-18 00:28:36 +01:00
Serhiy Storchaka
c97f5ede8f
Issue #20007 : HTTPResponse.read(0) no more prematurely closes connection.
...
Original patch by Simon Sapin.
2013-12-17 21:49:48 +02:00
R David Murray
ea76e87cc2
20004: Note that the setter in csv.DictReader is broken.
...
This is a comment in the code because only someone reading the code would try
setting fieldnames to None in the first place...
2013-12-17 12:09:46 -05:00
Serhiy Storchaka
78ad6583d6
Circumventing a bug in glibc (issue #17976 ).
...
Patch by Jaakko Moisio.
2013-12-17 17:32:20 +02:00
Serhiy Storchaka
15df36bb14
Issue #16404 : Add checks for return value of PyInt_FromLong() in
...
sys.getwindowsversion() and ossaudiodev.setparameters().
Reported by Ned Batchelder.
2013-12-17 15:09:45 +02:00
Serhiy Storchaka
0585418b0d
Fixed leak in sys.flags initialization.
2013-12-17 14:59:29 +02:00
Serhiy Storchaka
84e7e5f40e
Skip test for issue #17976 if /dev/null is not available.
2013-12-17 14:53:32 +02:00
Serhiy Storchaka
6d562319d2
Issue #17976 : Fixed potential problem with file.write() not detecting IO error
...
by inspecting the return value of fwrite(). Based on patches by Jaakko Moisio
and test by Victor Stinner.
2013-12-17 14:40:06 +02:00
Serhiy Storchaka
2f43b63543
Removed old implementation of ntpath.splitunc() (issue #19912 ).
2013-12-16 18:43:00 +02:00
Zachary Ware
51e90bcee5
Issue #19987 : Re-write test_alias_fallback in test_winsound to have two
...
acceptable outcomes: success or RuntimeError. Without being able to
actually hear whether a sound was played, either one could be right, but
any other error would be a failure.
2013-12-16 08:58:10 -06:00
Serhiy Storchaka
4d39df35d7
Merge heads
2013-12-16 15:16:11 +02:00
Serhiy Storchaka
dd5a46c696
Issue #19912 : Fixed numerous bugs in ntpath.splitunc().
...
* splitunc() no more returns illegal result for paths with redundant slashes.
* splitunc() now correctly processes the u'İ' character
(U+0130, LATIN CAPITAL LETTER I WITH DOT ABOVE).
* Added new tests for splitunc().
2013-12-16 15:15:29 +02:00