Stefan Krah
76e12179c5
Issue #15882 : Change _decimal to accept any coefficient tuple when
...
constructing infinities. This is done for backwards compatibility
with decimal.py: Infinity coefficients are undefined in _decimal
(in accordance with the specification).
2012-09-10 19:34:58 +02:00
R David Murray
c3bfb01a95
Merge #14649 : clarify DocTestSuite error when there are no docstrings.
...
Also adds tests to verify the documented behavior (which is probably a bug, as
indicated in the added comments).
Patch by Chris Jerdonek.
2012-09-10 10:16:46 -04:00
R David Murray
5abd76a75d
#14649 : clarify DocTestSuite error when there are no docstrings.
...
Also adds tests to verify the documented behavior (which is probably a bug, as
indicated in the added comments).
Patch by Chris Jerdonek.
2012-09-10 10:15:58 -04:00
Christian Heimes
7b648753ab
Added test for 85cb90f79cbf and see how the code handles all flags at once
2012-09-10 14:48:43 +02:00
doko@ubuntu.com
01beb69c7d
backport from the trunk, to fix test_tools with srcdir != builddir
...
changeset: 77827:c23b442b5d5e
user: Antoine Pitrou <solipsis@pitrou.net>
date: Thu Jun 28 01:20:26 2012 +0200
summary: Avoid using scrdir, it's broken.
changeset: 77826:f0e58e778215
user: Neil Schemenauer <nas@arctrix.com>
date: Wed Jun 27 15:58:37 2012 -0600
summary: Fix bug in test_tools that prevented building is separate directory.
2012-09-10 14:19:42 +02:00
Georg Brandl
0085a24075
Closes #15973 : fix a segmentation fault when comparing timezone objects.
2012-09-22 09:23:12 +02:00
Georg Brandl
1aca31e8f3
Closes #15925 : fix regression in parsedate() and parsedate_tz() that should return None if unable to parse the argument.
2012-09-22 09:03:56 +02:00
Georg Brandl
deb92b5b1b
Closes #15969 : rename new API to have consistent names in the faulthandler module.
2012-09-22 08:58:55 +02:00
Stefan Krah
dbcf103be0
Issue #15882 : Change _decimal to accept any coefficient tuple when
...
constructing infinities. This is done for backwards compatibility
with decimal.py: Infinity coefficients are undefined in _decimal
(in accordance with the specification).
2012-09-10 19:34:58 +02:00
Jesus Cea
1b3f3b0316
Closes #15676 : mmap: add empty file check prior to offset check
2012-09-10 01:23:05 +02:00
Jesus Cea
941bfcc537
Closes #15676 : mmap: add empty file check prior to offset check
2012-09-10 00:27:55 +02:00
Alexander Belopolsky
5bedef3e64
Issue #15881 : Fixed 3.2 backport.
2012-09-09 13:31:08 -04:00
Alexander Belopolsky
7f704c11db
Fixed whitespace
2012-09-09 13:25:06 -04:00
Alexander Belopolsky
36351564a2
Fixed whitespace
2012-09-09 13:22:45 -04:00
Alexander Belopolsky
f36c49d124
Issue #15881 : Fixed atexit hook in multiprocessing.
2012-09-09 13:20:58 -04:00
Alexander Belopolsky
59fb38b582
Issue #15881 : Fixed atexit hook in multiprocessing.
2012-09-09 13:16:15 -04:00
Georg Brandl
5497295917
Merge in changes from 3.3.0rc2 release clone.
2012-09-09 11:19:17 +02:00
Ned Deily
4725b13ab3
Issue #15822 : Fix installation of lib2to3 grammar pickles to ensure
...
they are created in the install locations and with the proper timestamp.
(Solution suggested by MvL)
2012-09-08 19:04:47 -07:00
Ned Deily
47bcfff26b
Issue #15822 : Fix installation of lib2to3 grammar pickles to ensure
...
they are created in the install locations and with the proper timestamp.
(Solution suggested by MvL)
2012-09-08 18:50:56 -07:00
R David Murray
0fbbce99c3
Merge #15510 : clarify textwrap's handling of whitespace, and add confirming tests.
...
Patch by Chris Jerdonek.
2012-09-08 13:14:58 -04:00
R David Murray
1585b70813
#15510 : clarify textwrap's handling of whitespace, and add confirming tests.
...
Patch by Chris Jerdonek.
2012-09-08 13:13:25 -04:00
R David Murray
63755f3bd9
merge #15847 : allow args to be a tuple in parse_args
...
This fixes a regression introduced by the fix for issue #13922 . Although args
is not documented as being allowed to be a tuple, previously this worked and
so naturally there are programs in the field that depend on it.
Patch by Zbyszek Jędrzejewski-Szmek.
2012-09-08 12:14:25 -04:00
R David Murray
b522828d2a
#15847 : allow args to be a tuple in parse_args
...
This fixes a regression introduced by the fix for issue #13922 . Although args
is not documented as being allowed to be a tuple, previously this worked and
so naturally there are programs in the field that depend on it.
Patch by Zbyszek Jędrzejewski-Szmek.
2012-09-08 12:08:01 -04:00
Antoine Pitrou
5b4faae307
Issue #13992 : The trashcan mechanism is now thread-safe. This eliminates
...
sporadic crashes in multi-thread programs when several long deallocator
chains ran concurrently and involved subclasses of built-in container
types.
Note that the trashcan functions are part of the stable ABI, therefore
they have to be kept around for binary compatibility of extensions.
2012-09-06 01:17:42 +02:00
Antoine Pitrou
56cd62c04a
Issue #13992 : The trashcan mechanism is now thread-safe. This eliminates
...
sporadic crashes in multi-thread programs when several long deallocator
chains ran concurrently and involved subclasses of built-in container
types.
Because of this change, a couple extension modules compiled for 3.2.4
(those which use the trashcan mechanism, despite it being undocumented)
will not be loadable by 3.2.3 and earlier. However, extension modules
compiled for 3.2.3 and earlier will be loadable by 3.2.4.
2012-09-06 00:59:49 +02:00
Antoine Pitrou
11946fbe80
Issue #15841 : The readable(), writable() and seekable() methods of BytesIO
...
and StringIO objects now raise ValueError when the object has been closed.
Patch by Alessandro Moura.
2012-09-05 20:13:48 +02:00
Antoine Pitrou
1d857453b7
Issue #15841 : The readable(), writable() and seekable() methods of BytesIO
...
and StringIO objects now raise ValueError when the object has been closed.
Patch by Alessandro Moura.
2012-09-05 20:11:49 +02:00
R David Murray
3561901cd9
#15557,#15447,#15509: webbrowser test suite added.
...
Initial patch by Anton Barkovsky, refined a bit by me to further subdivide the
test methods. Provides tests for the previous two bug fix commits.
2012-09-03 12:52:08 -04:00
R David Murray
02ca144b92
#15447 : Use subprocess.DEVNULL in webbrowser, instead of opening
...
This eliminates a ResourceWarning, since before webbrowser was
explicitly opening os.devnull and then leaving it open. Tests
to follow.
Patch by Anton Barkovsky.
2012-09-03 12:44:29 -04:00
R David Murray
d674a770e9
Merge #15509 : If %action substitution produces a null string, drop it.
...
Patch by Anton Barkovsky, comment addition by me.
This shows up as a bug in 3.3 because the definition for Chrome
produces such an empty string. Tests will follow.
2012-09-03 12:37:59 -04:00
R David Murray
94dd7cb0c7
#15509 : If %action substitution produces a null string, drop it.
...
Patch by Anton Barkovsky, comment addition by me.
This showed up as a bug in 3.3 because the definition for Chrome
produced such an empty string. This fix is tested in 3.3+;
backporting the new test suite is more trouble than it is worth.
2012-09-03 12:30:12 -04:00
Benjamin Peterson
bd0df50fb6
get rid of ast_error_finish by passing the compiling struct to ast_error
2012-09-02 15:04:51 -04:00
Benjamin Peterson
c7f447c89f
merge 3.2 ( #15846 )
2012-09-02 14:24:44 -04:00
Benjamin Peterson
2e2c903700
prevert ast errors from being normalized before ast_error_finish is called ( closes #15846 )
2012-09-02 14:23:15 -04:00
Georg Brandl
02f66cbe87
Bump to 3.3.0rc2.
2012-09-09 08:56:46 +02:00
Ned Deily
24ec054ea1
Issue #15822 : Fix installation of lib2to3 grammar pickles to ensure
...
they are created in the install locations and with the proper timestamp.
(Solution suggested by MvL)
2012-09-08 19:04:47 -07:00
Antoine Pitrou
2b0218a259
Issue #13992 : The trashcan mechanism is now thread-safe. This eliminates
...
sporadic crashes in multi-thread programs when several long deallocator
chains ran concurrently and involved subclasses of built-in container
types.
Because of this change, a couple extension modules compiled for 3.2.4
(those which use the trashcan mechanism, despite it being undocumented)
will not be loadable by 3.2.3 and earlier. However, extension modules
compiled for 3.2.3 and earlier will be loadable by 3.2.4.
2012-09-06 00:59:49 +02:00
Zbigniew Jędrzejewski-Szmek
55c206ab2f
Fix bug with argparse.Parser.parse_args(*args)
2012-09-02 14:59:19 +02:00
Benjamin Peterson
6a42bd67d7
Make super() internal errors RuntimeError instead of SystemError ( closes #15839 )
2012-09-01 23:04:38 -04:00
Petri Lehtinen
6f858a2eea
#15802 : Fix test logic in TestMaildir.test_create_tmp
2012-09-01 14:27:24 +03:00
Petri Lehtinen
1c371b255f
#15802 : Fix test logic in TestMaildir.test_create_tmp
2012-09-01 14:22:36 +03:00
R David Murray
64b0ef1509
Merge #12776,#11839: call argparse type function only once.
...
Before, the type function was called twice in the case where the default
was specified and the argument was given as well. This was especially
problematic for the FileType type, as a default file would always be
opened, even if a file argument was specified on the command line.
Patch by Arnaud Fontaine, with additional test by Mike Meyer.
2012-08-31 23:09:34 -04:00
R David Murray
6fb8fb17bf
#12776,#11839: call argparse type function only once.
...
Before, the type function was called twice in the case where the default
was specified and the argument was given as well. This was especially
problematic for the FileType type, as a default file would always be
opened, even if a file argument was specified on the command line.
Patch by Arnaud Fontaine, with additional test by Mike Meyer.
2012-08-31 22:45:20 -04:00
Brett Cannon
f7d176efe9
Issue #15828 : Don't try to close a file if imp.find_module() doesn't
...
return one.
2012-08-31 11:31:20 -04:00
Nick Coghlan
5d0612411e
Issue #15828 : Restore support for C extension modules in imp.load_module()
2012-09-01 00:13:45 +10:00
Brett Cannon
848cdfdf97
Issue #15828 : Don't try to close a file if imp.find_module() doesn't
...
return one.
2012-08-31 11:31:20 -04:00
Nick Coghlan
91b9f139bc
Issue #15828 : Restore support for C extension modules in imp.load_module()
2012-09-01 00:13:45 +10:00
Antoine Pitrou
2a021c80ce
Issue #15800 : fix the closing of input / output files when gzip is used as a script.
2012-08-30 00:30:14 +02:00
Antoine Pitrou
ecc4757b79
Issue #15800 : fix the closing of input / output files when gzip is used as a script.
2012-08-30 00:29:24 +02:00
Victor Stinner
1d39cde50c
Issue #15785 : Modify window.get_wch() API of the curses module: return a
...
character for most keys, and an integer for special keys, instead of always
returning an integer. So it is now possible to distinguish special keys like
keypad keys.
2012-08-29 01:40:57 +02:00
Benjamin Peterson
4e07a8c9aa
merge heads
2012-08-28 18:02:18 -04:00
Benjamin Peterson
59043f96ea
merge 3.2 ( #15801 )
2012-08-28 18:01:45 -04:00
Benjamin Peterson
28a6cfaefc
use the stricter PyMapping_Check ( closes #15801 )
2012-08-28 17:55:35 -04:00
Richard Oudkerk
ea62bd50a3
Issue #15784 : Modify OSError.__str__() to better distinguish between
...
errno error numbers and Windows error numbers.
2012-08-28 19:33:26 +01:00
Antoine Pitrou
5b9eccb383
Issue #15794 : Relax a test case due to the deadlock detection's conservativeness.
2012-08-28 20:10:18 +02:00
Antoine Pitrou
0398985920
Issue #15781 : Fix two small race conditions in import's module locking.
2012-08-28 00:24:52 +02:00
Richard Oudkerk
30147710e8
Issue #15784 : Modify OSError.__str__() to better distinguish between
...
errno error numbers and Windows error numbers.
2012-08-28 19:33:26 +01:00
Victor Stinner
ca2b64682e
Issue #15785 : Modify window.get_wch() API of the curses module: return a
...
character for most keys, and an integer for special keys, instead of always
returning an integer. So it is now possible to distinguish special keys like
keypad keys.
2012-08-29 01:40:57 +02:00
Antoine Pitrou
4f0338cab7
Issue #15781 : Fix two small race conditions in import's module locking.
2012-08-28 00:24:52 +02:00
Georg Brandl
4ab4ec258c
Bump to 3.3.0rc1.
2012-08-25 12:16:37 +02:00
Georg Brandl
d183f0be0b
Update pydoc topics and suspicious markup file.
2012-08-25 12:14:59 +02:00
Georg Brandl
cc0274b90f
merge with 3.2
2012-08-25 10:12:47 +02:00
Georg Brandl
c8076dfa9d
Fix wrong way of adding Error information in shutil.copytree.
2012-08-25 10:11:57 +02:00
Nick Coghlan
06e1ab0a6b
Close #15573 : use value-based memoryview comparisons (patch by Stefan Krah)
2012-08-25 17:59:50 +10:00
Brett Cannon
12c6bda4f0
Issue #15316 : Let exceptions raised during imports triggered by the
...
fromlist of __import__ propagate.
The problem previously was that if something listed in fromlist didn't
exist then that's okay. The fix for that was too broad in terms of
catching ImportError.
The trick with the solution to this issue is that the proper
refactoring of import thanks to importlib doesn't allow for a way to
distinguish (portably) between an ImportError because finders couldn't
find a loader, or a loader raised the exception. In Python 3.4 the
hope is to introduce a new exception (e.g. ModuleNotFound) to make it
clean to differentiate why ImportError was raised.
2012-08-24 18:25:59 -04:00
Mark Dickinson
6f64796c22
Remove overeager test (don't depend on the sign of a nan; cf. issue #14521 )
2012-08-24 20:31:33 +01:00
Vinay Sajip
a6894ba3c9
Reverted change to venv initialisation.
2012-08-24 20:01:02 +01:00
Mark Dickinson
448f57762d
Remove incorrect lines (meant for cdecimal) from recently added Decimal tests.
2012-08-24 19:51:00 +01:00
Mark Dickinson
e4204bcfb7
Issue #15544 : Fix Decimal.__float__ to work with payload-carrying NaNs.
2012-08-24 19:32:13 +01:00
Mark Dickinson
fc33d4ce0a
Issue #15544 : Fix Decimal.__float__ to work with payload-carrying NaNs.
2012-08-24 18:53:10 +01:00
Brett Cannon
ba0a3edd26
Issue #2051 : Tweak last commit for this issue to pass in mode instead
...
of source path to set_data() and make the new argument private until
possible API changes can be discussed more thoroughly in Python 3.4.
2012-08-24 13:48:39 -04:00
Brett Cannon
07c6e71689
Issue #15778 : Coerce ImportError.args to a string when it isn't
...
already one.
Patch by Dave Malcolm.
2012-08-24 13:05:09 -04:00
Georg Brandl
491b1dc79e
Closes #9374 : merge with 3.2
2012-08-24 18:15:46 +02:00
Georg Brandl
a61b09f406
Closes #9374 : add back now-unused module attributes; removing them is a backward compatibility issue, since they have a public-seeming name.
2012-08-24 18:15:29 +02:00
Andrew Svetlov
82649f3b87
Issue #15776 : Allow pyvenv to work in existing directory with --clean.
...
Patch by Vinay Sajip.
2012-08-24 19:00:15 +03:00
R David Murray
ad2a7d528a
Merge #15249 : Mangle From lines correctly when body contains invalid bytes.
...
Fix by Colin Su. Test by me, based on a test written by Petri Lehtinen.
2012-08-24 11:23:50 -04:00
R David Murray
638d40b433
#15249 : Mangle From lines correctly when body contains invalid bytes.
...
Fix by Colin Su. Test by me, based on a test written by Petri Lehtinen.
2012-08-24 11:14:13 -04:00
Nick Coghlan
a508770e20
Close #2501 : Permission bits are once again correctly copied from the source file to the cached bytecode file. Test by Eric Snow.
2012-08-24 18:32:40 +10:00
Stefan Krah
66e63170d9
Issue #15770 : Check invalid arguments in test function. Patch by Victor Stinner.
2012-08-23 15:53:45 +02:00
Alexander Belopolsky
f9bd9141c5
Issue #665194 : Added a small optimization
2012-08-22 23:02:36 -04:00
Alexander Belopolsky
1f924d21d3
Added test for a bug fixed in issue #665194 .
2012-08-22 22:06:37 -04:00
R David Murray
097a1208bc
#665194 : fix variable name in exception code path.
...
It was correct in the original patch and I foobared it
when I restructured part of the code.
2012-08-22 21:52:31 -04:00
R David Murray
b8687df653
#665194 : Update email.utils.localtime to use astimezone, and fix bug.
...
The new code correctly handles historic changes in UTC offsets.
A test for this should follow.
Original patch by Alexander Belopolsky.
2012-08-22 21:34:00 -04:00
Trent Nelson
75959cf247
Issue #15747 : skip chflags UF_IMMUTABLE tests if EOPNOTSUPP is raised.
...
This is necessary for ZFS systems, which don't support UF_IMMUTABLE.
(Note: this commit is a manual merge of 78699:019a2390b014 as both
_test_chflags_regular_file and test_lchflags_symlink differ between
3.2 and default.)
2012-08-21 23:59:31 +00:00
Trent Nelson
ee253ebf62
Issue #15747 : skip chflags UF_IMMUTABLE tests if EOPNOTSUPP is raised.
...
This is necessary for ZFS systems, which don't support UF_IMMUTABLE.
2012-08-21 23:41:43 +00:00
Ezio Melotti
b9717b5e02
#15752 : merge with 3.2.
2012-08-21 11:39:47 +03:00
Ezio Melotti
1b47bf43a6
#15752 : s/assertRaisesRegexp/assertRaisesRegex/g
2012-08-21 11:38:41 +03:00
Stefan Krah
5b27c53e36
Merge 3.2.
2012-08-21 08:25:41 +02:00
Stefan Krah
7cacd2eb92
Issue #15736 : Fix overflow in _PySequence_BytesToCharpArray().
2012-08-21 08:16:09 +02:00
Trent Nelson
139cd4352f
Issue #15285 : Refactor connect timeout test in test_timeout.
2012-08-20 21:40:21 -04:00
Trent Nelson
514dbb03ba
Issue #15285 : Refactor connect timeout test in test_timeout.
2012-08-20 21:22:59 -04:00
Senthil Kumaran
77ebfccd4d
Fix Issue 15743 - improve urllib tests by removing deprecated method usages. Patch by Jeff Knupp.
2012-08-20 13:43:59 -07:00
Petri Lehtinen
df9c945070
#15199 : Fix JavaScript's default MIME type to application/javascript
2012-08-20 21:30:03 +03:00
Petri Lehtinen
c6fdafcdf3
#15199 : Fix JavaScript's default MIME type to application/javascript
2012-08-20 21:28:58 +03:00
Nick Coghlan
8bd24fe9ff
Issue #12643 : Respect sys.excepthook in code.InteractiveConsole
2012-08-20 23:02:28 +10:00
Stefan Krah
c0c03be53e
Merge 3.2.
2012-08-20 14:42:59 +02:00
Stefan Krah
db579d7b25
Issue #15738 : Fix a missing NULL check in subprocess_fork_exec().
2012-08-20 14:36:47 +02:00
Stefan Krah
6adf2433e4
Merge 3.2.
2012-08-20 11:13:58 +02:00
Stefan Krah
fd24f9e51e
Issue #15732 : Fix (constructed) crash in _PySequence_BytesToCharpArray().
...
Found by Coverity.
2012-08-20 11:04:24 +02:00
Nick Coghlan
48fec05391
Close #14846 : Handle a sys.path entry going away
2012-08-20 13:18:15 +10:00
Nick Coghlan
db7920b978
Close #14814 : Avoid depending on struct by using newer features. Also use enumerate where appropriate (patch by Serhiy Storchaka). Declaring PEP 3144 final at this point - any further changes to code or docs can go in new issues.
2012-08-20 10:19:12 +10:00
Nick Coghlan
a8517ad3d9
Issue #14814 : document the Interface APIs and fix various problems with the string representations (initial patch by Eli Bendersky).
2012-08-20 10:04:26 +10:00
R David Murray
749bd42072
Merge #13579 : teach string.Formatter about 'a'.
...
Patch by Francisco Martín Brugué.
2012-08-19 17:45:40 -04:00
R David Murray
e56bf97ef4
#13579 : teach string.Formatter about 'a'.
...
Patch by Francisco Martín Brugué.
2012-08-19 17:26:34 -04:00
Andrew Svetlov
a19de803e4
Issue #15595 : Fix subprocess.Popen(universal_newlines=True)
...
for certain locales (utf-16 and utf-32 family).
Patch by Chris Jerdonek.
2012-08-19 22:20:03 +03:00
Andrew Svetlov
828607170d
Issue #15595 : Fix subprocess.Popen(universal_newlines=True)
...
for certain locales (utf-16 and utf-32 family).
Patch by Chris Jerdonek.
2012-08-19 22:13:41 +03:00
Andrew Svetlov
377a152e0d
Use Thread.is_alive() instead of old-style Thread.isAlive() in subprocess.
2012-08-19 20:49:39 +03:00
Andrew Svetlov
47ec25d2f6
Brush subprocess tests a bit.
2012-08-19 16:25:37 +03:00
Stefan Krah
4d16bcce07
The latest NumPy revision no longer segfaults here.
2012-08-19 12:54:50 +02:00
Stefan Krah
aaf8e2e32f
Fix out-of-date comment in test_memoryview.
2012-08-19 12:50:24 +02:00
Antoine Pitrou
dbcae3c191
Issue #15615 : Add some tests for the json module's handling of invalid input data.
...
Patch by Kushal Das.
2012-08-18 20:48:17 +02:00
Antoine Pitrou
b47ea9a6fe
Issue #15615 : Add some tests for the json module's handling of invalid input data.
...
Patch by Kushal Das.
2012-08-18 20:46:23 +02:00
Mark Dickinson
35fa864840
Issue #15477 : Merge fix from 3.2
2012-08-18 12:26:15 +01:00
Mark Dickinson
05d79e9abf
Issue #15477 : Add workaround for log1p(-0.0) on platforms where it's broken.
2012-08-18 12:24:30 +01:00
Stefan Krah
5c3ddc8066
Closes #15632 : regrtest.py: fix spurious refleaks due to various caches
...
filling up with random data.
2012-08-17 23:09:48 +02:00
Ned Deily
6aaa03a901
Issue #15678 : Fix menu customization for IDLE started from OS X
...
command lines. It was broken as a side effect of the changes to
pythonw.c in b79d276041a8 for #15307 . Since sys.executable no
longer includes 'Python.app' in the path name, test for a
framework build instead. This should give the previous behavior
in nearly all cases. Whether the previous behavior is sensible
is left as an issue for later releases. IDLE.app behavior was
not affected as it does its own manipulation of sys.executable.
2012-08-17 13:22:30 -07:00
Brett Cannon
7385adc84c
Issue #15715 : Ignore failed imports triggered by the use of fromlist.
...
When the fromlist argument is specified for __import__() and the
attribute doesn't already exist, an import is attempted. If that fails
(e.g. module doesn't exist), the ImportError will now be silenced (for
backwards-compatibility). This *does not* affect
``from ... import ...`` statements.
Thanks to Eric Snow for the patch and Simon Feltman for reporting the
regression.
2012-08-17 13:21:16 -04:00
Andrew Svetlov
943c5b31b6
Fix subprocess test broken on Windows
2012-08-16 20:17:47 +03:00
Richard Oudkerk
04ec8ce1bb
Issue #14669 : Fix pickling of connections and sockets on MacOSX
...
by sending/receiving an acknowledgment after file descriptor transfer.
TestPicklingConnection has been reenabled for MacOSX.
2012-08-16 16:48:55 +01:00
Petri Lehtinen
69a06dd59d
#11062 : Fix universal newline support in Babyl._install_message()
2012-08-16 07:27:53 +03:00
Petri Lehtinen
88614948c0
#11062 : Fix universal newline support in Babyl._install_message()
...
When adding a message from a binary file, \r\n was translated to
\r\r\n in the message body.
2012-08-16 07:27:01 +03:00
Andrew Svetlov
5395d2f07d
Add yet another test for subprocess.Popen.communicate
2012-08-15 22:46:43 +03:00
Andrew Svetlov
592df20efc
Cleanup universal_newlines usage for subprocess.Popen, remove unused param.
2012-08-15 17:36:15 +03:00
Petri Lehtinen
aae61b8cd0
#11062 : Fix adding a message from file to Babyl mailbox
2012-08-15 14:36:14 +03:00
Petri Lehtinen
3d12c4317c
#11062 : Fix adding a message from file to Babyl mailbox
2012-08-15 14:26:27 +03:00
R David Murray
7f84833726
Merge #15269 : document dircmp.left and right, and add tests for them.
...
Patch by Chris Jerdonek.
2012-08-14 21:45:25 -04:00
R David Murray
2b209cd78d
#15269 : document dircmp.left and right, and add tests for them.
...
Patch by Chris Jerdonek.
2012-08-14 21:40:13 -04:00
Andrew Svetlov
aa0dbdc2dd
Issue #15592 . Fix regression: subprocess.communicate() breaks on no input with universal newlines true.
...
Patch by Chris Jerdonek.
2012-08-14 18:40:21 +03:00
Andrew Svetlov
f3765071eb
Add test to explicit check the absence regression in subprocess (issue #15592 ).
...
Patch by Chris Jerdonek.
2012-08-14 18:35:17 +03:00
Richard Oudkerk
3165a75e45
Merge 3.2
2012-08-14 12:51:14 +01:00
Richard Oudkerk
e88a2445bc
Issue #15646 : Prevent equivalent of a fork bomb when using multiprocessing
...
on Windows without the "if __name__ == '__main__'" idiom.
2012-08-14 11:41:32 +01:00
Brian Curtin
835df52471
Merge 3.2
2012-08-13 17:12:02 -05:00
Brian Curtin
6f5c5cb75b
Fix #15496 . Add directory removal helpers to make Windows tests more reliable. Patch by Jeremy Kloth
2012-08-13 17:05:57 -05:00
Andrew Svetlov
4e9e9c1c44
Issue #15571 : comment the fact what python impl of TextIOWrapper always works in write_throuth mode
2012-08-13 16:09:54 +03:00
Brett Cannon
b428f47cf6
Don't overwrite a __path__ value from extension modules if already
...
set.
2012-08-11 19:43:29 -04:00
Georg Brandl
826d570779
Merge with 3.2.
2012-08-11 11:02:23 +02:00
Georg Brandl
7b250a5cff
Revert 961a15aff2a6, this is already checked in another way.
2012-08-11 11:02:14 +02:00
Georg Brandl
68fad6fb37
Merge with 3.2.
2012-08-11 10:59:45 +02:00
Georg Brandl
22bfa37ed0
Closes #15620 : check for presence of readline.clear_history(), which is apparently missing on some readline versions, before calling it in the test.
2012-08-11 10:59:23 +02:00
Georg Brandl
1b94ab79a9
Bump to 3.3b2.
2012-08-11 08:49:20 +02:00
Georg Brandl
a81b481e3a
Fix markup errors and update pydoc topics.
2012-08-11 08:43:59 +02:00
Meador Inge
80dd1af4e0
Issue #15424 : Add a __sizeof__ implementation for array objects.
...
Patch by Ludwig Hähne.
2012-08-10 23:21:39 -05:00
Meador Inge
03b4d5072a
Issue #15424 : Add a __sizeof__ implementation for array objects.
...
Patch by Ludwig Hähne.
2012-08-10 22:35:45 -05:00
Philip Jenvey
688a551ca0
fix docstring wording
2012-08-10 16:21:35 -07:00
Brett Cannon
f410ce8c09
Issue #15502 : Refactor some code.
2012-08-10 17:41:23 -04:00
Philip Jenvey
731d48a65f
update docstring per the extension package fix, refactor
2012-08-10 11:53:54 -07:00
Brett Cannon
ac9f2f3de3
Issue #15576 : Allow extension modules to be a package's __init__
...
module again. Also took the opportunity to stop accidentally exporting
_imp.extension_suffixes() as public.
2012-08-10 13:47:54 -04:00
Brett Cannon
f4dc9204cc
Issue #15502 : Finish bringing importlib.abc in line with the current
...
state of the import system. Also make importlib.invalidate_caches()
work with sys.meta_path instead of sys.path_importer_cache to
completely separate the path-based import system from the overall
import system.
Patch by Eric Snow.
2012-08-10 12:21:12 -04:00
Andrew Svetlov
25a02d403c
Issue #15601 : fix tkinter test_variables failure with OS X Aqua Tk 8.4
2012-08-09 21:51:21 +03:00
Ned Deily
3a2b97e48a
Issue #14992 : merge from 3.2
2012-08-08 21:03:02 -07:00