Tarek Ziade
a3c1545a2e
not using a server name anymore as the 127.0.0.1 <> localhost symmetry is not true under Windows 7
2011-05-22 23:25:48 +02:00
Victor Stinner
3c8d12d6b8
Issue #10801 : Remove a debug print() from test_zipfile
2011-05-22 22:12:27 +02:00
Tarek Ziade
3517369894
Issue 12132 - skip the test_buil_ext test if the xx module is not found
2011-05-22 22:09:55 +02:00
Tarek Ziade
2bc55e482e
Issue 10126 - backported distutils fix for the enable-share mode into packaging
2011-05-22 21:21:44 +02:00
Charles-François Natali
1e045b1831
Issue #12105 : Add O_CLOEXEC to the os module.
2011-05-22 20:42:32 +02:00
Antoine Pitrou
f738d33e5d
Issue #12138 : fix use of transient_internet() in test_urllibnet
2011-05-22 17:35:48 +02:00
Antoine Pitrou
a98d26a500
Issue #12138 : fix use of transient_internet() in test_urllibnet
2011-05-22 17:35:17 +02:00
Victor Stinner
3c18f259ee
regrtest: enable faulthandler in main() instead of if __name__ == '__main__':
...
So it's also enabled when using "./python -m test".
2011-05-22 15:27:14 +02:00
Mark Dickinson
b455e58b95
Issue #12079 : Decimal(0).fma(Decimal('inf'), 'not a number') should give a TypeError, not a Decimal.InvalidOperation
2011-05-22 12:53:18 +01:00
Tarek Ziade
2c40f60c32
added the Content-Length header. that fixes the weird packaging.pypi.errors.HashDoesNotMatch errors
2011-05-21 23:59:09 +02:00
Tarek Ziade
99d4623850
deactivating one test under win32 for now
2011-05-21 23:05:19 +02:00
Tarek Ziade
cc243cc808
make sure the crawler can browse file-based indexes under win32
2011-05-21 22:47:40 +02:00
Tarek Ziade
76ad4f0ec9
fixed the export symbols for the win32 linker
2011-05-21 21:48:04 +02:00
Tarek Ziade
5edc31ecaf
skip the pypi upload doc test via https, if ssl is not available
2011-05-21 19:53:45 +02:00
Tarek Ziade
be20be1345
use the same line terminator everywhere
2011-05-21 19:45:48 +02:00
Vinay Sajip
39e3528bb2
Issue #12136 : Added change to handle non-availability of the ssl module.
2011-05-21 16:46:41 +01:00
Georg Brandl
9c1928f0a9
Merge release branch after 3.2.1rc1.
2011-05-21 17:35:33 +02:00
Tarek Ziade
4bdd9f36a0
fixed the move api in packaging.install, and closing the handle left by mkstemp() in its test module
2011-05-21 15:12:10 +02:00
Tarek Ziade
2db5674a95
we want to generate /-separated paths setup.cfg files even under win32
2011-05-21 14:24:14 +02:00
Vinay Sajip
9ba876104e
Added SSL test for HTTPHandler.
2011-05-21 11:32:15 +01:00
Tarek Ziade
91f0e346cc
fixed the way the cfg file markers values are split under win32
2011-05-21 12:00:10 +02:00
Tarek Ziade
ec9b76d282
fixed the separator issues in packaging/resources+config
2011-05-21 11:48:16 +02:00
Tarek Ziade
94449616da
fixed a few mocking/cleanup issues in packaging test_util for win32
2011-05-21 10:37:58 +02:00
Victor Stinner
9904b22b78
Close #12114 : fix a potential deadlock in packaging.util._find_exe_version()
...
Avoid also zombi processes: Popen.communicate() calls its wait() method.
2011-05-21 02:20:36 +02:00
Vinay Sajip
32565b6c02
Added SSL capability to TestHTTPServer.
2011-05-21 00:34:51 +01:00
Ezio Melotti
bb00976fbf
Fix another ResourceWarning in test_packaging.
2011-05-20 20:27:54 +03:00
Ezio Melotti
2177ac9c41
Fix more ResourceWarnings in test_packaging moving the join() and server_close() in the stop method.
2011-05-20 19:35:58 +03:00
Charles-François Natali
6071359de1
Issue #1746656 : make if_nameindex(), if_indextoname() and if_nametoindex()
...
accept and return str instead of bytes arrays. Add some more tests.
2011-05-20 16:55:06 +02:00
Ezio Melotti
86c54f0955
Fix several ResourceWarnings in test_packaging.
2011-05-20 14:13:58 +03:00
Victor Stinner
ba8ef7a81d
(Merge 3.2) test_pydoc: skip PydocServerTest if thread support is disabled
2011-05-20 02:29:55 +02:00
Victor Stinner
62a68f2dbe
test_pydoc: skip PydocServerTest if thread support is disabled
2011-05-20 02:29:13 +02:00
Victor Stinner
4050c69f78
packaging.tests.test_command_install_data: restore correctly sysconfig._SCHEMES
2011-05-20 01:56:42 +02:00
Victor Stinner
e1e3b12979
fix packaging tests on Windows: use os.path.join() in glob patterns
2011-05-20 00:33:39 +02:00
Victor Stinner
21809a6938
(Merge 3.2) Issue #12124 : zipimport doesn't keep a reference to
...
zlib.decompress() anymore to be able to unload the module.
2011-05-20 00:22:39 +02:00
Victor Stinner
4445ec81c1
(Merge 3.1) Issue #12124 : zipimport doesn't keep a reference to
...
zlib.decompress() anymore to be able to unload the module.
2011-05-20 00:18:58 +02:00
Victor Stinner
4925cde1cc
Issue #12124 : zipimport doesn't keep a reference to zlib.decompress() anymore
...
to be able to unload the module.
2011-05-20 00:16:09 +02:00
Victor Stinner
f966803c08
packaging: fix the constructor of FakePopen
...
packaging.util requires the env keyword.
2011-05-20 00:12:10 +02:00
Victor Stinner
8914fed842
fix packaging.compiler.msvc9compiler: os.environ['path'] value is also a str
...
Don't encode the path list
2011-05-20 00:05:58 +02:00
Victor Stinner
9999185447
fix packaging.compiler.msvc9compiler: os.environ values are str, not bytes
2011-05-19 23:46:03 +02:00
Victor Stinner
9cf6d13141
Issue #12112 : fix the encoding of setup.py in the packaging module
...
* read: use tokenize.detect_encoding()
* write: use 'utf-8'
2011-05-19 21:42:47 +02:00
Ezio Melotti
975077a889
Refactor a few tests to use the new requires_zlib decorator.
2011-05-19 22:03:22 +03:00
Ezio Melotti
cad648cbc9
Skip tests that require zlib in the packaging tests. Also add a requires_zlib decorator to test.support.
2011-05-19 21:25:10 +03:00
Tarek Ziade
ebbb14c1a1
Issue #12120 , Issue #12119 : tests were missing a sys.dont_write_bytecode check
2011-05-19 19:56:12 +02:00
Tarek Ziade
2db2d3beeb
removed unused method in packaging.create
2011-05-19 19:07:06 +02:00
Victor Stinner
c3364529b8
Issue #12112 : packaging reads/writes metadata using UTF-8
2011-05-19 18:49:56 +02:00
Victor Stinner
dd13dd4bcc
Issue #12112 : packaging reads and writes setup.cfg using UTF-8
2011-05-19 18:45:32 +02:00
Victor Stinner
4c9706bd27
package: replace open(fn, 'w').close() by open(fn, 'wb').close()
...
We don't need to open the files in text mode just to create them (or update
their modification time).
2011-05-19 15:52:59 +02:00
Victor Stinner
21a9c748aa
packaging: use with open() instead of try/finally: close
2011-05-19 15:51:27 +02:00
Tarek Ziade
0e3f3a7076
fixed the path splitting
2011-05-19 15:51:54 +02:00
Tarek Ziade
fd88318ac4
Issue #12115 : skipping all tests that need threading under a threadless environment
2011-05-19 15:26:59 +02:00
Victor Stinner
cfd365b937
Issue #10419 , issue #6011 : port 6ad356525381 fix from distutils to packaging
...
build_scripts command of packaging now handles correctly non-ASCII path (path
to the Python executable). Open and write the script in binary mode, but ensure
that the shebang is decodable from UTF-8 and from the encoding of the script.
2011-05-19 15:18:36 +02:00
Victor Stinner
35de5ac44d
packaging: don't use locale encoding to compute MD5 checksums
...
Open the file in binary mode or use UTF-8 encoding.
2011-05-19 15:09:57 +02:00
Tarek Ziade
cd0f7bfd32
Issue #12113 : make sure generated module is not reused on a second run
2011-05-19 14:46:10 +02:00
Tarek Ziade
311a2d1bc9
make sure split() is called before the encoding
2011-05-19 13:59:45 +02:00
Tarek Ziade
3b1a22a6df
Issue #12109 fixing typo in packaging's test_command_upload_docs
2011-05-19 13:46:41 +02:00
Tarek Ziade
1231a4e097
initial import of the packaging package in the standard library
2011-05-19 13:07:25 +02:00
Giampaolo Rodola'
566f8a646e
os.sendfile() test: fix "AttributeError: 'NoneType' object has no attribute 'Thread'" when running tests with --without-threads option.
...
reference: http://bugs.python.org/issue10882#msg136257
2011-05-18 21:28:39 +02:00
Antoine Pitrou
0d38f2e65f
Skip test_smtpnet when ssl is not available
2011-05-18 20:02:50 +02:00
Antoine Pitrou
7a616f2fc5
Issue #12065 : connect_ex() on an SSL socket now returns the original errno
...
when the socket's timeout expires (it used to return None).
2011-05-18 18:52:20 +02:00
Antoine Pitrou
b4410dbea6
Issue #12065 : connect_ex() on an SSL socket now returns the original errno
...
when the socket's timeout expires (it used to return None).
2011-05-18 18:51:06 +02:00
Antoine Pitrou
cc9ca223d6
Also protect ehlo() and quit() with the transient_internet() context manager
2011-05-18 18:04:04 +02:00
Antoine Pitrou
e065020680
Issue #8809 : The SMTP_SSL constructor and SMTP.starttls() now support
...
passing a `context` argument pointing to an ssl.SSLContext instance.
Patch by Kasun Herath.
2011-05-18 18:03:09 +02:00
Victor Stinner
ae8856fe36
Ooops, add the missing file of the backport of commit 33543b4e0e5d from Python
...
3.2 (#10801 : In zipfile, support different encodings for the header and the
filenames. Patch by MvL, test by Eli Bendersky.)
2011-05-18 13:48:41 +02:00
Victor Stinner
ff1d2f4cc5
Backport commit 33543b4e0e5d from Python 3.2: #10801 : In zipfile, support
...
different encodings for the header and the filenames. Patch by MvL, test by
Eli Bendersky.
2011-05-18 13:43:23 +02:00
Victor Stinner
5f3b1c4979
(Merge 3.2) Issue #12096 : Fix a race condition in
...
test_threading.test_waitfor(). Patch written by Charles-François Natali.
2011-05-18 00:20:18 +02:00
Victor Stinner
3349bca46d
Issue #12096 : Fix a race condition in test_threading.test_waitfor(). Patch
...
written by Charles-François Natali.
2011-05-18 00:16:14 +02:00
Ronald Oussoren
1cb08c3f83
Fixes #11088 : IDLE crashes when using F5 to run a script on OSX with Tk 8.5
...
Without this patch IDLE will crash reliably on OSX when Tkinter
is linked to TkCocoa 8.5.x.
To reproduce:
* Create a new file (script.py) with the following two lines:
x = input('prompt: ')
print(x)
* Save the script
* Run the script using the F5 keyboard shortcut
(running from the menu works fine)
The patch is a fairly crude hack, but we haven't found a better
workaround for this Tk bug yet.
2011-05-17 14:52:21 +02:00
Ronald Oussoren
2b7ea91e3d
Fix for issue 10154, merge from 3.2
2011-05-17 14:49:44 +02:00
Ronald Oussoren
5ee0567bb2
Fixes #11088 : IDLE crashes when using F5 to run a script on OSX with Tk 8.5
...
Without this patch IDLE will crash reliably on OSX when Tkinter
is linked to TkCocoa 8.5.x.
To reproduce:
* Create a new file (script.py) with the following two lines:
x = input('prompt: ')
print(x)
* Save the script
* Run the script using the F5 keyboard shortcut
(running from the menu works fine)
The patch is a fairly crude hack, but we haven't found a better
workaround for this Tk bug yet.
2011-05-17 14:48:40 +02:00
Ronald Oussoren
6edd8c1faf
(merge) Fix #10154 and #10090 : locale normalizes the UTF-8 encoding to "UTF-8" instead of "UTF8"
...
On MacOSX and OpenBSD (and possibly other BSDs) "en_US.UTF-8" is a valid locale
while "en_US.UTF8" is not. As the former works on Linux as well it is better
to normalize to that value.
2011-05-17 13:03:54 +02:00
Ronald Oussoren
02a67ac72b
Fix #10154 and #10090 : locale normalizes the UTF-8 encoding to "UTF-8" instead of "UTF8"
...
On MacOSX and OpenBSD (and possibly other BSDs) "en_US.UTF-8" is a valid locale
while "en_US.UTF8" is not. As the former works on Linux as well it is better
to normalize to that value.
2011-05-17 12:44:54 +02:00
Vinay Sajip
bd3d5cf96a
Skip some tests in the absence of multiprocessing.
2011-05-17 07:41:18 +01:00
Vinay Sajip
ce7c978140
Skip some more tests in the absence of threading.
2011-05-17 07:15:53 +01:00
Victor Stinner
362ce37963
(Merge 3.2) Issue #11614 : Fix test_linecache, cjkencodings_test.py doesn't
...
exist anymore
2011-05-16 17:20:47 +02:00
Victor Stinner
e5720b989f
(Merge 3.1) Issue #11614 : Fix test_linecache, cjkencodings_test.py doesn't
...
exist anymore
2011-05-16 17:20:07 +02:00
Victor Stinner
e98f177ca6
Issue #11614 : Fix test_linecache, cjkencodings_test.py doesn't exist anymore
2011-05-16 17:18:51 +02:00
Victor Stinner
82f46144cc
(Merge 3.2) Issue #11614 : Fix importlib tests for the new __hello__ module
2011-05-16 17:00:41 +02:00
Victor Stinner
45323a890a
(Merge 3.1) Issue #11614 : Fix importlib tests for the new __hello__ module
2011-05-16 16:59:49 +02:00
Victor Stinner
272e24356e
Issue #11614 : Fix importlib tests for the new __hello__ module
2011-05-16 16:57:18 +02:00
Victor Stinner
651e1a2e63
(Merge 3.2) Issue #12057 : Convert CJK encoding testcase BLOB into multiple text
...
files
2011-05-16 16:50:23 +02:00
Victor Stinner
b67cf161bc
(Merge 3.1) Issue #12057 : Convert CJK encoding testcase BLOB into multiple text
...
files
2011-05-16 16:45:15 +02:00
Victor Stinner
033a543ab1
Issue #12057 : Convert CJK encoding testcase BLOB into multiple text files
2011-05-16 16:43:38 +02:00
Victor Stinner
118ed71afe
(Merge 3.2) Issue #11614 : import __hello__ prints "Hello World!". Patch written
...
by Andreas Stührk.
2011-05-16 16:35:35 +02:00
Victor Stinner
9cd6626f3d
(Merge 3.1) Issue #11614 : import __hello__ prints "Hello World!". Patch written
...
by Andreas Stührk.
2011-05-16 16:32:33 +02:00
Victor Stinner
c77b931196
Issue #11614 : import __hello__ prints "Hello World!". Patch written by Andreas
...
Stührk.
2011-05-16 16:29:35 +02:00
Victor Stinner
d0e11ec5b0
Issue #10756 : atexit normalizes the exception before displaying it. Patch by
...
Andreas Stührk.
Backport a fix already applied to Python 3.2+ (4a82be47a948 + 5060a92a8597).
2011-05-15 18:57:44 +02:00
Georg Brandl
5673e27e72
Bump to 3.2.1rc1.
2011-05-15 17:52:42 +02:00
Georg Brandl
521143dd6c
Update pydoc topics and handle suspicious markup.
2011-05-15 17:51:24 +02:00
Ronald Oussoren
f4542eb433
(merge from 3.2) Issue #9516 : avoid errors in sysconfig when MACOSX_DEPLOYMENT_TARGET is set in shell.
...
Without this patch python will fail to start properly when the environment
variable MACOSX_DEPLOYMENT_TARGET is set on MacOSX and has a value that is
not compatible with the value during Python's build. This is caused by code
in sysconfig that was only meant to be used in disutils.
2011-05-15 17:13:47 +02:00
Ronald Oussoren
222e89a598
Issue #9516 : avoid errors in sysconfig when MACOSX_DEPLOYMENT_TARGET is set in shell.
...
Without this patch python will fail to start properly when the environment
variable MACOSX_DEPLOYMENT_TARGET is set on MacOSX and has a value that is
not compatible with the value during Python's build. This is caused by code
in sysconfig that was only meant to be used in disutils.
2011-05-15 16:46:11 +02:00
Gregory P. Smith
5ed2e779f1
Issue #1746656 : Add if_nameindex, if_nametoindex, if_indextoname
...
methods to the socket module.
2011-05-15 00:26:45 -07:00
Nadeem Vawda
beb552c97c
Merge: Fix copy-paste mistake in new zlib test.
2011-05-15 00:49:20 +02:00
Nadeem Vawda
760155cc52
Merge: Fix copy-paste mistake in new zlib test.
2011-05-15 00:48:57 +02:00
Nadeem Vawda
1161a9ca40
Fix copy-paste mistake in new zlib test.
2011-05-15 00:48:24 +02:00
Gregory P. Smith
369f35a2cc
fix whitespace
2011-05-14 15:35:56 -07:00
Gregory P. Smith
a3221f8209
fix whitespace
2011-05-14 15:35:19 -07:00
Gregory P. Smith
11ddc999e0
merge heads
2011-05-14 15:33:43 -07:00
Gregory P. Smith
ec075e6479
merge heads
2011-05-14 15:32:19 -07:00
Gregory P. Smith
873cab2890
merge heads.
2011-05-14 15:26:35 -07:00
Nadeem Vawda
ccb33bf002
Merge: #8650 : Make zlib.[de]compressobj().[de]compress() 64-bit clean.
...
Raise an OverflowError if the input data is too large, instead of silently
truncating the input and returning an incorrect result.
2011-05-15 00:23:40 +02:00
Nadeem Vawda
565d659dcd
Merge: #8650 : Make zlib.[de]compressobj().[de]compress() 64-bit clean.
...
Raise an OverflowError if the input data is too large, instead of silently
truncating the input and returning an incorrect result.
2011-05-15 00:20:52 +02:00
Nadeem Vawda
0c3d96ae1d
Issue #8650 : Make zlib.[de]compressobj().[de]compress() 64-bit clean.
...
Raise an OverflowError if the input data is too large, instead of silently
truncating the input and returning an incorrect result.
2011-05-15 00:19:50 +02:00
Gregory P. Smith
79aa5bf5ed
Fixes Issue #12059 : Properly handle missing hash functions even when
...
the expected builtin modules are not present.
This includes a unittest for __get_builtin_constructor() in the face
of such an error.
2011-05-14 15:15:49 -07:00
Gregory P. Smith
12c9d028ed
Fixes Issue #12059 : Properly handle missing hash functions even when
...
the expected builtin modules are not present.
This includes a unittest for __get_builtin_constructor() in the face
of such an error.
2011-05-14 15:15:49 -07:00
Kurt B. Kaiser
d365a7b6cb
Merge from 3.2
...
Issue #6378 : Further adjust idle.bat to start associated Python
2011-05-14 17:46:44 -04:00
Kurt B. Kaiser
4b16ff2c44
Merge heads
2011-05-14 17:31:54 -04:00
Kurt B. Kaiser
f369b8152d
Merge from 3.1
...
Issue #6378 : Further adjust idle.bat to start associated Python
2011-05-14 17:22:14 -04:00
Kurt B. Kaiser
dfbe1592db
Issue #6378 : Further adjust idle.bat to start associated Python
2011-05-14 17:20:09 -04:00
Nadeem Vawda
905cca011b
Merge fix for memory leaks in zlib.compress() and .decompress().
...
Also, make sure that test_zlib tests decompress() for overly-large inputs.
2011-05-14 23:18:07 +02:00
Nadeem Vawda
154bdf92fc
Fix memory leaks in zlib.compress() and .decompress().
...
Also, make sure that test_zlib tests decompress() for overly-large inputs.
2011-05-14 23:07:36 +02:00
Nadeem Vawda
1b8a417d9f
Issue #8650 : Backport 64-bit safety fixes for compress() and decompress().
2011-05-14 22:26:55 +02:00
Nadeem Vawda
9c405c470b
Merge: #12050 : zlib.decompressobj().decompress() now clears the unconsumed_tail
...
attribute when called without a max_length argument.
2011-05-14 14:19:56 +02:00
Nadeem Vawda
5eef502de0
Merge: #12050 : zlib.decompressobj().decompress() now clears the unconsumed_tail
...
attribute when called without a max_length argument.
2011-05-14 14:15:47 +02:00
Nadeem Vawda
7619e88adb
Issue #12050 : zlib.decompressobj().decompress() now clears the unconsumed_tail
...
attribute when called without a max_length argument.
2011-05-14 14:05:20 +02:00
Ezio Melotti
63db5b6510
Merge with 3.2 and also remove captured_output from __all__ (see #7960 ).
2011-05-14 14:57:15 +03:00
Ezio Melotti
07352b084c
Update __all__ and docstring.
2011-05-14 14:51:18 +03:00
Ezio Melotti
c3afbb9542
Skip test in test_fileinput when zlib is missing.
2011-05-14 10:10:53 +03:00
Ezio Melotti
6b8934053a
#7960 : merge with 3.2.
2011-05-14 08:44:12 +03:00
Ezio Melotti
e728d72d8a
#7960 : merge with 3.1.
2011-05-14 08:43:25 +03:00
Ezio Melotti
fc778fd067
#7960 : fix docstrings for captured_output and captured_stdout.
2011-05-14 08:22:47 +03:00
Ezio Melotti
32e3fdc2d0
#5723 : merge with 3.2.
2011-05-14 06:52:55 +03:00
Ezio Melotti
6b60fb9148
#5723 : merge with 3.1.
2011-05-14 06:47:51 +03:00
Ezio Melotti
3c0d8a1cc7
#5723 : Improve json tests to be executed with and without accelerations.
2011-05-14 06:38:03 +03:00
Ezio Melotti
4e03e9dc8d
Merge with 3.2.
2011-05-14 06:24:18 +03:00
Ezio Melotti
3659f27ad3
Merge with 3.1.
2011-05-14 06:23:20 +03:00
Ezio Melotti
fec3ad1036
Change import_fresh_module to work with packages.
2011-05-14 06:02:25 +03:00
Victor Stinner
c729c25615
(Merge 3.2) Issue #11996 : libpython (gdb), replace "py-bt" command by
...
"py-bt-full" and add a smarter "py-bt" command printing a classic Python
traceback.
2011-05-13 17:53:22 +02:00
Vinay Sajip
252048c8a1
test_logging: extended time range for rollover test.
2011-05-13 16:41:57 +01:00
Victor Stinner
e670c889cc
Issue #11996 : libpython (gdb), replace "py-bt" command by "py-bt-full" and add
...
a smarter "py-bt" command printing a classic Python traceback.
2011-05-13 17:40:15 +02:00
Vinay Sajip
a171f9c6a3
test_logging: fixed bug in failure diagnostics.
2011-05-13 14:45:08 +01:00
Vinay Sajip
a552ca6fd0
Issue #12068 : Fix appears to have worked; added more diagnostics for rare failures.
2011-05-13 12:16:04 +01:00
Vinay Sajip
672c581633
Added diagnostics to test_logging, after reverting last change.
2011-05-13 07:09:40 +01:00
Georg Brandl
cc5ea6860f
Merge in changes from 3.2.1b1 release repo.
2011-05-13 06:50:56 +02:00
Antoine Pitrou
b89b31a158
Issue #12062 : Fix a flushing bug when doing a certain type of I/O sequence
...
on a file opened in read+write mode (namely: reading, seeking a bit forward,
writing, then seeking before the previous write but still within buffered
data, and writing again).
2011-05-13 00:25:53 +02:00
Antoine Pitrou
00dd182b8e
Issue #12062 : Fix a flushing bug when doing a certain type of I/O sequence
...
on a file opened in read+write mode (namely: reading, seeking a bit forward,
writing, then seeking before the previous write but still within buffered
data, and writing again).
2011-05-13 00:16:28 +02:00
Antoine Pitrou
7c40489180
Issue #12062 : Fix a flushing bug when doing a certain type of I/O sequence
...
on a file opened in read+write mode (namely: reading, seeking a bit forward,
writing, then seeking before the previous write but still within buffered
data, and writing again).
2011-05-13 00:13:33 +02:00
Kurt B. Kaiser
30536d1b77
Merge from 3.2
...
Issue #11896 : Save on Close failed despite selecting "Yes" in dialog.
2011-05-12 15:36:42 -04:00
Kurt B. Kaiser
b00d0c4944
Merge from 3.1
2011-05-12 15:30:18 -04:00
Kurt B. Kaiser
0a42982316
Issue #11896 : Save on Close failed despite selecting "Yes" in dialog.
...
_tkinter.c is returning <class '_tkinter.Tcl_Obj'> sometimes. Don't use
tkinter.messagebox.Message - use the helper functions which convert to str.
2011-05-12 15:25:24 -04:00
Vinay Sajip
06c768a35a
TimedTRotatingFileHandler test now improved to minimise chances of failure on very slow machines.
2011-05-12 16:18:29 +01:00
Gregory P. Smith
0ef3e399b8
normalize whitespace.
2011-05-11 22:20:11 -07:00
Gregory P. Smith
c9557af441
merge - 7a3f3ad83676 Fixes Issue #12044 .
2011-05-11 22:18:23 -07:00
Gregory P. Smith
6b65745430
- Issue #12044 : Fixed subprocess.Popen when used as a context manager to
...
wait for the process to end when exiting the context to avoid unintentionally
leaving zombie processes around.
2011-05-11 21:42:08 -07:00
Antoine Pitrou
3486a98dcd
Issue #9971 : Write an optimized implementation of BufferedReader.readinto().
...
Patch by John O'Connor.
2011-05-12 01:57:53 +02:00
Kurt B. Kaiser
9dd41fa970
Merge from 3.2
2011-05-11 14:18:13 -04:00
Kurt B. Kaiser
6551baa5a5
Correct version in IDLE NEWS.txt
2011-05-11 13:54:44 -04:00
Kurt B. Kaiser
bc3e13818b
Merge from 3.1
2011-05-11 13:48:54 -04:00
Kurt B. Kaiser
e147806da9
Issue #1028 : Tk returns invalid Unicode null in %A: UnicodeDecodeError.
...
With Tk < 8.5 _tkinter.c:PythonCmd() raised UnicodeDecodeError, caused IDLE to
exit. Converted to valid Unicode null in PythonCmd().
2011-05-11 12:24:17 -04:00
Senthil Kumaran
4de00a2e87
Fix closes Issue #11799 : urllib.request Authentication Handlers will raise a
...
ValueError when presented with an unsupported Authentication Scheme.
2011-05-11 21:17:57 +08:00
Victor Stinner
ba9c6645f7
Issue #10419 : Fix build_scripts command of distutils to handle correctly
...
non-ASCII scripts. Open and write the script in binary mode, but ensure that
the shebang is decodable from UTF-8 and from the encoding of the script.
2011-05-11 00:57:29 +02:00