Martin v. Löwis
2c30ee1bd8
Merge with 3.2
2012-06-23 19:51:48 +02:00
Martin v. Löwis
7349eb27d7
The build target of this makefile is python3.dll, not python32.dll.
2012-06-23 19:36:08 +02:00
Stefan Krah
37459a0c3a
Issue #15102 : Allow platform-specific settings for the current project
...
to override environment variables.
2012-06-23 18:57:45 +02:00
Antoine Pitrou
99cc629969
Issue #15142 : Fix reference leak when deallocating instances of types created using PyType_FromSpec().
2012-06-23 14:42:38 +02:00
Mark Dickinson
b8dc3ab08b
Issue #12965 : More PyLong_As* clarifications. Thanks Stefan Krah.
2012-06-23 12:12:52 +01:00
Mark Dickinson
f0acfeeccf
Issue #12965 : Clean up C-API docs for PyLong_AsLongLong(AndOverflow); clarify that __int__ will be called for non-PyLongs
2012-06-23 11:14:22 +01:00
Nick Coghlan
6c6e2545cb
Properly test the various builtins lookup cases in inspect.getclosurevars
2012-06-23 20:07:39 +10:00
Hynek Schlawack
fb8dac7632
Fix typo in Misc/NEWS
2012-06-23 18:21:11 +02:00
Hynek Schlawack
67be92bed4
#4489 : Add a shutil.rmtree that isn't suspectible to symlink attacks
...
It is used automatically on platforms supporting the necessary os.openat() and
os.unlinkat() functions. Main code by Martin von Löwis.
2012-06-23 17:58:42 +02:00
Antoine Pitrou
46cb1ef457
Use non-deprecated speling.
2012-06-23 18:11:59 +02:00
Antoine Pitrou
d4daa87129
Properly cleanup pep3147 modules in test_import
2012-06-23 18:09:55 +02:00
Antoine Pitrou
06e37587ff
Try to further debug occasional buildbot failure
2012-06-23 17:27:56 +02:00
Antoine Pitrou
78157b3f6f
On behalf of Nadeem Vawda: issue #10376 : micro-optimize reading from a Zipfile.
...
(patch by Serhiy)
2012-06-23 16:44:48 +02:00
Ezio Melotti
3861d8b271
#15114 : the strict mode of HTMLParser and the HTMLParseError exception are deprecated now that the parser is able to parse invalid markup.
2012-06-23 15:27:51 +02:00
Antoine Pitrou
a4db02c7a3
Issue #15142 : Fix reference leak when deallocating instances of types created using PyType_FromSpec().
2012-06-23 14:45:21 +02:00
Antoine Pitrou
edc601855d
Remove outdated statement
2012-06-23 14:19:58 +02:00
Antoine Pitrou
766a16efe7
Fix test_re failure under Windows.
2012-06-23 14:17:39 +02:00
Antoine Pitrou
463badf06c
Issue #3665 : \u and \U escapes are now supported in unicode regular expressions.
...
Patch by Serhiy Storchaka.
2012-06-23 13:29:19 +02:00
Mark Dickinson
c9aa8425c4
Issue #12965 : Merge from 3.2.
2012-06-23 12:13:15 +01:00
Georg Brandl
5bb7aa986e
Try to fix shutil.which() tests on Windows by fixing a typo introduced in 27f9c26fdd8b in posix_access().
2012-06-23 12:48:40 +02:00
Mark Dickinson
93648f033b
Issue #12965 : Merge from 3.2.
2012-06-23 11:14:55 +01:00
Nick Coghlan
04e2e3f231
Close #15153 : Added inspect.getgeneratorlocals to simplify whitebox testing of generator state updates
2012-06-23 19:52:05 +10:00
Mark Dickinson
766e62266e
Issue #12965 : Merge from 3.2
2012-06-23 10:49:36 +01:00
Mark Dickinson
0a22924d52
Issue #12965 : Clean up C-API docs for PyLong_AsLong(AndOverflow); clarify that __int__ will be called for non-PyLongs
2012-06-23 10:49:12 +01:00
Nick Coghlan
2f92e54507
Close #13062 : Add inspect.getclosurevars to simplify testing stateful closures
2012-06-23 19:39:55 +10:00
Mark Dickinson
970da4549a
merge
2012-06-23 09:28:08 +01:00
Mark Dickinson
be4fb69201
Issue #14742 : test_unparse now only checks a limited number of files unless the 'cpu' resource is specified.
2012-06-23 09:27:47 +01:00
Charles-François Natali
f8f5237b2f
Remove useless test (flowinfo is unsigned).
2012-06-23 10:26:54 +02:00
Charles-François Natali
9b0c006eb0
Remove useless test (flowinfo is unsigned).
2012-06-23 10:17:05 +02:00
Brian Curtin
dc00f1eba0
Fix #15148 . Capitalize PATH, hopefully leading to less confusion
2012-06-22 22:49:12 -05:00
Brian Curtin
2193536e79
Fix #15148 . Make the shutil.which docstring more thorough
2012-06-22 22:48:06 -05:00
Larry Hastings
dbbc0c8bb3
Issue #14626 : Fix buildbot issue on OpenIndiana 3.x machines. (Hopefully.)
2012-06-22 19:50:21 -07:00
Brian Curtin
fafd9eeef0
Revert unintended change in 973b4806f760
2012-06-22 21:40:52 -05:00
Brian Curtin
e3f3940fc3
file was the old arg name from an earlier patch. command matches the implementation
2012-06-22 21:14:34 -05:00
Alexander Belopolsky
de74de5d5d
Issue #15148 : Fixed typos in shutil.which() docstring
2012-06-22 21:56:42 -04:00
Alexander Belopolsky
648921371e
fixed whitespace
2012-06-22 21:10:50 -04:00
Alexander Belopolsky
8141cc7f88
Issues #11024 : Fixes and additional tests for Time2Internaldate.
2012-06-22 21:03:39 -04:00
Jesus Cea
60c13ddd9b
Skip the test only if neccesary - Kernel bug in freebsd9 - #10142 : Support for SEEK_HOLE/SEEK_DATA
2012-06-23 02:58:14 +02:00
Jesus Cea
9d874866f7
Kernel bug in freebsd9 - #10142 : Support for SEEK_HOLE/SEEK_DATA
2012-06-23 02:55:36 +02:00
Antoine Pitrou
310f95b04d
A better repr() for FileFinder
2012-06-23 02:12:56 +02:00
Larry Hastings
67cbf7bff9
Issue #14626 : Fix buildbot issue on x86 Tiger 3.x.
2012-06-22 17:06:48 -07:00
Larry Hastings
90867a5aba
Issue #14626 : Fix buildbot issues on FreeBSD (AMD64). (Fingers crossed.)
2012-06-22 17:01:41 -07:00
Larry Hastings
9cf065cfdc
Issue #14626 : Large refactoring of functions / parameters in the os module.
...
Many functions now support "dir_fd" and "follow_symlinks" parameters;
some also support accepting an open file descriptor in place of of a path
string. Added os.support_* collections as LBYL helpers. Removed many
functions only previously seen in 3.3 alpha releases (often starting with
"f" or "l", or ending with "at"). Originally suggested by Serhiy Storchaka;
implemented by Larry Hastings.
2012-06-22 16:30:09 -07:00
Antoine Pitrou
f0f4742b49
Fix silly mistake in debugging code
2012-06-23 00:49:44 +02:00
Stefan Krah
3077ab8237
Whitespace.
2012-06-23 00:31:04 +02:00
Larry Hastings
7c7cbfc00f
Issue #15008 : Implement PEP 362 "Signature Objects".
...
Patch by Yury Selivanov.
2012-06-22 15:19:35 -07:00
Guido van Rossum
8e0d25504c
Merge
2012-06-22 15:18:38 -07:00
Guido van Rossum
95c1c48fd6
Speed up base64.urlsafe_{en,de}code().
2012-06-22 15:16:09 -07:00
Antoine Pitrou
541b7c89ff
Add debug output for temporary buildbot failures
2012-06-23 00:07:38 +02:00
Antoine Pitrou
07c24d13ed
Issue #444582 : shutil.which() respects relative paths.
2012-06-22 23:33:05 +02:00