Ezio Melotti
030aa35a1b
Silence a couple of warnings.
2011-11-06 18:50:32 +02:00
Ezio Melotti
b22c3fe5d8
Fix another callable warning.
2011-11-06 17:50:52 +02:00
Ezio Melotti
152d61aa5b
Fix tests now that the callable warning is gone.
2011-11-06 17:17:52 +02:00
Petri Lehtinen
819d8d447d
Accept None as start and stop parameters for list.index() and tuple.index()
...
Closes #13340 .
2011-11-05 23:18:06 +02:00
Petri Lehtinen
416ecffcc4
Issue #3067 : Enhance the documentation and docstring of locale.setlocale()
2011-11-05 10:18:50 +02:00
Petri Lehtinen
49aa72ed4c
Fix Maildir initialization so that maildir contents are read correctly.
...
Closes #13254 .
2011-11-05 09:50:37 +02:00
Éric Araujo
ce7554f0a1
Revert commit that was not a bugfix ( #5301 ).
...
I won’t revert in 3.2, since Georg pulled this change in 3.2.2 and
released it.
2011-11-04 18:15:45 +01:00
Florent Xicluna
5f761d79c0
Issue #13140 : Fix the daemon_threads attribute of ThreadingMixIn.
2011-11-04 10:15:57 +01:00
Charles-François Natali
09f871462f
Issue #13308 : Fix test_httpservers failures when run as root.
2011-11-02 19:32:54 +01:00
Florent Xicluna
b82cbc33f5
Fix merge in changeset e1dde980a92c.
2011-11-01 23:54:16 +01:00
Florent Xicluna
0965ee213e
Issue #2892 : preserve iterparse events in case of SyntaxError
2011-11-01 23:34:41 +01:00
Ezio Melotti
7e82b276dd
#670664 : Fix HTMLParser to correctly handle the content of ``<script>...</script>`` and ``<style>...</style>``.
2011-11-01 14:09:56 +02:00
Ned Deily
1aacd7bb02
Issue #13304 : Skip test case if user site-packages disabled (-s or
...
PYTHONNOUSERSITE). (Patch by Carl Meyer)
2011-10-31 16:14:52 -07:00
Antoine Pitrou
cf9943de97
Backout redundant changeset 1de4d92cd6a4
2011-10-31 20:23:00 +01:00
Senthil Kumaran
87e585581d
Port to 2.7 - issue 10817 - Fix urlretrieve function to raise
...
ContentTooShortError even when reporthook is None. Patch by Jyrki Pulliainen.
2011-11-01 02:44:45 +08:00
Barry Warsaw
39aec0171d
test_protocol_sslv2(): Skip this test if ssl.PROTOCOL_SSLv2 is not
...
defined (as is the case with Ubuntu 11.10).
2011-10-31 14:08:15 -04:00
Jesus Cea
e4ae5f7e0f
Closes #13283 : removal of two unused variable in locale.py
2011-10-31 16:02:12 +01:00
Ned Deily
86d669bdb8
Issue 13296: Fix IDLE to clear compile __future__ flags on shell restart.
...
(Patch by Roger Serwy)
2011-10-30 19:58:04 -07:00
Raymond Hettinger
e11a47e207
Issue 13274: Make the pure python code for heapq more closely match the C implementation for an undefined corner case.
2011-10-30 14:29:06 -07:00
Antoine Pitrou
6361ea2b07
Remove unstable SSL tests in the absence of ssl.OP_NO_{SSLv2,SSLv3,TLSv1}
2011-10-30 21:31:34 +01:00
Ezio Melotti
ef4e2fa171
#13289 : fix typo.
2011-10-29 10:40:20 +03:00
Florent Xicluna
67d5d0ed44
Closes #7334 : close source files on ElementTree.parse and iterparse (partial backport of issue #10093 from 3.2).
2011-10-29 03:38:56 +02:00
Benjamin Peterson
e96102b45b
bring is_integer into tested existence
2011-10-28 19:42:48 -04:00
Barry Warsaw
be83698f21
- Issue #13218 : Fix test_ssl failures on Debian/Ubuntu.
2011-10-28 16:14:44 -04:00
Benjamin Peterson
7789f270d8
adjust for change in assert bytecode
2011-10-27 08:53:32 -04:00
Benjamin Peterson
78fc70503e
add a test for an assertion with tuple msg
2011-10-27 08:20:01 -04:00
Petri Lehtinen
6d089df1b8
Issue #10860 : Skip the new test if HTTPS is not available
2011-10-26 21:25:56 +03:00
Vinay Sajip
5087d800c1
Corrected typo in comment.
2011-10-25 11:10:54 +01:00
Vinay Sajip
9a11b296b2
Closes #13232 : Handle multiple encodings in exception logging.
2011-10-24 23:23:02 +01:00
Charles-François Natali
46f990e58c
Issue #10332 : multiprocessing: fix a race condition when a Pool is closed
...
before all tasks have completed.
2011-10-24 18:43:51 +02:00
Antoine Pitrou
5a77fe92bd
Issue #1548891 : The cStringIO.StringIO() constructor now encodes unicode
...
arguments with the system default encoding just like the write() method
does, instead of converting it to a raw buffer.
2011-10-22 21:26:01 +02:00
Antoine Pitrou
f678e82240
Oops, forgot issue number
2011-10-21 22:22:43 +02:00
Antoine Pitrou
a5016cd0f7
Add test for fix of issue #1730114 .
2011-10-21 22:22:04 +02:00
Florent Xicluna
47fb192dda
Issue #9168 : now smtpd is able to bind privileged port.
2011-10-20 23:21:58 +02:00
Senthil Kumaran
ddd40312d5
Fix closes Issue6090 - Raise a ValueError, instead of failing with unrelated
...
exceptions, when a document with timestamp earlier than 1980 is provided to
zipfile. Patch contributed by Petri Lehtinen.
2011-10-20 01:38:35 +08:00
Senthil Kumaran
59a06d412d
Fix closes Issue12529 - cgi.parse_header failure on double quotes and
...
semicolons. Patch by Ben Darnell and Petri Lehtinen.
2011-10-20 00:52:24 +08:00
Ezio Melotti
1e87da16ea
Remove duplication.
2011-10-19 10:39:35 +03:00
Łukasz Langa
7a15390f83
Fixes #10860 : Handle empty port after port delimiter in httplib
...
Thanks, Shawn Ligocki!
3.x version will come as a separate patch.
2011-10-18 17:16:00 +02:00
Mark Hammond
3dca9f52a4
normalize whitespace in Lib/distutils/msvc9compiler.py
2011-10-17 11:35:06 +11:00
Mark Hammond
323b5daa10
Issue #7833 : Ext. modules built using distutils on Windows no longer get a manifest
2011-10-17 11:05:36 +11:00
Benjamin Peterson
a7b0976c3e
PyEval_CallObject requires a tuple of args ( closes #13186 )
2011-10-15 13:43:21 -04:00
Éric Araujo
5baef6d23b
Increase test coverage for distutils.filelist ( #11751 ).
...
Patch by Justin Love.
2011-10-14 18:15:31 +02:00
Éric Araujo
017e535bde
Fix distutils’ check and register Unicode handling ( #13114 ).
...
The check command was fixed by Kirill Kuzminykh.
The register command was using StringIO.getvalue, which uses “''.join”
and thus coerces to str using the default encoding (ASCII), so I changed
the code to use one extra intermediary list and correctly encode to
UTF-8.
2011-10-09 07:11:19 +02:00
Éric Araujo
ece7079b54
Branch merge
2011-10-09 06:33:54 +02:00
Éric Araujo
1a1a8a0e31
Fix test_sysconfig when prefix != exec-prefix ( #9100 ).
...
Reported by Zsolt Cserna.
2011-10-08 02:49:12 +02:00
Éric Araujo
5fb16cd1d2
Make C code in one distutils test comply with ISO C ( #10359 ).
...
Patch by Hallvard B Furuseth.
2011-10-08 02:15:55 +02:00
Ned Deily
c4a2745174
Issue #7367 : Ensure test directory always gets removed.
2011-10-07 12:01:18 -07:00
Ned Deily
777f2e04ea
Issue #7367 : Fix pkgutil.walk_paths to skip directories whose
...
contents cannot be read.
2011-10-06 14:17:47 -07:00
Ned Deily
0096fb5780
Issue #7425 : Prevent pydoc -k failures due to module import errors.
...
(Backport to 2.7 of existing 3.x fix)
2011-10-06 14:17:44 -07:00
Ned Deily
ac6874c4bb
Issue #7367 : Add test case to test_pkgutil for walking path with
...
an unreadable directory.
2011-10-06 14:17:41 -07:00
Ned Deily
1a96f8de79
Issue #7425 : Refactor test_pydoc test case for '-k' behavior and add
...
new test cases for importing bad packages and unreadable packages dirs.
2011-10-06 14:17:34 -07:00
Charles-François Natali
9ffcbf71a5
Issue #13070 : Fix a crash when a TextIOWrapper caught in a reference cycle
...
would be finalized after the reference to its underlying BufferedRWPair's
writer got cleared by the GC.
2011-10-06 19:09:45 +02:00
Éric Araujo
e954ecb9ba
Branch merge
2011-10-06 13:19:34 +02:00
Amaury Forgeot d'Arc
c9539d593e
Enable the only tests for sys.gettrace
2011-10-05 22:34:51 +02:00
Senthil Kumaran
41d663f0a5
Issue13073 - Address review comments and add versionchanged information in the docs.
2011-10-05 23:52:49 +08:00
Éric Araujo
2710bc4b68
Fix typo and case in a recently added test
2011-10-05 02:35:09 +02:00
Antoine Pitrou
09debc9a5b
Avoid testing stuff that's been fixed in 2.7 on older Pythons
2011-10-04 12:00:13 +02:00
Antoine Pitrou
561a821e93
Issue #7689 : Allow pickling of dynamically created classes when their
...
metaclass is registered with copyreg. Patch by Nicolas M. Thiéry and
Craig Citro.
2011-10-04 09:34:48 +02:00
Meador Inge
ad349a190e
Issue #12881 : ctypes: Fix segfault with large structure field names.
2011-10-03 21:34:04 -05:00
R David Murray
c8faf9bb0c
#4147 : minidom's toprettyxml no longer adds whitespace to text nodes.
...
Patch by Dan Kenigsberg.
2011-10-01 16:49:25 -04:00
Antoine Pitrou
f06eb46918
Issue #13034 : When decoding some SSL certificates, the subjectAltName extension could be unreported.
2011-10-01 19:30:58 +02:00
Victor Stinner
63c22fac72
Issue #7732 : Fix a crash on importing a module if a directory has the same name
...
than a Python module (e.g. "__init__.py"): don't close the file twice.
PyFile_FromFile() does also close the file if PyString_FromString() failed. It
did already close the file on fill_file_fields() error (e.g. if the file is a
directory).
2011-09-23 19:37:03 +02:00
Victor Stinner
51b719814e
Issue #12931 : xmlrpclib now encodes Unicode URI to ISO-8859-1, instead of
...
failing with a UnicodeDecodeError.
2011-09-23 01:15:32 +02:00
Charles-François Natali
2156594d8c
Fix a race condition in test_socket.ThreadableTest: the client is reported
...
ready before having been set up.
2011-09-21 22:02:27 +02:00
Charles-François Natali
f8413b29c0
Issue #12981 : test_multiprocessing: catch ImportError when importing
...
multiprocessing.reduction, which may not be available (e.g. if the OS doesn't
support FD passing over Unix domain sockets).
2011-09-21 18:44:49 +02:00
Jesus Cea
c23484b21f
Close #13022 : _multiprocessing.recvfd() doesn't check that file descriptor was actually received
2011-09-21 03:47:39 +02:00
Jesus Cea
d256ca12c1
Close #13007 : whichdb should recognize gdbm 1.9 magic numbers
2011-09-19 16:57:18 +02:00
Ned Deily
1549bac6ba
Issue #12935 : Correct typo in findertools.
2011-09-15 14:07:31 -07:00
Senthil Kumaran
0d4c34c6ec
Port the fix for Issue12924 (missing quote_plus) to 2.7 branch.
2011-09-13 06:42:21 +08:00
Amaury Forgeot d'Arc
aa3af53f1f
Remove trailing spaces
2011-09-12 21:19:53 +02:00
Amaury Forgeot d'Arc
439c25eb9e
Issue #12483 : ctypes: Fix a crash when the destruction of a callback
...
object triggers the garbage collector.
2011-09-12 20:12:09 +02:00
Éric Araujo
dcdc3ef5fa
Branch merge
2011-09-12 17:47:48 +02:00
Éric Araujo
a13cd39533
Fix determination of Metadata version ( #8933 ). Patch by Filip Gruszczyński.
2011-09-10 05:39:45 +02:00
Éric Araujo
0c4007641e
Slight cleanup in distutils test_dist.
...
I have tests to add in this file and it’s always nice to start from a
clean base. I’ve also changed a test that used to write an invalid
config file ('[global]command_packages = etc.' on one line), but the
test passes before and after this change, so either it magically works
or the test is poorly written. Sigh.
2011-09-10 05:37:33 +02:00
Jesus Cea
6faf907e6d
Fix issue #12948 : multiprocessing test failures can hang the buildbots
2011-09-09 22:15:16 +02:00
Jesus Cea
6f6016bc59
Close issue #12948 : multiprocessing test failures can hang the buildbots
2011-09-09 20:26:57 +02:00
Jesus Cea
c6072d8675
Issue #12333 : fix test_distutils failures under Solaris and derivatives. Patch by Antoine Pitrou
2011-09-09 18:50:59 +02:00
Victor Stinner
e3a768b554
Issue #12326 : Remove plat-linux3 directory
...
sys.platform is now always 'linux2' on Linux (even on Linux 3)
2011-09-05 21:38:05 +02:00
Éric Araujo
ab08da0a1c
Branch merge
2011-09-05 17:45:48 +02:00
Lars Gustäbel
8babfdfd45
Issue #12841 : Fix tarfile extraction of non-existent uids/gids.
...
tarfile unnecessarily checked the existence of numerical user and group ids on
extraction. If one of them did not exist the respective id of the current user
(i.e. root) was used for the file and ownership information was lost. (Patch
by Sebastien Luttringer)
2011-09-05 17:04:18 +02:00
Éric Araujo
0f2dbf3645
Warn instead of crashing because of invalid path in MANIFEST.in ( #8286 ).
...
sdist used to crash with a full traceback dump instead of printing a
nice warning with the faulty line number.
2011-09-03 00:47:07 +02:00
Éric Araujo
cb18d077c6
Enable catching WARN-level logging messages in distutils' test_sdist
2011-09-03 00:28:43 +02:00
Amaury Forgeot d'Arc
cf316a171e
Issue #12764 : Fix a crash in ctypes when the name of a Structure field is not
...
a string.
2011-09-02 20:32:23 +02:00
Éric Araujo
1fc20760c7
Remove obsolete comment
2011-09-01 22:06:49 +02:00
Éric Araujo
2532f11321
Clarify compileall command-line options ( #10454 ).
...
Backport of R. David Murray’s 3.2 patch. The code is ugly, with print
statements split across lines, but the output is readable.
2011-09-01 20:04:50 +02:00
Éric Araujo
a971df3cd5
Fix test_sysconfig when run from a Python installed under /site ( #10086 ).
...
Patch by Hallvard B Furuseth.
2011-08-31 16:48:17 +02:00
Amaury Forgeot d'Arc
3d7f236329
Issue #9651 : Fix a crash when ctypes.create_string_buffer(0) was passed to
...
some functions like file.write().
2011-08-30 21:04:35 +02:00
Éric Araujo
429b890561
Make bdist_* commands respect --skip-build passed to bdist ( #10946 )
2011-08-30 01:48:59 +02:00
Nadeem Vawda
66e53c70d7
Fix test failures when Python is compiled without thread support.
2011-08-29 09:37:07 +02:00
Antoine Pitrou
0ad7358c2f
Provide a better diagnosis on socket errors
2011-08-28 01:18:31 +02:00
Éric Araujo
288ebb446e
Add FIXME note as a reminder
2011-08-26 16:35:19 +02:00
Éric Araujo
1bd3b9cea0
Branch merge
2011-08-26 16:32:36 +02:00
Éric Araujo
e10fbb1550
Backport tests for the distutils install command
2011-08-26 02:06:27 +02:00
Éric Araujo
cea5fc0b7b
Try to fix test_distutils on Windows ( #12678 )
2011-08-26 02:05:44 +02:00
Éric Araujo
c811fb2d56
Add tests for build_ext --user (backport from 3.2)
2011-08-26 02:00:14 +02:00
Éric Araujo
04612d6092
Refactor helpers for compiling the xx module in distutils tests.
...
I need to copy the xxmodule.c file in other tests, so I moved the
support code to distutils.tests.support and improved it:
- don’t skip when run from the Lib/distutils/tests directory
- use proper skip machinery instead of custom print/return/test suite
fiddling.
I also took out the fixup_build_ext function, which is needed for tests
to pass on Unix shared builds and Windows debug builds.
Finally, I cleaned up a few things:
- don’t remove directories in tearDown when the parent class’ tearDown
has already registered the directories for removal
- simplify restoration of sys.path
- remove a few unused names found by pyflakes.
2011-08-26 01:56:15 +02:00
Charles-François Natali
2a34eb3104
Issue #12786 : Set communication pipes used by subprocess.Popen CLOEXEC to avoid
...
them being inherited by other subprocesses.
2011-08-25 21:20:54 +02:00
Raymond Hettinger
8a9369bfa4
Update link to the decimal arithmetic specification.
2011-08-24 19:13:17 -07:00
Antoine Pitrou
77657e40fa
Issue #4106 : Fix occasional exceptions printed out by multiprocessing on interpreter shutdown.
...
This bug doesn't seem to exist on 3.2, where daemon threads are killed
before Py_Finalize() is entered.
2011-08-24 22:41:05 +02:00
Antoine Pitrou
a1a8da8bf5
Issue #11657 : Fix sending file descriptors over 255 over a multiprocessing Pipe.
...
Also added some tests.
2011-08-23 19:54:20 +02:00
Charles-François Natali
cdaafe0f9e
Issue #12821 : Fix test_fcntl failures on OpenBSD 5.
2011-08-23 19:42:02 +02:00
Ezio Melotti
12682b10a7
#9200 : backport tests but run them on wide builds only.
2011-08-22 23:46:30 +03:00
Nadeem Vawda
367d4c8a80
Issue #12678 : Fix distutils sdist test on Windows.
...
Patch by Jeremy Kloth.
2011-08-21 22:40:04 +02:00
Éric Araujo
04295009b8
Add missing name in shutil.__all__
2011-08-21 16:14:01 +02:00
Sandro Tosi
a75039ad88
#5301 : add image/vnd.microsoft.icon (.ico) MIME type
2011-08-21 00:15:56 +02:00
Antoine Pitrou
808cec536a
Issue #12213 : Fix a buffering bug with interleaved reads and writes that
...
could appear on io.BufferedRandom streams.
2011-08-20 15:40:58 +02:00
Éric Araujo
410024a8fc
Branch merge
2011-08-19 14:24:38 +02:00
Nadeem Vawda
860593653b
Fix resource leaks in test_subprocess.
2011-08-19 05:22:24 +02:00
Éric Araujo
e7329f47e7
Guard shutil._make_archive against a logger=None argument.
...
Backporting two lines from the 3.x tests was enough to trigger the bug.
I also took the opportunity of making the logging call lazy.
2011-08-19 03:07:39 +02:00
Charles-François Natali
a8085d306e
Issue #12650 : fix failures on some buildbots, when a subprocess takes a long
...
time to spawn.
2011-08-19 00:26:38 +02:00
Charles-François Natali
100df0f2b0
Issue #12650 : only run the tests on Unix.
2011-08-18 17:56:02 +02:00
Charles-François Natali
b02302c5cf
Issue #12650 : Fix a race condition where a subprocess.Popen could leak
...
resources (FD/zombie) when killed at the wrong time.
2011-08-18 17:18:28 +02:00
Barry Warsaw
edfba8244c
The simplest possible fix for the regression in bug 12752 by encoding unicodes
...
to 8-bit strings.
2011-08-15 19:17:12 -04:00
Ezio Melotti
ea7b6f6e2a
#12266 : move the tests in test_unicode.
2011-08-15 10:04:28 +03:00
Ezio Melotti
15d6b65ead
#12266 : Fix str.capitalize() to correctly uppercase/lowercase titlecased and cased non-letter characters.
2011-08-15 09:22:24 +03:00
Senthil Kumaran
93e6a3d28f
Remove the un-exercised in-module test code.
2011-08-10 21:57:22 +08:00
Raymond Hettinger
3ea5224c43
Issue 12717: Fix-up an earlier backport in ConfigParser.
2011-08-09 12:07:15 -07:00
Sandro Tosi
1381a31e39
#12677 : correct turtle orientation in doc
2011-08-07 17:09:15 +02:00
Senthil Kumaran
ef651ac162
whitespace fix.
2011-08-07 10:03:58 +08:00
Senthil Kumaran
351950fbfc
Remove the old dead test program within the module in 2.7.
2011-08-07 10:02:49 +08:00
Senthil Kumaran
b5bd4c88b5
Fix closes issue12698 - make the no_proxy environment variable handling a bit lenient (accomodate spaces in between the items)
2011-08-06 12:24:33 +08:00
Senthil Kumaran
28696fe491
add svn+ssh testcase for urljoin.
2011-08-03 22:06:05 +08:00
Senthil Kumaran
0df24c9e0c
include svn+ssh as well.
2011-08-03 18:40:18 +08:00
Senthil Kumaran
f432aeca7c
Fix closes issue12683 - urljoin to work with relative join of svn scheme.
2011-08-03 18:31:59 +08:00
Éric Araujo
3427839c93
Branch merge
2011-08-02 20:01:54 +02:00
Éric Araujo
33af263d36
Fix incorrect mtime comparison in distutils ( #11933 ).
...
This is a regression introduced in 9211a5d7d0b4, when uses of ST_MTIME
constants were changed to uses of st_mtime attributes. As diagnosed in
the bug report, this change is not merely stylistic: st_mtime is a
float but ST_MTIME’s resolution is rounded to the seconds, so there was
a mismatch between the values seen by file_util and dep_util which
caused an sdist to be unnecessarily created a second time on an ext4
filesystem.
This patch has been tested by John S. Gruber, who reported the bug.
As this is a simple code revert, I think it’s okay to commit without a
unit test.
2011-08-02 03:16:12 +02:00
Stefan Krah
01a3ee8b21
Backport 68b5f87566fb
2011-08-02 01:17:48 +02:00
Éric Araujo
0db7f72cc7
Branch merge
2011-08-01 14:48:19 +02:00
Éric Araujo
498da2c162
Stop trying to write into the stdlib during lib2to3 tests ( #12331 ).
...
This prevents tests from failing when run from a Python installed in a
read-only directory.
2011-07-31 17:59:28 +02:00
Benjamin Peterson
3facb8cc1a
running tests enables us to discover that they actually work
2011-07-30 23:39:39 -05:00
Senthil Kumaran
23c2104118
using test_support.transient_internet helper method in the urllib2net test.
2011-07-31 11:48:54 +08:00
Éric Araujo
560bf855d3
Fix regression with distutils MANIFEST handing ( #11104 , #8688 ).
...
The changed behavior of sdist in 2.7 broke packaging for projects that
wanted to use a manually-maintained MANIFEST file (instead of having a
MANIFEST.in template and letting distutils generate the MANIFEST).
The fixes that were committed for #8688 (d29399100973 by Tarek and
f7639dcdffc3 by me) did not fix all issues exposed in the bug report,
and also added one problem: the MANIFEST file format gained comments,
but the read_manifest method was not updated to handle (i.e. ignore)
them. This changeset should fix everything; the tests have been
expanded and I successfully tested with Mercurial, which suffered from
this regression.
I have grouped the versionchanged directives for these bugs in one place
and added micro version numbers to help users know the quirks of the
exact version they’re using. I also removed a stanza in the docs that
was forgotten in Tarek’s first changeset.
Initial report, thorough diagnosis and patch by John Dennis, further
work on the patch by Stephen Thorne, and a few edits and additions by
me.
2011-07-31 02:04:00 +02:00
Éric Araujo
9a528306b9
Make “pydoc somebuiltin.somemethod” work ( #8887 )
2011-07-29 17:34:35 +02:00
Éric Araujo
fea8ac4772
Branch merge
2011-07-29 14:23:13 +02:00
Raymond Hettinger
55e5e27b74
Issue 12514: Use try/finally to assure that timeit restores GC when done.
2011-07-28 23:56:38 -07:00
Senthil Kumaran
4af1c6a4fc
Fix closes Issue11439 - Handle the SVN Keywords in 2.7 by replacing them with a high number so that code relying on them does not break.
2011-07-28 22:30:27 +08:00
Charles-François Natali
0cf7e25c28
- Issue #12603 : Fix pydoc.synopsis() on files with non-negative st_mtime.
2011-07-27 19:36:40 +02:00
Ross Lagerwall
d8e3901478
Issue #12607 : In subprocess, fix issue where if stdin, stdout or stderr is
...
given as a low fd, it gets overwritten.
2011-07-27 18:54:53 +02:00
Senthil Kumaran
7d7702b581
merge from 3.2 - fix urlopen behavior on sites which do not send (or obsfuscates) Connection: Close header.
2011-07-27 09:37:17 +08:00
Ned Deily
d8b1723965
Issue #12590 : IDLE editor window now always displays the first line
...
when opening a long file. With Tk 8.5, the first line was hidden.
2011-07-26 18:16:08 -07:00
Ned Deily
d88131afd9
Issue #8746 : Use tempfile module to get tempdir and randomize the
...
link file name.
2011-07-26 13:52:14 -07:00
Antoine Pitrou
4cfae027b3
Issue #1813 : Fix codec lookup and setting/getting locales under Turkish locales.
2011-07-24 02:51:01 +02:00
Nadeem Vawda
a620facc1f
Fix typo in dbf1e1a27427 that was causing some buildbots to fail.
2011-07-23 17:04:42 +02:00
Nadeem Vawda
b42c53e442
Issue #10883 : Fix socket leaks in urllib.request.
...
* ftpwrapper now uses reference counting to ensure that the underlying socket
is closed when the ftpwrapper object is no longer in use
* ftplib.FTP.ntransfercmd() now closes the socket if an error occurs
Initial patch by Victor Stinner.
2011-07-23 15:51:16 +02:00
Senthil Kumaran
578617ad45
merge from 3.2 - Fix closes issue12581 - Increase the urllib.parse test coverage (cases applicable to 2.7). Patch by Petter Haggholm.
2011-07-23 18:41:43 +08:00
Benjamin Peterson
77820242dd
verify the types of AST strings and identifiers ( closes #12609 and #12610 )
2011-07-22 10:39:50 -05:00
Ezio Melotti
56b2665904
#12601 : fix typo.
2011-07-21 11:18:18 +03:00
Antoine Pitrou
495ee8f563
Issue #12571 : Add a plat-linux3 directory mirroring the plat-linux2 directory,
...
so that "import DLFCN" and other similar imports work on Linux 3.0.
2011-07-20 00:26:23 +02:00
R David Murray
9522595d70
#7484 : no more <> around addresses in VRFY or EXPN
...
The RFC doesn't say that they are allowed; apparently many mailers accept
them, but not postfix. Contributions to this patch were made by Felipe Cruz
and Catalin Iacob.
2011-07-18 21:34:04 -04:00
Alex Gaynor
9737648c74
Backport 2eb8789e30e7.
2011-07-17 16:44:31 -07:00