Benjamin Peterson
9fa6a8ba63
fix xmlcharrefreplace tests on wide build when tests are loaded from .py[co] files.
2013-10-31 20:22:41 -04:00
Raymond Hettinger
9a2325fac8
Fix unintended switch from a constant to a global in 56a3c0bc4634
2013-10-28 02:39:04 -06:00
Benjamin Peterson
e18b82d996
backport #19426
2013-10-29 15:27:14 -04:00
Serhiy Storchaka
fdb73ed486
Issue #19405 : Fixed outdated comments in the _sre module.
2013-10-27 08:00:57 +02:00
Benjamin Peterson
07ffc78c9a
2.7.6rc1
2013-10-26 14:57:21 -04:00
Benjamin Peterson
bcf2fa7ea9
update pydoc-topics
2013-10-26 13:44:54 -04:00
Benjamin Peterson
657d06b13e
just return toplevel symbol table rather than all blocks ( closes #19393 )
2013-10-26 13:13:51 -04:00
Ned Deily
7c5ba45fd8
Issue #19400 : Prevent extension module build failures with Xcode 5 on OS X
...
10.8+ when using a universal Python that included a PPC architecture,
such as with a python.org 32-bit-only binary installer.
2013-10-25 16:01:42 -07:00
Serhiy Storchaka
22fb0dec30
Issue #19327 : Fixed the working of regular expressions with too big charset.
2013-10-24 22:02:42 +03:00
Senthil Kumaran
2147857db3
Increase macurl2path test coverage
2013-10-23 21:45:58 -07:00
Antoine Pitrou
5d791802c9
Issue #19352 : Fix unittest discovery when a module can be reached through several paths (e.g. under Debian/Ubuntu with virtualenv).
2013-10-23 19:11:29 +02:00
Tim Golden
17934856dc
Issue #15207 : Fix mimetypes to read from correct area in Windows registry (Original patch by Dave Chambers)
2013-10-22 20:45:13 +01:00
Ezio Melotti
bc38548145
#8964 : fix platform._sys_version to handle IronPython 2.6+.
2013-10-21 03:03:32 +03:00
Serhiy Storchaka
2585e1e48a
Issue #16038 : CVE-2013-1752: ftplib: Limit amount of data read by
...
limiting the call to readline(). Original patch by Michał
Jastrzębski and Giampaolo Rodola.
2013-10-20 16:57:07 +03:00
Serhiy Storchaka
f105672332
Issue #19279 : UTF-7 decoder no more produces illegal unicode strings.
2013-10-19 20:37:49 +03:00
Serhiy Storchaka
7137803238
Issue #19276 : Fixed the wave module on 64-bit big-endian platforms.
2013-10-17 23:03:48 +03:00
Serhiy Storchaka
2235648b86
Issue 19276: Fix tests for wave files on big-endian platforms.
...
Skip tests for 24-bit wave file on big-endian platforms.
2013-10-17 12:45:45 +03:00
Victor Stinner
a5cd255a7c
Close #19267 : Fix support of multibyte encoding (ex: UTF-16) in the logging
...
module.
2013-10-15 23:36:56 +02:00
Serhiy Storchaka
e1a8a40d1d
Issue #18919 : Fixed resource leaks in audio tests.
2013-10-14 20:09:30 +03:00
Serhiy Storchaka
c72105c06d
Issue #18919 : Catch and check warnings in the aifc module tests.
2013-10-14 20:03:06 +03:00
Georg Brandl
62e9580219
Closes #19258 : close WSGI server after handling request in demo code.
2013-10-14 16:52:13 +02:00
Georg Brandl
e206e49172
Closes #16657 : fix docstring of traceback.format_tb().
2013-10-13 23:31:38 +02:00
Serhiy Storchaka
0fa0173893
Issue #18919 : Added tests for the sunau module. Unified and extended tests
...
for audio modules: aifc, sunau and wave.
2013-10-13 17:47:22 +03:00
Mark Dickinson
36f6e2c9e0
Issue #18739 : Fix inconsistent results from math.log(n) and math.log(long(n))
2013-10-13 10:55:15 +01:00
Serhiy Storchaka
499d82136d
Issue #18919 : If the close() method of a writer in the sunau or wave module
...
failed, second invocation of close() and destructor no more raise an
exception. Second invocation of close() on sunau writer now has no effects.
The aifc module now accepts lower case of names of the 'ulaw' and 'alaw'
codecs.
2013-10-12 21:35:33 +03:00
Serhiy Storchaka
986b5ee4d9
Issue #19131 : The aifc module now correctly reads and writes sampwidth of
...
compressed streams.
2013-10-12 18:21:12 +03:00
Tim Peters
b563d4b7c8
LOL - 2.7 requires very different code. Annoying ;-)
2013-10-08 21:51:06 -05:00
Tim Peters
641d6217a8
Issue 19158: a rare race in BoundedSemaphore could allow .release() too often.
...
(grafted from e06edc0c7a4951327f0c95ebeebccba6879a6063)
2013-10-08 20:55:51 -05:00
Serhiy Storchaka
6f2ec18b4e
Issue #18037 : Do not escape '\u' and '\U' in raw strings.
2013-10-08 21:07:21 +03:00
Raymond Hettinger
8dc1692337
Issue 14927: Minor clean-up of function parameters in random().
2013-10-05 21:34:48 -07:00
Ezio Melotti
256735ce00
#19166 : use an unused var in a test. Patch by Vajrasky Kok.
2013-10-05 03:01:37 +03:00
Serhiy Storchaka
0189a46ec5
Issue #18037 : 2to3 now escapes '\u' and '\U' in native strings.
2013-10-03 12:08:22 +03:00
Serhiy Storchaka
fdda200195
Issue #19137 : The pprint module now correctly formats empty set and frozenset
...
and instances of set and frozenset subclasses.
2013-10-02 11:40:26 +03:00
Barry Warsaw
3760d97f9b
2.6 merge
2013-10-01 11:39:08 -04:00
Barry Warsaw
aa914509d3
Typo caught by : Arfrever Frehtes Taifersar Arahesis.
2013-10-01 11:38:38 -04:00
Barry Warsaw
be1950d059
Bump to 2.6.9rc1
2013-09-30 20:34:29 -04:00
Barry Warsaw
290df2ced8
Regenerate pydoc_topics.py
2013-09-30 20:31:56 -04:00
Barry Warsaw
d5849f545e
- Issue #16040 : CVE-2013-1752: nntplib: Limit maximum line lengths to 2048 to
...
prevent readline() calls from consuming too much memory. Patch by Jyrki
Pulliainen.
2013-09-30 19:09:29 -04:00
Barry Warsaw
42faa55124
- Issue #16040 : CVE-2013-1752: nntplib: Limit maximum line lengths to 2048 to
...
prevent readline() calls from consuming too much memory. Patch by Jyrki
Pulliainen.
2013-09-30 18:35:15 -04:00
Antoine Pitrou
923852857d
Issue #12641 : Avoid passing "-mno-cygwin" to the mingw32 compiler, except when necessary.
...
Patch by Oscar Benjamin.
2013-09-30 22:13:17 +02:00
Barry Warsaw
c545a5ebd6
- Issue #16041 : CVE-2013-1752: poplib: Limit maximum line lengths to 2048 to
...
prevent readline() calls from consuming too much member. Patch by Jyrki
Pulliainen.
2013-09-30 15:56:29 -04:00
Senthil Kumaran
a719eed4d9
Code improvement. Review comment by Eric V. Smith
2013-09-29 18:57:42 -07:00
Barry Warsaw
6c1bb7b4e3
- Issue #16037 : HTTPMessage.readheaders() raises an HTTPException when more
...
than 100 headers are read. Adapted from patch by Jyrki Pulliainen.
2013-09-29 13:59:06 -04:00
Richard Oudkerk
c54960723f
Issue #19112 : avoid using function defined in method.
2013-09-29 17:10:40 +01:00
Benjamin Peterson
61f901c882
remove duplicate method ( closes #19127 )
2013-09-29 11:15:31 -04:00
Benjamin Peterson
0e234e60e6
condense two tests with the same name ( closes #19114 )
2013-09-29 11:13:27 -04:00
Benjamin Peterson
f20cf944ab
move helper function into its test method ( closes #19112 )
2013-09-29 11:08:04 -04:00
Antoine Pitrou
0879b168bf
Issue #4366 : Fix building extensions on all platforms when --enable-shared is used.
2013-09-29 01:48:40 +02:00
Benjamin Peterson
a094f04e7b
fix duplicate test names ( closes #19115 )
...
Patch by Xavier de Gaye.
2013-09-28 15:12:37 -04:00
Serhiy Storchaka
cfa5574405
Issue #18950 : Fix miscellaneous bugs in the sunau module.
...
Au_read.readframes() now updates current file position and reads correct
number of frames from multichannel stream. Au_write.writeframesraw() now
correctly updates current file position. Au_read and Au_write now correctly
work with file object if start file position is not a zero.
2013-09-28 21:31:36 +03:00
Barry Warsaw
d6fddf3d15
- Issue #16038 : CVE-2013-1752: ftplib: Limit amount of data read by
...
limiting the call to readline(). Original patch by Michał
Jastrzębski and Giampaolo Rodola.
with test fixes by Serhiy Storchaka.
2013-09-25 09:36:58 -04:00
Barry Warsaw
4e95d60191
- Issue #16039 : CVE-2013-1752: Change use of readline in imaplib module to
...
limit line length. Patch by Emil Lind.
2013-09-22 16:07:09 -04:00
Nick Coghlan
254a377222
This check can still fail on RHEL6
2013-09-22 19:36:09 +10:00
Serhiy Storchaka
60bf0e4daa
Issue #18050 : Fixed an incompatibility of the re module with Python 2.7.3
...
and older binaries.
2013-09-20 21:25:53 +03:00
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
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
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
Mark Dickinson
8fdd9deb45
Docstring typo fix: Arithmentic -> Arithmetic.
2013-09-09 10:32:08 +01: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
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
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
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
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
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
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
Charles-François Natali
5aac8b7c2c
Issue #18643 : Fix some test_socket failures due to large default socket buffer
...
sizes.
2013-08-29 19:00:30 +02:00
Ezio Melotti
290c6b3446
#18833 : add a test for test_telnetlib. Patch by Alex Volkov.
2013-08-25 23:56:43 +03:00
Charles-François Natali
b0042000c4
Merge.
2013-08-25 18:27:34 +02:00
Charles-François Natali
4c53314475
Issue #18763 : subprocess: The file descriptors are now closed after calling the
...
preexec_fn callback, which may open file descriptors.
2013-08-25 18:22:49 +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
a0c8373e32
Fix test
2013-08-25 14:44:27 +02:00
Christian Heimes
8f65ef8853
Issue #18709 : Fix issue with IPv6 address in subjectAltName on Mac OS X Tiger
2013-08-25 14:12:41 +02:00
Christian Heimes
f869a9484a
Issue #18709 : Fix issue with IPv6 address in subjectAltName on Mac OS X Tiger
2013-08-25 14:12:41 +02:00
Antoine Pitrou
e758715144
Issue #18756 : make test_urandom_failure more robust by executing its code in a subprocess
2013-08-24 20:52:27 +02:00
Ezio Melotti
6c61a5afef
#18798 : fix typo in test_fcntl. Patch by Vajrasky Kok.
2013-08-23 23:06:31 +03: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
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
Barry Warsaw
f880e5d5ea
Fix UnboundLocalError regression due to previous incorrect fix for
...
issue 16248.
2013-08-20 20:35:20 -04: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
83737c632c
Issue #2537 : Remove breaked check which prevented valid regular expressions.
...
Patch by Meador Inge.
See also issue #18647 .
2013-08-19 23:20:07 +03:00
Serhiy Storchaka
0364134fc8
Issue #18647 : A regular expression in the doctest module rewritten so that
...
determined minimal width of repeated subexpression is >0 (an empty line was
not matched in any case).
2013-08-19 23:04:52 +03:00
Serhiy Storchaka
34ecb118f1
Issue #18647 : Correctly bound calculated min/max width of a subexpression.
...
Now max width is MAXREPEAT on 32- and 64-bit platforms when one of
subexpressions is unbounded repetition.
2013-08-19 22:53:46 +03:00
Terry Jan Reedy
41fca3e482
Issue #18489 : idlelib.SearchEngine - add docstrings
...
(original patch by Phil Webster).
2013-08-19 01:05:09 -04:00
Terry Jan Reedy
a81e969144
Issue #18592 : whitespace
2013-08-18 18:27:02 -04:00
Terry Jan Reedy
9946a28988
Issue #18592 : Add docstrings to file being tested (idlelib.SearchDialogBase.py).
2013-08-18 18:22:34 -04:00
Ezio Melotti
419e23cbb0
#18466 : fix more typos. Patch by Févry Thibault.
2013-08-17 16:56:09 +03:00
Ezio Melotti
5dd99ebbc2
#18741 : fix more typos. Patch by Févry Thibault.
2013-08-17 16:07:38 +03:00
Ezio Melotti
f5469cff1f
#18705 : fix a number of typos. Patch by Févry Thibault.
2013-08-17 15:43:51 +03: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
326ec048bf
test_execvpe_with_bad_arglist shouldn't be in URandomTests
2013-08-16 20:56:12 +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
Terry Jan Reedy
1703df6c93
Issue #18732 : Remove unused* parameter output_sep from IdleHistory.History
...
and paired splits and joins that do nothing when output_sep is its default \n.
*It in unused in that the class in only instantiated once, with the default.
Make a few other changes in .fetch and its test.
2013-08-15 16:19:07 -04:00
Terry Jan Reedy
74b3290c10
Issue #18226 : Fix ImportError and subsequent TypeError in 2.7 backport.
...
Running py27\PCbuild> python_d -m test.regrtest -ugui test_idle
ignores the exceptions and gives no indication of a problem (fixed in 3.3).
2013-08-15 15:07:58 -04:00
Terry Jan Reedy
8ce36dd7aa
Issue #18425 : Unittests for idlelib.IdleHistory. First patch by R. Jayakrishnan.
...
Issue #18425 : Unittests for idlelib.IdleHistory. First patch by R. Jayakrishnan.
Issue #18425 : Unittests for idlelib.IdleHistory. First patch by R. Jayakrishnan.
Issue #18425 : Unittests for idlelib.IdleHistory. First patch by R. Jayakrishnan.
Issue #18425 : Unittests for idlelib.IdleHistory. First patch by R. Jayakrishnan.
Issue #18425 : Unittests for idlelib.IdleHistory. First patch by R. Jayakrishnan.
Issue #18425 : Unittests for idlelib.IdleHistory. First patch by R. Jayakrishnan.
Issue #18425 : Unittests for idlelib.IdleHistory. First patch by R. Jayakrishnan.
Issue #18425 : Unittests for idlelib.IdleHistory. First patch by R. Jayakrishnan.
2013-08-15 14:31:55 -04:00
Terry Jan Reedy
b638a38dc0
Issue #18425 : Add docstrings to IdleHistory.py. Remove redundant 'history_'
...
prefix from two attributes and two methods of History class.
2013-08-13 19:51:04 -04:00
Ezio Melotti
d674927086
#18687 : remove obsolete comment. Patch by Févry Thibault.
2013-08-13 12:53:40 +03:00
Senthil Kumaran
1eeba83867
Increasing test coverage of ftplib. Patch by Muhammad Jehanzeb
2013-08-12 22:24:43 -07:00
Ezio Melotti
d599142197
#18663 : document that assertAlmostEqual also works when the values are equal and add tests.
2013-08-11 13:04:50 +03: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
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
Terry Jan Reedy
f948943604
Issue #18151 : Replace remaining Idle 'open...close' pairs with 'with open'.
2013-08-04 15:39:56 -04:00
Eli Bendersky
b671701149
Issue #13612 : Fix a buffer overflow in case of a multi-byte encoding.
...
This is a belated backport of f7b47fb30169; Patch by Serhiy Storchaka.
2013-08-04 06:09:49 -07:00
Serhiy Storchaka
06fbac5ea0
Issue #18647 : Temporary disable the "nothing to repeat" check to make buildbots happy.
2013-08-04 13:22:30 +03:00
Serhiy Storchaka
3ade66c203
Issue #17998 : Fix an internal error in regular expression engine.
2013-08-03 19:26:33 +03:00
Charles-François Natali
e8e312142e
Issue #18325 : Fix a test_kqueue failure on OpenBSD: kevent's data and event
...
members are integers.
2013-08-02 10:01:46 +02:00
Antoine Pitrou
ba7620cbff
Fix tkinter regression introduced by the security fix in #16248 .
2013-08-01 22:25:12 +02: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
9ba8d6bf34
Make all idle test case names end with 'Test'.
2013-07-30 01:37:36 -04:00
Terry Jan Reedy
aea6c115ed
Update gui section of idle test README.
2013-07-28 16:39:44 -04:00
Raymond Hettinger
662908b5e5
Restore the data block size to 62.
...
The former block size traded away good fit within cache lines in
order to gain faster division in deque_item(). However, compilers
are getting smarter and can now replace the slow division operation
with a fast integer multiply and right shift. Accordingly, it makes
sense to go back to a size that lets blocks neatly fill entire
cache-lines.
GCC-4.8 and CLANG 4.0 both compute "x // 62" with something
roughly equivalent to "x * 9520900167075897609 >> 69".
2013-07-28 02:34:42 -07:00
Terry Jan Reedy
16b10c64d7
Issue #18441 : Move commented out code to issue message.
2013-07-28 00:01:00 -04:00
Terry Jan Reedy
d826d77d11
Issue #18441 : whitespace
2013-07-27 22:29:09 -04:00
Terry Jan Reedy
47cb4d62c6
Issue #18441 : Comment out code that will not compile because the standard
...
library has a package, lib-tk, that cannot be imported by normal means.
Lib/test/test_tk, etc, have special code to access this package. I will not
bother with it unless the darwin check is needed before it gets moved to
test.(test-)support.py.
2013-07-27 22:27:25 -04:00
Terry Jan Reedy
d71244f189
Issue #18441 : add Mac (darwin) gui check. This is not needed today, but has been
...
in the past and might be needed again in the future
2013-07-27 22:06:03 -04:00
Terry Jan Reedy
cc8506ecbe
Update int division to quiet 2to3 warning.
2013-07-27 20:28:53 -04:00
Terry Jan Reedy
6fb6f8cf58
Issue #18441 : Correct previous patch, which hg committed before I wanted it to.
2013-07-27 19:07:07 -04:00
Terry Jan Reedy
09eb26fe26
Issue #18441 : Make test.support.requires('gui') skip when it should.
...
(Consolidating this check and various checks in tkinter files and moving them
to test.support and test.regrtest will be another issue.)
2013-07-21 20:13:24 -04:00
Terry Jan Reedy
349065500a
Issue #18539 : Calltips now work for float default arguments.
2013-07-26 18:21:32 -04:00
Ezio Melotti
e21b6ae725
#14853 : remove test that was making too many assumptions about stdin. Patch by Elena Oat.
2013-07-25 05:21:00 +02:00
Terry Jan Reedy
f688f725b5
Backed out changeset: 23b0164b9c82 #18441 not working
2013-07-21 21:57:52 -04:00
Terry Jan Reedy
1ad65ac841
Backed out changeset: 9f922270a929 so can backout larger patch
2013-07-21 21:57:02 -04:00
Terry Jan Reedy
518e48b2bc
Issue #18441 : fix buildbot name-error for TclError.
2013-07-21 21:24:45 -04:00
Terry Jan Reedy
2c636fd655
Issue #18441 : Make test.support.requires('gui') skip when it should.
...
(Consolidating this check and various checks in tkinter files and moving them
to test.support and test.regrtest will be another issue.)
2013-07-21 20:13:24 -04:00
Ned Deily
14ef0c8d6b
Issue #17532 : Prevent exception when changing key sets if Options menu is empty.
2013-07-20 14:38:24 -07:00
Richard Oudkerk
c8ef9bc694
Issue #18455 : multiprocessing should not retry connect() with same socket.
2013-07-15 18:37:48 +01:00
Terry Jan Reedy
a25a31a901
Issue #18365 : convert buildbot errors to skips.
2013-07-13 04:05:42 -04:00
Terry Jan Reedy
c8a198ce02
Issue #18279 : Add tests for idlelib/RstripExtension.py. Original patch by
...
Phil Webster. With that available, modify RstripExtension.py to stop deleting
null slices, which caused a file to be marked as changed when it was not.
2013-07-13 02:34:35 -04:00
Terry Jan Reedy
e7cbd3f07c
Issue #18365 : 2.7 corrections so tests run
2013-07-13 00:02:27 -04:00
R David Murray
d781b07e29
#18437 : fix comment typo.
2013-07-12 22:57:12 -04:00
Terry Jan Reedy
fccb0d2d0d
Issue #18365 : normalize whitespace
2013-07-12 20:18:33 -04:00
Terry Jan Reedy
16c107046f
Issue #18365 : Add mock Text class and test thereof versus tk.Text.
...
Based on patches by Todd.Rovito and Phil Webster.
2013-07-12 20:10:17 -04:00
Serhiy Storchaka
fab65428d5
Issue #18101 : Tcl.split() now process Unicode strings nested in a tuple as it
...
do with byte strings.
Added tests for Tcl.split() and tcl.splitline().
2013-07-11 20:32:48 +03:00
Christian Heimes
20d46692fc
Issue #18347 : ElementTree's html serializer now preserves the case of closing tags.
2013-07-05 01:41:30 +02:00
Antoine Pitrou
0c503c2c7f
Issue #11185 : Fix test_wait4 under AIX. Patch by Sébastien Sablé.
2013-07-04 21:03:10 +02:00
Richard Oudkerk
1e462fefd6
Issue #17261 : Ensure multiprocessing's proxies use proper address.
2013-07-02 13:31:43 +01:00
Richard Oudkerk
41072db709
Issue #17097 : Make multiprocessing ignore EINTR.
2013-07-01 18:45:28 +01:00
Terry Jan Reedy
44d8b11c3e
Issue #7136 : In the Idle File menu, "New Window" is renamed "New File".
...
Patch by Tal Einat, Roget Serwy, and Todd Rovito.
2013-07-01 00:42:44 -04:00
Terry Jan Reedy
b6eeef4165
Issue #8515 : Set __file__ when run file in IDLE. Backport 2c276d0553ff by
...
Andrew Svetlov, based on initial patch by Bruce Frederiksen.
2013-06-30 19:07:49 -04:00
Terry Jan Reedy
d1caae86e5
Issue #18189 : add test_delegator for Idle Delegator class.
...
Also change private dict used as a set to a set.
2013-06-30 18:36:53 -04:00
Terry Jan Reedy
7ab0c310c7
Issue 18189: remove unused methods in idlelib.Delegator.Delegator.
...
Idle code already uses x.delegate instead of x.getdelegate().
The printed report must have been for testing.
2013-06-30 16:51:53 -04:00
Terry Jan Reedy
6c1d9dd566
Tempfile.py: stop buildbot warning about using deprecated xreadlines.
...
The slightly odd behavior (the validity of passing a sizehint depends on the
type of self._file) was kept to avoid breaking code that depends on it.
Test_tempfile.test_xreadlines passes (along with everything else).
2013-06-30 13:57:57 -04:00
R David Murray
24dc75365e
#18155 : Regex-escape delimiter, in case it is a regex special char.
...
Patch by Vajrasky Kok, with slight modification to the tests by me.
2013-06-29 18:43:59 -04:00
Terry Jan Reedy
1d14246b77
Issue #18103 : Update README.txt and test_idle to describe and run gui tests.
2013-06-29 18:22:02 -04:00
Terry Jan Reedy
2b149860a0
Issue #18316 : Update idlelib 2.7 except clauses to ease backports.
2013-06-29 00:59:34 -04:00
Terry Jan Reedy
8eab008b53
Issue *18081, #18242 : Change Idle warnings capture in PyShell and run to stop
...
replacing warnings.formatwarnings and to reverse replacement of
warnings.showwarnings when import is complete and when main function exits.
Add test_warning.py. Vinay Sajip provided capture_warnings function.
2013-06-28 23:51:34 -04:00
Terry Jan Reedy
35115e6aab
Issue #18315 : Improve fileinput docs by adding 'bufsize' where missing and
...
replacing redundant signature in input() docstring with one-line summary.
Original patch by Terrel Shumway.
2013-06-28 18:59:19 -04:00
Benjamin Peterson
227f0faed2
reapply 5accb0ac8bfb
2013-06-25 11:34:48 -07:00
R David Murray
9575222b7f
#18179 : reflow paragraphs.
2013-06-23 16:10:37 -04:00
R David Murray
7f01d55333
#18179 : document the local_hostname parameter.
...
Original patch by Berker Peksag.
2013-06-23 16:02:34 -04:00
Christian Heimes
262df4d3e8
Solaris' /dev/null is a symlink. The device test now uses stat instead of lstat to compensate
...
for symlinks.
2013-06-23 16:27:01 +02:00
Victor Stinner
760388100e
Issue #18137 : Detect integer overflow on precision in float.__format__()
...
and complex.__format__().
2013-06-23 14:56:57 +02:00
Terry Jan Reedy
223a22b6ab
#18151 , part 2: Silence debug build resource warning for each file opened by
...
'Find in files' by replacing 'open with implicit close' by 'with open' in
GrepDialog method grep_it. Streamline code with enumerate(), direct file
iteration, and output tweak. Add test for this method, including output format.
2013-06-22 18:26:38 -04:00
Benjamin Peterson
10c74d28e4
backout 5accb0ac8bfb; needs more discussion on python-dev
2013-06-22 11:16:36 -07:00
Christian Heimes
0a89f8e2bb
transplant test_stat from default to 2.7 in order to make sure it works on all supported platforms
2013-06-22 18:58:51 +02:00
Andrew Kuchling
aa6c297316
#18113 : avoid segfault if Py_XDECREF triggers code that calls set_panel_userptr again
...
Problem noted & original patch by Serhiy Storchaka; I tweaked the patch a bit.
2013-06-22 12:33:05 -04:00
Serhiy Storchaka
e2cc341ffa
Issue #18167 : cgi.FieldStorage no more fails to handle multipart/form-data
...
when \r\n appears at end of 65535 bytes without other newlines.
2013-06-17 16:33:48 +03:00
Andrew Kuchling
a49dcc51b8
#18113 : Objects associated to a curses.panel object with set_userptr() were leaked.
...
Reported by Atsuo Ishimoto.
2013-06-15 13:53:10 -04:00
Raymond Hettinger
03512c18cb
Fix comment blocks. Adjust blocksize to a power-of-two for better divmod computations.
2013-06-14 01:06:33 -04:00
Roger Serwy
16ce43a6d8
#5492 : Avoid traceback when exiting IDLE caused by a race condition.
2013-06-11 22:13:17 -05:00
Ned Deily
c94f07de77
Issue #18186 : remove obsolete 2.2 compatibility comment.
2013-06-11 15:00:21 -07:00
Roger Serwy
fff3f48365
#17511 : Keep IDLE find dialog open after clicking "Find Next".
...
Original patch by Sarah K.
2013-06-10 23:01:20 -05:00
Richard Oudkerk
045e457992
Issue #18174 : Fix fd leaks in tests.
2013-06-10 16:27:45 +01:00
Ronald Oussoren
0e6283e68a
Ensure that the fix for #17269 also works on OSX 10.4
...
AI_NUMERICSERV isn't defined on OSX 10.4.
2013-06-10 10:35:36 +02:00
Serhiy Storchaka
729ad5cf56
Issue #18038 : SyntaxError raised during compilation sources with illegal
...
encoding now always contains an encoding name.
2013-06-09 16:54:56 +03:00
Terry Jan Reedy
8d6834a28e
Issue18130: Test class idlelib.configSectionNameDialog.GetCfgSectionNameDialog.
...
Fix bug in existing human test and add instructions; fix two bugs in tested
code; remove redundancies, add spaces, and change two internal method names.
Add mock_tk with mocks for tkinter.Variable subclasses and tkinter.messagebox.
Use mocks in test_config_name to unittest methods that are otherwise gui-free.
2013-06-05 14:24:42 -04:00
Senthil Kumaran
964c25f1d9
Fix #17967 - Fix related to regression on Windows.
...
os.path.join(*self.dirs) produces an invalid path on windows.
ftp paths are always forward-slash seperated like this. /pub/dir.
2013-06-02 11:59:09 -07:00
Senthil Kumaran
7351b66eb9
Fix thishost helper funtion in urllib. Returns the ipaddress of localhost when
...
hostname is resolvable by socket.gethostname for local machine. This all fixes
certain freebsd builtbot failures.
2013-06-01 11:11:30 -07:00
Senthil Kumaran
243cb807e9
Fix #17967 : For ftp urls CWD to target instead of hopping to each directory
...
towards target. This fixes a bug where target is accessible, but parent
directories are restricted.
2013-06-01 08:24:31 -07:00
Senthil Kumaran
a085f000b4
Fix #16450 test_missing_localfile testcase fails on misconfigured hostname.
...
Refactor test to accomodate that and exercise the needed functionality.
2013-06-01 07:59:10 -07:00
Serhiy Storchaka
95787fdb9c
Issue #18094 : test_uuid no more reports skipped tests as passed.
2013-05-31 22:34:53 +03:00
Terry Jan Reedy
b02a1b8a08
Issue #15392 : Use test.test_support, as used test.support in 3.x.
2013-05-30 18:24:28 -04:00
Terry Jan Reedy
b8fd9cafbe
Issue #15392 : Create a unittest framework for IDLE, 2.7 version.
...
Preliminary patch by Rajagopalasarma Jayakrishnan.
2013-05-30 14:47:33 -04:00
Ned Deily
8e60f6ebfb
Issue #18098 : The deprecated OS X Build Applet.app fails to build on
...
OS X 10.8 systems because the Apple-deprecated QuickDraw headers have
been removed from Xcode 4. Skip building it in this case.
2013-05-30 00:14:29 -07:00
Senthil Kumaran
2c4810efa2
#17403 : urllib.parse.robotparser normalizes the urls before adding to ruleline.
...
This helps in handling certain types invalid urls in a conservative manner.
2013-05-29 05:58:47 -07:00
Ned Deily
1ab29e78f9
Issue #18080 : When building a C extension module on OS X, if the compiler
...
is overriden with the CC environment variable, use the new compiler as
the default for linking if LDSHARED is not also overriden. This restores
Distutils behavior introduced in 2.7.3 and inadvertently dropped in 2.7.4.
2013-05-28 16:31:45 -07:00
Raymond Hettinger
7393c69d6d
Issue #18015 : Fix unpickling of 2.7.3 and 2.7.4 namedtuples.
2013-05-27 10:58:55 -07:00
Ronald Oussoren
16c52a3376
Issue #17269 : Workaround for a platform bug in getaddrinfo on OSX
...
Without this patch socket.getaddrinfo crashed when called
with some unusual argument combinations.
2013-05-24 13:45:27 +02:00
Ned Deily
674f4fa2ad
Issue #17532 : Always include Options menu for IDLE on OS X.
...
Patch by Guilherme Simões.
2013-05-22 15:16:17 -07:00
Benjamin Peterson
1cf48b4adc
implement missing inequality on WeakSet
2013-05-22 13:25:41 -07:00
Roger Serwy
02c0ed0612
#14146 : Highlight source line while debugging on Windows.
2013-05-20 22:13:39 -05:00
Benjamin Peterson
b91ef008ba
add missing NULL check ( closes #18019 )
2013-05-19 19:38:12 -07:00
Antoine Pitrou
f41ffedad0
Issue #11995 : test_pydoc doesn't import all sys.path modules anymore.
2013-05-19 15:44:54 +02:00
Vinay Sajip
bb6b51ca25
Issue #17981 : Closed socket on error in SysLogHandler.
2013-05-16 22:47:47 +01:00
doko@ubuntu.com
9855249a9f
- Fix typos in the multiprocessing module.
2013-05-15 16:54:16 +02:00
doko@ubuntu.com
96645cc4ff
- Issue #17754 : Make ctypes.util.find_library() independent of the locale.
2013-05-15 15:46:11 +02:00
Serhiy Storchaka
7423903eee
Issue #17606 : Fixed support of encoded byte strings in the XMLGenerator
...
characters() and ignorableWhitespace() methods. Original patch by Sebastian
Ortiz Vasquez.
2013-05-12 17:29:34 +03:00
Benjamin Peterson
b6492dd828
update topics
2013-05-11 22:31:33 -05:00
Benjamin Peterson
086494483d
bump version to 2.7.5
2013-05-11 22:29:20 -05:00
Benjamin Peterson
5a27168883
prevent IDLE from trying to close when sys.stdin is reassigned ( #17838 )
2013-05-11 22:24:28 -05:00
Benjamin Peterson
6e165b40e1
backout 214d8909513d for regressions ( #1159051 )
2013-05-11 13:17:13 -05:00
Serhiy Storchaka
ce34ba6e3c
Issue #16601 : Restarting iteration over tarfile no more continues from where
...
it left off. Patch by Michael Birtwell.
2013-05-09 14:22:05 +03:00
Terry Jan Reedy
673770c59d
Issue 16584: in filecomp._cmp, catch IOError as well as os.error.
...
Patch by Till Maas.
2013-05-08 23:42:41 -04:00
Serhiy Storchaka
db03e6b842
Issue #17656 : Skip test_extract_unicode_filenames if the FS encoding
...
doesn't support non-ASCII filenames.
2013-05-08 21:52:31 +03:00
Ezio Melotti
794e5573f4
#17833 : add debug output to investigate buildbot failure.
2013-05-07 09:34:49 +03:00
Antoine Pitrou
f16ff7bc21
Issue #17918 : When using SSLSocket.accept(), if the SSL handshake failed on the new socket, the socket would linger indefinitely.
...
Thanks to Peter Saveliev for reporting.
2013-05-06 22:19:48 +02:00
Richard Oudkerk
a9b90a7ff5
Issue #17805 : Add AsyncResult alias for ApplyResult
2013-05-06 12:04:28 +01:00
Terry Jan Reedy
b1d6f858d4
Issue17883: Update to assertIn to see why test fails on one buildbot.
2013-05-05 23:22:19 -04:00
Ezio Melotti
5cea09d290
#7855 : Add tests for ctypes/winreg for issues found in IronPython. Initial patch by Dino Viehland.
2013-05-04 17:59:03 +03:00
Serhiy Storchaka
6aca765220
Issue #16316 : mimetypes now recognizes the .xz and .txz (.tar.xz) extensions.
2013-05-04 15:11:46 +03:00
Raymond Hettinger
0801d73b1b
Issue #15535 : Fix regression in pickling of named tuples.
2013-05-03 00:59:20 -07:00
Antoine Pitrou
b996e04f11
Issue #17712 : Fix test_gdb failures on Ubuntu 13.04.
2013-05-01 00:15:44 +02:00
Nadeem Vawda
8c6521b04b
Issue #17843 : Remove bz2 test data that triggers antivirus warnings.
2013-04-28 18:43:31 +02:00
Serhiy Storchaka
8118df7bd4
Issue #17842 . Added base64 module tests with bytearray arguments.
2013-04-28 15:48:54 +03:00
Antoine Pitrou
68915d7510
Issue #17835 : Fix test_io when the default OS pipe buffer size is larger than one million bytes.
2013-04-24 23:31:38 +02:00
Ronald Oussoren
7b0baf0d87
Ensure that plistlib doesn't corrupt deeply nested datastructures
...
Without this changeset plistlib would write empty tags for plistlib.Data
objects in deeply nested datastructures.
Fixes #17353
2013-04-23 13:47:06 +02:00
Serhiy Storchaka
d194b30407
Issue #11714 : Use 'with' statements to assure a Semaphore releases a
...
condition variable. Original patch by Thomas Rachel.
2013-04-22 22:51:00 +03:00
Vinay Sajip
4dc385b4e3
Issue #17795 : Reverted backwards-incompatible change in SysLogHandler with Unix domain sockets.
2013-04-22 09:58:51 +01:00
R David Murray
5cbff51745
#17065 : Use process-unique key for winreg test.
...
Patch by Jeremy Kloth.
2013-04-21 10:13:43 -04:00
Richard Oudkerk
7bdd93c20e
Issue #17555 : Fix ForkAwareThreadLock so that size of after fork
...
registry does not grow exponentially with generation of process.
2013-04-17 19:15:52 +01:00
Roger Serwy
90f8b23be2
#14735 : Update IDLE docs to omit "Control-z on Windows".
2013-04-17 00:22:50 -05:00
Antoine Pitrou
be92971b38
Issue #17710 : Fix cPickle raising a SystemError on bogus input.
2013-04-15 21:35:25 +02:00
R David Murray
6077339270
#17341 : Include name in re error message about invalid group name.
...
Patch by Jason Michalski.
2013-04-14 13:08:50 -04:00
R David Murray
2fc97e6a2d
#2118 : clarify smtplib exception documentation.
2013-04-13 14:37:22 -04:00
Andrew Svetlov
524773020a
null merge
2013-04-13 18:07:15 +03:00
Andrew Svetlov
75f1fc27c3
Revert changes for #13355 by request from Raymond Hettinger
2013-04-13 18:05:44 +03:00
doko@ubuntu.com
66da7c573b
- Issue #17536 : Add to webbrowser's browser list: xdg-open, gvfs-open,
...
www-browser, x-www-browser, chromium browsers, iceweasel, iceape.
2013-04-13 17:05:11 +02:00
Mark Dickinson
f794b143d3
Issue #16447 : Fix potential segfault when setting __name__ on a class.
2013-04-13 15:19:05 +01:00
Serhiy Storchaka
6fa83f99af
Issue #17656 : Fix extraction of zip files with unicode member paths.
2013-04-13 12:28:17 +03:00
Andrew Svetlov
b6cdae3db4
Issue #13355 : Raise ValueError on random.triangular call with invalid params.
...
Initial patch by Yuriy Senko.
2013-04-12 23:39:33 +03:00
Roger Serwy
53dc4f0148
#17585 : Fixed IDLE regression. Now closes when using exit() or quit().
2013-04-11 19:13:21 -05:00
Roger Serwy
789299f858
#17657 : Show full Tk version in IDLE's about dialog.
...
Patch by Todd Rovito.
2013-04-08 20:57:13 -05:00
Serhiy Storchaka
371432b961
Close #17666 : Fix reading gzip files with an extra field.
2013-04-08 22:33:55 +03:00
doko@ubuntu.com
6cb4343d0d
- Issue #13150 , #17512 : sysconfig no longer parses the Makefile and config.h
...
files when imported, instead doing it at build time. This makes importing
sysconfig faster and reduces Python startup time by 20%.
2013-04-08 21:20:09 +02:00
Roger Serwy
4e9a705887
#17613 : Prevent traceback when removing syntax colorizer in IDLE.
2013-04-07 12:41:16 -05:00
Roger Serwy
231a8fd22d
#1207589 : Backwards-compatibility patch for right-click menu in IDLE.
2013-04-07 12:15:52 -05:00
Roger Serwy
75b249c914
#16887 : IDLE now accepts Cancel in tabify/untabify dialog box.
2013-04-06 20:26:53 -05:00
Serhiy Storchaka
6c467a41bc
Revert a premature patch for issue #14010 (changeset d17d10c84d27).
2013-04-06 22:51:29 +03:00
Serhiy Storchaka
bb84565cdb
Issue #14010 : Fix a crash when iterating or deleting deeply nested filters
...
in itertools module (i.e. itertools.izip(), itertools.chain(), etc).
2013-04-06 22:04:10 +03:00
Benjamin Peterson
9db034161e
merge 2.7.4 release branch
2013-04-06 10:00:24 -04:00
Benjamin Peterson
376dd0edfa
change version to 2.7.4
2013-04-06 09:58:51 -04:00
Benjamin Peterson
9275d10983
update pydoc-topics
2013-04-06 09:56:41 -04:00
Benjamin Peterson
bf51717022
merge 2.7.4 release branch
2013-04-03 22:35:28 -04:00
Benjamin Peterson
167a96c0ea
close search and replace dialog after it is used ( closes #17625 )
2013-04-03 22:35:12 -04:00
Roger Serwy
ad8cad3c6d
#14254 : IDLE now handles readline correctly across shell restarts.
2013-04-03 00:42:24 -05:00
Roger Serwy
d7c9d9cdcd
#17614 : IDLE no longer raises exception when quickly closing a file.
2013-04-02 22:37:12 -05:00
R David Murray
c993a19480
#13163 : fix names of _get_socket args
...
This was already done in Python3, but having it wrong leads to
incorrect debug output, so it seems worth fixing in 2.7 as well.
Patch by Victor Terrón.
2013-04-02 12:15:07 -04:00
Roger Serwy
34d0c66ef2
#6698 : IDLE now opens just an editor window when configured to do so.
2013-03-31 23:28:55 -05:00
Roger Serwy
cadd7864d8
#8900 : Using keyboard shortcuts in IDLE to open a file no longer raises an exception.
2013-03-31 15:53:08 -05:00
Charles-Francois Natali
e4059462f2
Issue #6419 : Fix a test_kqueue failure on some BSD flavors.
2013-03-31 20:35:59 +02:00
Roger Serwy
6e4e4abf16
#6649 : Fixed missing exit status in IDLE. Patch by Guilherme Polo.
2013-03-31 00:57:16 -05:00
Terry Jan Reedy
d676a3a221
Issue #17390 : Display Python version on Idle title bar. Patch by Edmond Burnett.
2013-03-30 18:50:43 -04:00
Benjamin Peterson
472f77daa5
merge 2.7.4 release branch
2013-03-30 15:31:31 -04:00
Benjamin Peterson
f3ad030a74
G -> M ( closes #17533 )
2013-03-30 15:30:28 -04:00
Benjamin Peterson
337b1737df
merge 2.7.4 release branch
2013-03-30 10:37:25 -04:00
Benjamin Peterson
d627e122d7
fall back when an old test_support doesn't have various data and functions ( closes #17533 )
2013-03-30 10:36:31 -04:00
Ezio Melotti
e66e7de5d6
#17526 : fix an IndexError raised while passing code without filename to inspect.findsource(). Initial patch by Tyler Doyle.
2013-03-30 05:10:28 +02:00
Ezio Melotti
f03aab7e51
#17564 : skip test_bad_address unless the tests are run with -unetwork/-uall.
2013-03-30 01:32:45 +02:00
Ezio Melotti
035ecbe2f4
#8906 : document failureException, longMessage, and maxDiff in the class docstring. Patch by Boris Feld.
2013-03-29 03:42:29 +02:00
Ezio Melotti
352def0ed2
#17329 : document unittest.SkipTest. Initial patch by Zachary Ware.
2013-03-27 20:11:55 +02:00
Vinay Sajip
1e76e8643b
Issue #12718 : Set importer on instance if Python function, to avoid bad interaction with winpdb.
2013-03-25 23:37:41 +00:00
Raymond Hettinger
cce5b04c75
Add missing docstrings to the collections ABCs
2013-03-24 14:54:25 -07:00
Benjamin Peterson
bc1d9c9963
merge 2.7.4 release branch
2013-03-23 22:32:34 -05:00
Benjamin Peterson
da2c7ebd23
allow any type with __getitem__ to be a mapping for the purposes of % ( #15801 )
2013-03-23 22:32:00 -05:00
Ezio Melotti
be1632beaf
Clean up references to threads in test_queue.
2013-03-23 23:35:06 +02:00
Benjamin Peterson
01d9a775fa
group ids and user ids can be longs now ( #17531 )
2013-03-23 15:40:36 -05:00
Benjamin Peterson
a1f6fab464
version to 2.7.4rc1
2013-03-23 10:17:29 -05:00
Benjamin Peterson
43cb4b79d9
update pydoc topics
2013-03-23 10:15:25 -05:00
Raymond Hettinger
5ded795a72
Hold key reference until the links have updated.
2013-03-23 05:27:51 -07:00
Vinay Sajip
bb2dad8915
Issue #17521 : Corrected non-enabling of logger following two calls to fileConfig().
2013-03-23 11:18:10 +00:00
Vinay Sajip
8651a51c92
Issue #17508 : Handled out-of-order handler configuration correctly.
2013-03-22 15:19:24 +00:00
Benjamin Peterson
469ee9d84c
backout 66e30c4870bb for breaking OSX ( #13150 )
2013-03-22 09:37:13 -05:00
doko@ubuntu.com
28b7c05131
- Issue #13150 : sysconfig no longer parses the Makefile and config.h files
...
when imported, instead doing it at build time. This makes importing
sysconfig faster and reduces Python startup time by 20%.
2013-03-21 15:02:16 -07:00
Benjamin Peterson
17feac7c6e
fix issue reference
2013-03-20 13:11:04 -05:00
Benjamin Peterson
b2c57a9142
this obviously is not going to raise any -3 warnings
2013-03-20 13:10:41 -05:00
Benjamin Peterson
625af8e13e
site.py is needed to set up paths
2013-03-20 12:47:57 -05:00
Gregory P. Smith
5c87ad07bd
Use a larger amount of data for the interrupted_write tests so that
...
they work properly on systems configured with large pipe buffers.
2013-03-19 23:21:03 -07:00
Kristján Valur Jónsson
9795ca44fb
Issue #10212 : Support new buffer interface for struct.unpack and
...
cStringIO
2013-03-19 17:17:47 -07:00
Kristján Valur Jónsson
1d108bc714
Issue #10211 : Buffer object should support the new buffer interface.
2013-03-19 16:50:51 -07:00
Kristján Valur Jónsson
acb6e85808
Issue #12098 : Fix a missing import in the unittests.
2013-03-19 17:30:30 -07:00
Kristján Valur Jónsson
8927e8f421
Issue #12098 : multiprocessing on Windows now starts child processes
...
using the same sys.flags as the current process.
Backport from default branch.
2013-03-19 15:07:35 -07:00
doko@ubuntu.com
71610752d6
Reindent files for:
...
- Issue #17477 : Update the bsddb module to pybsddb 5.3.0, supporting
db-5.x, and dropping support for db-4.1 and db-4.2.
2013-03-19 14:50:38 -07:00
doko@ubuntu.com
4950a3b6cc
- Issue #17477 : Update the bsddb module to pybsddb 5.3.0, supporting
...
db-5.x, and dropping support for db-4.1 and db-4.2.
2013-03-19 14:46:29 -07:00
Benjamin Peterson
bebf75f30a
open file in binary mode
2013-03-17 21:28:29 -07:00
R David Murray
35893b7994
#16057 : Clarify why the base method default is called in custom encoders.
...
Original patch by Kushal Das.
2013-03-17 22:06:18 -04:00
Ezio Melotti
e015b6b1fc
#11420 : make test suite pass with -B/DONTWRITEBYTECODE set. Initial patch by Thomas Wouters.
2013-03-16 20:04:44 +02:00
Serhiy Storchaka
923baea9f9
Issue #1285086 : Get rid of the refcounting hack and speed up urllib.unquote().
2013-03-14 21:31:09 +02:00
Serhiy Storchaka
2556c8388c
Issue #17299 : Add test coverage for cPickle with file objects and general IO
...
objects. Original patch by Aman Shah.
2013-03-14 20:59:09 +02:00
Ezio Melotti
fda7a8ce78
#17368 : Fix an off-by-one error in the Python JSON decoder that caused a failure while decoding empty object literals when object_pairs_hook was specified.
2013-03-13 01:49:57 +02:00
Eli Bendersky
981c3bde8d
Issue #11367 : fix documentation of some find* methods in ElementTree
2013-03-12 06:08:04 -07:00
Terry Jan Reedy
a70f60acf3
Issue #17047 : remove doubled words found in 2.7 to 3.4 Lib/*,
...
as reported by Serhiy Storchaka and Matthew Barnett.
2013-03-11 17:56:17 -04:00
Ezio Melotti
9b9cd4c85e
#11963 : fix Windows buildbots.
2013-03-11 03:21:08 +02:00
Ezio Melotti
efaad09c9a
#11963 : remove human verification from test_subprocess.
2013-03-11 00:34:33 +02:00
Ezio Melotti
c52670479a
#11963 : fix Windows buildbots.
2013-03-10 03:25:45 +02:00
Ezio Melotti
da9eeae48e
#11963 : avoid printing messages in test_parser. Initial patch by Éric Araujo.
2013-03-09 22:17:33 +02:00
Raymond Hettinger
9f7e247a88
Issue #17375 : Add docstrings to the threading module.
2013-03-08 21:02:13 -07:00
Senthil Kumaran
6234cc0098
Reverting the changeset c31d700dea8b made for Issue #12921
2013-03-05 02:24:03 -08:00
Senthil Kumaran
c74e764c21
Fix Issue #12921 : BaseHTTPServer's send_error should send the correct error
...
response message when send_error includes a message in addition to error
status. Patch contributed by Karl.
2013-03-05 01:21:13 -08:00
Raymond Hettinger
757408a2f3
merge
2013-03-05 02:16:45 -05:00
Raymond Hettinger
3e6aafe209
Issue #16098 : Update heapq.nsmallest to use the same algorithm as nlargest.
...
This removes the dependency on bisect and it bring the pure Python code
in-sync with the C code.
2013-03-05 02:15:01 -05:00
Antoine Pitrou
49e4dfeec8
Issue #17278 : Fix a crash in heapq.heappush() and heapq.heappop() when the list is being resized concurrently.
2013-03-04 20:30:01 +01:00
Ezio Melotti
a84ecc649b
#17346 : make sure pickle tests are run against all protocols.
2013-03-04 15:23:12 +02:00
Mark Dickinson
7cac1c25a1
Issue #16445 : Fix potential segmentation fault when deleting an exception message.
2013-03-03 11:13:34 +00:00
Ezio Melotti
c86e866b98
#17315 : unlink a file that test_posixpath was leaving around.
2013-03-01 20:56:13 +02:00
Petri Lehtinen
e41a4634c9
Issue #14720 : Enhance sqlite3 microsecond conversion, document its behavior
2013-02-26 21:34:33 +02:00
Richard Oudkerk
ba48264bce
Issue #17018 : Make Process.join() retry if os.waitpid() fails with EINTR.
2013-02-26 12:37:07 +00:00
Serhiy Storchaka
93bfe7d860
Issue #1470548 : Do not buffer XMLGenerator output.
...
Add test for fragment producing with XMLGenerator.
2013-02-25 13:31:29 +02:00
R David Murray
5b2cf5e651
#17275 : Fix class name in init errors in C bufferedio classes.
...
This fixes an apparent copy-and-paste error.
Original patch by Manuel Jacob.
2013-02-23 22:11:21 -05:00
Petri Lehtinen
f794bde17d
Revert "Issue #16121 : Fix line number accounting in shlex"
2013-02-23 23:05:54 +01:00
Petri Lehtinen
43072780df
Issue #16121 : Fix line number accounting in shlex
2013-02-23 22:07:39 +01:00
Petri Lehtinen
2342784d28
Issue #16695 : Document how glob handles filenames starting with a dot
2013-02-23 19:53:03 +01:00
Petri Lehtinen
9e14755b46
Issue #14720 : sqlite3: Convert datetime microseconds correctly
...
Patch by Lowe Thiderman
2013-02-23 19:05:09 +01:00
Ezio Melotti
0a4a7e13f3
Fix deprecation warning in test_tcl.
2013-02-23 08:19:00 +02:00
Ezio Melotti
4dbcec9dd1
Fix deprecation warning in tempfile.
2013-02-23 08:16:07 +02:00
Ezio Melotti
ef1db54ac1
#17249 : check for the availability of the thread module.
2013-02-23 06:33:51 +02:00
Ezio Melotti
2fddfd85bd
#17249 : convert a test in test_capi to use unittest and reap threads.
2013-02-23 05:45:37 +02:00
Ezio Melotti
7d0eb4b234
#17255 : test short-circuiting behavior of any()/all(). Patch by Wim Glenn.
2013-02-21 23:15:40 +02:00
Serhiy Storchaka
49d4022d7d
Issue #17225 : JSON decoder now counts columns in the first line starting
...
with 1, as in other lines.
2013-02-21 20:17:54 +02:00
Serhiy Storchaka
484dee38e6
Issue #17248 : Fix os.*chown() testing when user is in root group.
2013-02-21 14:33:45 +02:00
Barry Warsaw
f25d95732c
- Issue #16248 : Disable code execution from the user's home directory by
...
tkinter when the -E flag is passed to Python. Patch by Zachary Ware.
2013-02-20 18:19:55 -05:00
Serhiy Storchaka
fffc479f15
Issue #17248 : Fix os.*chown() testing when user has group root.
2013-02-20 19:47:31 +02:00
Serhiy Storchaka
3e188c4ebb
Issue #15301 : Enhance os.*chown() testing. Based on patch by Larry Hastings.
2013-02-20 19:39:59 +02:00
R David Murray
c32b678fd0
#7842 : backport fix for py_compile.compile syntax error message handling.
2013-02-19 20:00:11 -05:00
Serhiy Storchaka
c8e75ba2c5
Disable posixpath.realpath() tests on Windows (fix for issue #6975 ).
2013-02-18 13:32:06 +02:00
Serhiy Storchaka
142d2bc3f1
Fix posixpath.realpath() for multiple pardirs (fixes issue #6975 ).
2013-02-18 12:20:44 +02:00
Serhiy Storchaka
fbc737eda1
Fix issue #13169 : Reimport MAXREPEAT into sre_constants.py.
2013-02-18 11:14:04 +02:00
Antoine Pitrou
4f53550ca1
Remove unused certificate files
2013-02-16 21:40:16 +01:00
Antoine Pitrou
60982914b4
Fix test_ssl by replacing expired X509 certificate
2013-02-16 21:39:28 +01:00
Serhiy Storchaka
6a8e2b4982
Issue #9669 : Protect re against infinite loops on zero-width matching in
...
non-greedy repeat. Patch by Matthew Barnett.
2013-02-16 21:23:01 +02:00
Serhiy Storchaka
e18e05cce9
Issue #13169 : The maximal repetition number in a regular expression has been
...
increased from 65534 to 2147483647 (on 32-bit platform) or 4294967294 (on
64-bit).
2013-02-16 16:47:15 +02:00
Richard Oudkerk
36b9d413d7
Issue #16743 : Fix mmap overflow check on 32 bit Windows
2013-02-13 12:05:14 +00:00
Serhiy Storchaka
ec50cb292f
Fix tests for issue #5308 .
2013-02-13 12:31:19 +02:00
Serhiy Storchaka
8d7d6bcc25
Issue #11311 : StringIO.readline(0) now returns an empty string as all other
...
file-like objects.
2013-02-13 12:26:58 +02:00
Serhiy Storchaka
34fe1b7a3d
Issue #5308 : Raise ValueError when marshalling too large object (a sequence
...
with size >= 2**31), instead of producing illegal marshal data.
2013-02-13 12:07:43 +02:00