Éric Araujo
ec177c14d3
Packaging removal: also revert introduction of sysconfig.cfg.
...
We need a discussion to define what should be customized how; this new
config file is premature. It was added to serve the needs of the
resources system in install_data / packaging.database, so it can be
removed alongside packaging for 3.3.
2012-06-24 03:27:43 -04:00
Gregory P. Smith
853ef47522
merge heads
2012-06-24 00:24:31 -07:00
Gregory P. Smith
990a5feba7
Fixes issue #12268 : File readline, readlines and read() or readall() methods
...
no longer lose data when an underlying read system call is interrupted.
IOError is no longer raised due to a read system call returning EINTR
from within these methods.
2012-06-24 00:23:47 -07:00
Ned Deily
430d7a3090
Remove obsolete fixapplepython23 script and PythonSystemFixes
...
installer package from the OS X Makefile for Python 3. It has
never worked on Python 3 and is not needed there as pre-10.3.9
installs are no longer supported.
2012-06-24 00:19:31 -07:00
Gregory P. Smith
5135992164
Fixes issue #12268 : File readline, readlines and read() or readall() methods
...
no longer lose data when an underlying read system call is interrupted.
IOError is no longer raised due to a read system call returning EINTR
from within these methods.
2012-06-23 23:55:39 -07:00
Gregory P. Smith
8150492f11
Speed up test_io by >2x by reducing the sleep time using setitimer instead of
...
alarm for the signal tests.
2012-06-23 23:46:37 -07:00
Éric Araujo
80d440aee1
Move distutils install doc back into place.
...
(This was not done in the previous commit because Mercurial would have
shown it as a modified file instead of a moved file.)
2012-06-24 00:09:56 -04:00
Éric Araujo
859aad6a36
Remove packaging from the standard library.
...
Distutils2 will live on on PyPI and be included in the stdlib when it
is ready. See discussion starting at
http://mail.python.org/pipermail/python-dev/2012-June/120430.html
2012-06-24 00:07:41 -04:00
Ezio Melotti
dc44f55cc9
#11113 : add a new "html5" dictionary containing the named character references defined by the HTML5 standard and the equivalent Unicode character(s) to the html.entities module.
2012-06-24 04:37:41 +02:00
Larry Hastings
b698d8e7e9
Issue #15154 : Add "dir_fd" parameter to os.rmdir, remove "rmdir"
...
parameter from os.remove / os.unlink.
Patch written by Georg Brandl. (I'm really looking forward to George
getting commit privileges so I don't have to keep doing checkins on his
behalf.)
2012-06-23 16:55:07 -07:00
Antoine Pitrou
b7eb563a2a
Errors in "client" methods in test_socket were ignored because of a bogus except clause.
...
(this could reveal test failures!)
2012-06-24 01:34:13 +02:00
Ned Deily
cbfb9a56e6
Issue #13590 : Improve support for OS X Xcode 4:
...
- Try to avoid building Python or extension modules with problematic
llvm-gcc compiler.
- Since Xcode 4 removes ppc support, extension module builds now
check for ppc compiler support and automatically remove ppc and
ppc64 archs when not available.
- Since Xcode 4 no longer install SDKs in default locations,
extension module builds now revert to using installed headers
and libs if the SDK used to build the interpreter is not
available.
- Update ./configure to use better defaults for universal builds;
in particular, --enable-universalsdk=yes uses the Xcode default
SDK and --with-universal-archs now defaults to "intel" if ppc
not available.
2012-06-23 16:02:19 -07:00
Philip Jenvey
88bc0d2640
small refactor and PEP8 line width/docstring
2012-06-23 15:54:38 -07:00
Antoine Pitrou
66a3a7ed10
Try to fix crash on x86 OpenIndiana buildbot.
2012-06-24 00:42:59 +02:00
Antoine Pitrou
1351ca6e66
Replace assert() with a more informative fatal error.
2012-06-24 00:30:12 +02:00
Antoine Pitrou
ad2c43b687
Merge
2012-06-24 00:20:26 +02:00
Martin v. Löwis
f52f527c76
Issue #15102 : find python.exe in OutDir, not SolutionDir.
2012-06-24 00:22:28 +02:00
Antoine Pitrou
86da524ae0
Merge
2012-06-24 00:20:11 +02:00
Antoine Pitrou
bb78f57c14
Use struct member (ht_type) instead of casting pointers.
2012-06-24 00:18:27 +02:00
Martin v. Löwis
75aeaa9b18
Issue #11626 : Add _SizeT functions to stable ABI.
2012-06-24 00:00:30 +02:00
Martin v. Löwis
788306a9ab
Fix whitespace.
2012-06-23 23:21:48 +02:00
Martin v. Löwis
9c56409d33
Issue #15146 : Add PyType_FromSpecWithBases. Patch by Robin Schreiber.
2012-06-23 23:20:45 +02:00
Antoine Pitrou
110ee34e41
Lower test-skipping threshold in test_reprlib
2012-06-23 22:55:58 +02:00
Mark Dickinson
106c4145ff
Issue #14923 : Optimize continuation-byte check in UTF-8 decoding. Patch by Serhiy Storchaka.
2012-06-23 21:45:14 +01:00
Stefan Krah
16ad7a254a
Issue #15102 : Fix paths in external-amd64.bat.
2012-06-23 22:18:19 +02:00
Antoine Pitrou
a4f9e3603e
Add MSVC-related entries to .hgignore
2012-06-23 22:11:58 +02:00
Antoine Pitrou
4f6e3f74fc
Avoid depending on directory iteration order in test_shutil
2012-06-23 22:05:11 +02:00
Antoine Pitrou
f3a166d799
Add debug output to test_shutil
2012-06-23 21:32:36 +02:00
Antoine Pitrou
2f8a75c7a7
Proper cleanup in test_shutil, even in case of error.
2012-06-23 21:28:15 +02:00
Martin v. Löwis
d5ecd49af9
Issue #15102 : Use HOST_PYTHON only if it is set.
2012-06-23 21:07:39 +02:00
Hynek Schlawack
2100b42317
#4489 : Fix usage of fd-based functions to new api introduced earlier today
...
Also add an explicit test for safe implementation usage on supported platforms.
As a side effect, this commit adds a module-level attribute 'rmtree_is_safe'
which offers introspection whether the current rmtree implementation is safe
against symlink attacks.
2012-06-23 20:28:32 +02:00
Martin v. Löwis
1641cea02b
Issue #15150 : regenerate python3stub.def.
2012-06-23 19:56:19 +02:00
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