Ezio Melotti
090f7be6df
#16760 : use ref:`match-objects` instead of :class:`MatchObject`.
13 years ago
Ezio Melotti
9f929bb7df
#16677 : rename section header and fix markup.
13 years ago
Andrew Svetlov
405faed511
Add test coverage for os.removedirs ( #16775 )
13 years ago
Senthil Kumaran
ed30199e78
Fix issue16713 - tel url parsing with params
13 years ago
Andrew Svetlov
08bab07291
Keep ref to ECHILD in local scope ( #16650 )
13 years ago
Andrew Svetlov
8a495a48a5
Issue #16511 : Use default IDLE width and height if config param is not valid.
Patch Serhiy Storchaka.
13 years ago
Andrew Svetlov
159bb53765
merge heads
13 years ago
Andrew Svetlov
56ad5ed5ad
Issue #16443 : Add docstrings to regular expression match objects.
Patch by Anton Kasyanov.
13 years ago
Senthil Kumaran
41e66a26b0
Fix Issue15701 - HTTPError info method call raises AttributeError. Fix that to return headers correctly
13 years ago
Kristjan Valur Jonsson
3cbdaa3fee
Merge with 3.1 : Don't DECREF the ctypes error_object without the GIL held.
13 years ago
Kristjan Valur Jonsson
9946bd69fa
Don't DECREF the ctypes error_object without the GIL held.
13 years ago
Andrew Svetlov
7bd61cbc03
replace threw with raised ( #16714 )
13 years ago
Andrew Svetlov
737fb89dd1
Issue #16714 : use 'raise' exceptions, don't 'throw'.
Patch by Serhiy Storchaka.
13 years ago
Andrew Svetlov
4001e96179
Issue #16711 : Fix required method names for collections.Iterator
Thanks to Inada Naoki
13 years ago
Giampaolo Rodola'
57f3487994
Issue 16646 (ftplib): deliberately use intermediate variable after catching exception
13 years ago
Andrew Svetlov
b6693c4604
Issue #16647 : save socket error details in LMTP.connect()
Patch by Serhiy Storchaka.
13 years ago
Giampaolo Rodola'
fc3278802c
Fix issue #16646 : ftplib.FTP.makeport() might lose socket error details. (patch by Serhiy Storchaka)
13 years ago
Andrew Svetlov
f635172c72
Update example: Counter.subtract returns None, not self
13 years ago
Andrew Svetlov
dfe109e33f
Fix typo
13 years ago
Brian Curtin
655b0c462f
Fix #14901 . Update the Windows FAQ.
Patch by Ashish Nitin Patil.
13 years ago
Antoine Pitrou
697ce5560f
Fix ResourceWarnings in test_pty
13 years ago
Antoine Pitrou
5461558d1a
Issue #16696 : fix comparison between bytes and string. Also, improve glob tests.
13 years ago
Antoine Pitrou
3d068b2ecf
Issue #16626 : Fix infinite recursion in glob.glob() on Windows when the pattern contains a wildcard in the drive or UNC path.
Patch by Serhiy Storchaka.
13 years ago
Hynek Schlawack
dec59ec5ff
#16664 : Add regression tests for glob's behaviour concerning "."-entries
Patch by Sebastian Kreft.
13 years ago
Benjamin Peterson
7eb8a1a0cb
remove dead code
13 years ago
Antoine Pitrou
084daa2f74
Issue #16298 : In HTTPResponse.read(), close the socket when there is no Content-Length and the incoming stream is finished.
Patch by Eran Rundstein.
13 years ago
Ezio Melotti
e0035a212b
#16683 : restore alphabetical order in audioop docs. Patch by Serhiy Storchaka.
13 years ago
Ezio Melotti
e3d7e54b11
#16681 : use "bidirectional class" instead of "bidirectional category" in the docstring too.
13 years ago
Ezio Melotti
1e5c9b70b4
#16681 : use "bidirectional class" instead of "bidirectional category".
13 years ago
Gregory P. Smith
9504b13145
Code style fixup: No need for double ((parenthesis)) and use {} on an if else.
13 years ago
Gregory P. Smith
a6be61ec71
Keep y a Py_hash_t instead of Py_uhash_t as it is compared with == -1 and the
compiler logic will do the right thing with just x as a Py_uhash_t. This
matches what was already done in the 3.3 version.
cleanup only - no functionality or hash values change.
13 years ago
Gregory P. Smith
27cbcd6241
Fix the internals of our hash functions to used unsigned values during hash
computation as the overflow behavior of signed integers is undefined.
In practice we require compiling everything with -fwrapv which forces overflow
to be defined as twos compliment but this keeps the code cleaner for checkers
or in the case where someone has compiled it without -fwrapv or their
compiler's equivalent.
Found by Clang trunk's Undefined Behavior Sanitizer (UBSan).
Cleanup only - no functionality or hash values change.
13 years ago
Gregory P. Smith
90555d0f0d
1 << 31 is invalid for signed integers, fix it by making 1 unsigned.
Found by Clang trunk's Undefined-Behavior Sanitizer. [more to come]
13 years ago
Hynek Schlawack
87f9b46f15
#15872 : Some more Windows related tuning to shutil.rmtree tests
Turns out, the snakebite bots behave also their peculiarities.
I'm really not proud of this stream of commits. :(
13 years ago
Hynek Schlawack
b9e9f3e70d
#15872 : Be flexible with appending *.* in shutil.rmtree test case
The Windows buildbots seem to be unable to agree whether they need them or not.
13 years ago
Hynek Schlawack
9a4a750673
#15872 : More shutil test fixes for Windows
13 years ago
Hynek Schlawack
9e8ac56e35
#15872 : Fix shutil.rmtree error tests for Windows
13 years ago
Hynek Schlawack
d16eacba48
#15872 : Add tests for a 3.3 regression in the new fd-based shutil.rmtree
It cause shutil.rmtree not ignore all errors. Also add a test ensuring that
rmtree fails when being called on a symlink. Patch by Serhiy Storchaka.
13 years ago
Chris Jerdonek
175196886e
Issue #16629 : Fix IDLE idlelib.CallTips test. Patch by Roger Serwy.
This commit updates a test broken by the change made for issue #14783 .
13 years ago
Andrew Svetlov
806bfad457
Issue #16582 : use int exit code in tkinter._exit
13 years ago
Senthil Kumaran
2e72831369
Fix issue13211 - Document the reason attribute for urllib.error.HTTPError
13 years ago
Benjamin Peterson
4ee03fa4d5
merge 3.1
13 years ago
Antoine Pitrou
0ee20ebbff
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.
13 years ago
Antoine Pitrou
7ec3a32360
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.
13 years ago
Éric Araujo
24457c9ad3
Branch merge
13 years ago
Éric Araujo
8b503c0a4e
Fix setup.py register failure with invalid rst in description ( #13614 ).
Original patch by Julien Courteau and Pierre Paul Lefebvre.
13 years ago
Éric Araujo
9bc9ab5f85
Fix a few markup/grammar nits
13 years ago
Antoine Pitrou
62a0d6ea40
Issue #16602 : When a weakref's target was part of a long deallocation chain, the object could remain reachable through its weakref even though its refcount had dropped to zero.
Thanks to Eugene Toder for diagnosing and reporting the issue.
13 years ago
Éric Araujo
d61926e6be
Create ~/.pypirc securely ( #13512 ).
There was a window between the write and the chmod where the user’s
password would be exposed, depending on default permissions. Philip
Jenvey’s patch fixes it.
13 years ago
Éric Araujo
3e4a3dcb23
Ignore .nfs* files in distutils ( #7719 ).
These files are created by some NFS clients a file is edited and removed
concurrently (see added link in doc for more info). If such a file is
removed between distutils calls listdir and copy, it will get confused.
Other special files are ignored in sdist (namely VCS directories), but
this has to be filtered out earlier.
13 years ago