- 24 Jun, 2012 16 commits
-
-
Vinay Sajip authored
-
R David Murray authored
This code passes all the same tests that the existing RFC mime header parser passes, plus a bunch of additional ones. There are a couple of commented out tests where there are issues with the folding. The folding doesn't normally get invoked for headers parsed from source, and the cases are marginal anyway (headers with invalid binary data) so I'm not worried about them, but will fix them after the beta. There are things that can be done to make this API even more convenient, but I think this is a solid foundation worth having. And the parser is a full RFC parser, so it handles cases that the current parser doesn't. (There are also probably cases where it fails when the current parser doesn't, but I haven't found them yet ;) Oh, yeah, and there are some really ugly bits in the parser for handling some 'postel' cases that are unfortunately common. I hope/plan to to eventually refactor a lot of the code in the parser which should reduce the line count...but there is no escaping the fact that the error recovery is welter of special cases.
-
Larry Hastings authored
preserve all 64 bits of hash on Win64.
-
Ned Deily authored
-
Ned Deily authored
-
Hynek Schlawack authored
-
Ned Deily authored
properly skip uncompilable files and to compile existing files in site-packages if reinstalling. Also, no longer attempt to install a documentation link in /Developer as that no longer necessarily exists with Xcode 4.3+.
-
Éric Araujo authored
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.
-
Gregory P. Smith authored
-
Gregory P. Smith authored
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.
-
Ned Deily authored
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.
-
Gregory P. Smith authored
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.
-
Gregory P. Smith authored
alarm for the signal tests.
-
Éric Araujo authored
(This was not done in the previous commit because Mercurial would have shown it as a modified file instead of a moved file.)
-
Éric Araujo authored
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
-
Ezio Melotti authored
#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.
-
- 23 Jun, 2012 24 commits
-
-
Larry Hastings authored
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.)
-
Antoine Pitrou authored
(this could reveal test failures!)
-
Ned Deily authored
- 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.
-
Philip Jenvey authored
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Martin v. Löwis authored
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Antoine Pitrou authored
-
Mark Dickinson authored
-
Stefan Krah authored
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Martin v. Löwis authored
-
Hynek Schlawack authored
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.
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-