Benjamin Peterson
a4e4e35783
check by equality for __future__ not identity ( closes #14378 )
14 years ago
R David Murray
e112153727
#12757 : Make doctest skipping in -OO mode work with unittest/regrtest -v
14 years ago
Andrew Svetlov
0f71f44156
#3573 : idle now doesn't hungs if launched as: idle -e <directory>
Patch by Guilherme Polo.
14 years ago
Giampaolo Rodola'
7941736ddb
Fix issue #13694 : asynchronous connect in asyncore.dispatcher does not set addr.
14 years ago
Georg Brandl
226af70a59
Bump to 3.2.3rc2.
14 years ago
R David Murray
c6bfce9871
#14333 : fix test_queue so it can be run via standard unittest test discovery.
14 years ago
R David Murray
1b6c724df0
#11686 : add missing entries to email __all__ lists.
Original patch by Steffen Daode Nurpmeso
14 years ago
Benjamin Peterson
16d84ac355
check to make sure the attribute is a string ( #14334 )
14 years ago
Senthil Kumaran
be3f851411
closes issue10484 - Fix the http.server's cgi PATH_INFO handling problem
14 years ago
Senthil Kumaran
6b3434ae04
Explain the use of charset parameter with Content-Type header. Issue11082
14 years ago
Senthil Kumaran
73277fe0eb
closes Issue #11199 : Fix the with urllib which hangs on particular ftp urls.
14 years ago
R David Murray
9fd170e2d0
#14062 : fix BytesParser handling of linesep for Header objects
This also affected smtplib.SMTP.send_message, which calls BytesParser.
14 years ago
R David Murray
7441a7aedd
#14291 : if a header has non-ascii unicode, default to CTE using utf-8
In Python2, if a unicode string was assigned as the value of a header,
email would automatically CTE encode it using the UTF8 charset.
This capability was lost in the Python3 translation, and this patch
restores it.
Patch by Ali Ikinci, assisted by R. David Murray.
I also added a fix for the mailbox test that was depending (with a comment
that it was a bad idea to so depend) on non-ASCII causing message_from_string
to raise an error. It now uses support.patch to induce an error during
message serialization.
14 years ago
Martin v. Löwis
eb945a938d
Issue #5219 : Prevent event handler cascade in IDLE.
Patch by Roger Serwy.
14 years ago
Vinay Sajip
27f48979ca
Closes #14267 : Corrected computation of rollover filename.
14 years ago
Senthil Kumaran
47b5ddb9cf
3.2 - Fix closes Issue14281 - Test for cgi.escape by Brian Landers
14 years ago
Michael Foord
e01c62cd6b
Fix unittest test discovery for Jython
14 years ago
Ezio Melotti
df723e1e5e
#14179 : add tests for re.compile. Patch by Florian Mladitsch.
14 years ago
Eric V. Smith
edbb6ca084
str.format_map tests don't do what they say: fix to actually implement the intent of the test. Closes #13450 .
14 years ago
Ezio Melotti
85769539a3
#13394 : add more tests for the aifc module. Patch by Oleg Plakhotnyuk.
14 years ago
Benjamin Peterson
ef87f06798
allow AST objects to be like its subclasses
14 years ago
Benjamin Peterson
d279e286f2
every other ast object has a dict, so I think AST should, too
14 years ago
Antoine Pitrou
1f9a835400
Issue #14252 : Fix subprocess.Popen.terminate() to not raise an error under Windows when the child process has already exited.
14 years ago
Georg Brandl
e144c74e02
Closes #14244 : add info about capturing groups and maxsplit to the docstring of re.split().
14 years ago
Benjamin Peterson
52c424343d
allow cycles throught the __dict__ slot to be cleared ( closes #1469629 )
Patch from Armin, test from me.
14 years ago
Benjamin Peterson
e48944b69c
keep the buffer object around while we're using it ( closes #14212 )
14 years ago
Éric Araujo
a420c820fe
Backout buggy patch committed for #13719
14 years ago
Éric Araujo
c3705d3ac4
Fix NameError from #13719 fix
14 years ago
Éric Araujo
420f698d6e
Backport minidom attribute tests from default (73c76466cf44).
Some minidom code changed between 3.2 and 3.3, so to be sure to avoid
differenced in behavior I’m backporting these tests added by MvL.
14 years ago
Éric Araujo
e413c06f35
Make distutils’ upload command work with bdist_msi products ( #13719 ).
Patch by Ralf Schmitt.
14 years ago
Éric Araujo
c432a9d5b9
Use raw string for a docstring that uses a backslash
14 years ago
Meador Inge
653f932eff
Issue #14195 : Make WeakSet.__lt__ and WeakSet.__gt__ irreflexive.
14 years ago
Antoine Pitrou
9c47ac05d1
Fix some set algebra methods of WeakSet objects.
14 years ago
Antoine Pitrou
de89d4b097
Port 2.7 fix for sporadic failure in test_weakset.
14 years ago
Antoine Pitrou
4a90ef0363
Issue #14177 : marshal.loads() now raises TypeError when given an unicode string.
Patch by Guilherme Gonçalves.
14 years ago
Antoine Pitrou
679e9d36f7
Issue #14172 : Fix reference leak when marshalling a buffer-like object (other than a bytes object).
14 years ago
Vinay Sajip
f959618142
Closes #14158 : improved resilience to test files left behind.
14 years ago
Antoine Pitrou
bbe2f60b3c
Issue #14159 : Fix the len() of weak containers (WeakSet, WeakKeyDictionary, WeakValueDictionary) to return a better approximation when some objects are dead or dying.
Moreover, the implementation is now O(1) rather than O(n).
Thanks to Yury Selivanov for reporting.
14 years ago
Ezio Melotti
682d37423d
#14089 : increase coverage of the fractions module. Patch by Oleg Plakhotnyuk.
14 years ago
Ezio Melotti
5a045b9f54
#10713 : Improve documentation for \b and \B and add a few tests. Initial patch and tests by Martin Pool.
14 years ago
Nadeem Vawda
aba2b06001
Give better failure messages in test_strptime (cf. issue #14113 ).
14 years ago
Antoine Pitrou
d311374089
Issue #13125 : Silence spurious test_lib2to3 output when in non-verbose mode.
Patch by Mikhail Novikov.
14 years ago
Antoine Pitrou
e965d97ed1
Issue #13521 : dict.setdefault() now does only one lookup for the given key, making it "atomic" for many purposes.
Patch by Filip Gruszczyński.
14 years ago
Nadeem Vawda
05a4dd83af
Issue #13873 : Fix crash in test_zlib when running on a small (<4GB) tmpfs.
14 years ago
Éric Araujo
845a77205f
Set archive format explicitly in one distutils test
14 years ago
Éric Araujo
b46562480b
Add test file for scripts in Tools ( #13447 ).
When people find bugs in scripts such as reindent.py, msgfmt.py or
pygettext.py, we have to try to reproduce the bug manually, apply a fix
and test manually again. The alternative is to only read the code and
trust that it works. This test file is a way to stop that
unsatisfactory state of things and write proper unit tests instead.
14 years ago
Éric Araujo
29b925548c
Fix long-standing bugs with MANIFEST.in parsing on Windows ( #6884 ).
These regex changes fix a number of issues for distutils on Windows:
- #6884 : impossible to include a file starting with 'build'
- #9691 and #14004 : sdist includes too many files
- #13193 : test_filelist failures
This commit replaces the incorrect changes done in 0a94e2f807c7 and
90b30d62caf2 to fix #13193 ; we were too eager to fix the test failures
and I did not study the code enough before greenlighting patches. This
time we have unit tests from the problems reported by users to be sure
we have the right fix.
Thanks to Nadeem Vawda for his help.
14 years ago
Éric Araujo
2e0a0e1640
Fix long-standing bugs with MANIFEST.in parsing on Windows ( #6884 ).
These regex changes fix a number of issues for distutils on Windows:
- #6884 : impossible to include a file starting with 'build'
- #9691 and #14004 : sdist includes too many files
- #13193 : test_filelist failures
This commit replaces the incorrect changes done in 0a94e2f807c7 and
90b30d62caf2 to fix #13193 ; we were too eager to fix the test failures
and I did not study the code enough before greenlighting patches. This
time we have unit tests from the problems reported by users to be sure
we have the right fix.
Thanks to Nadeem Vawda for his help.
14 years ago
Vinay Sajip
f05090372a
Fix added for recent changes in non-threading environments.
14 years ago
Georg Brandl
afe05bd494
Bump version to 3.2.3rc1.
14 years ago