Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace PyUnicodeObject type by PyObject | Victor Stinner | 2011-11-03 | 3 | -148/+133 |
| | | | | | * _PyUnicode_CheckConsistency() now takes a PyObject* instead of void* * Remove now useless casts to PyObject* | ||||
* | Cleanup decode_code_page_stateful() and encode_code_page() | Victor Stinner | 2011-11-03 | 2 | -111/+78 |
| | | | | | | * Fix decode_code_page_errors() result * Inline decode_code_page() and encode_code_page_chunk() * Replace the PyUnicodeObject type by PyObject | ||||
* | Oversight in previous commit for test_pep277. | Florent Xicluna | 2011-11-03 | 1 | -1/+1 |
| | |||||
* | Use PEP-3151 exceptions for test_pep277. | Florent Xicluna | 2011-11-03 | 1 | -20/+22 |
| | |||||
* | Adapt the code page encoder to the new unicode_encode_call_errorhandler() | Victor Stinner | 2011-11-03 | 1 | -34/+50 |
| | | | | The code is not correct, but at least it doesn't crash anymore. | ||||
* | (Merge 3.2) Issue #10570: curses.putp() is now expecting a byte string, instead | Victor Stinner | 2011-11-03 | 3 | -4/+6 |
|\ | | | | | | | | | | | | | of a Unicode string. This is an incompatible change, but putp() is used to emit terminfo commands, which are bytes strings, not Unicode strings. | ||||
| * | Issue #10570: curses.putp() is now expecting a byte string, instead of a | Victor Stinner | 2011-11-03 | 3 | -4/+6 |
| | | | | | | | | | | | | | | Unicode string. This is an incompatible change, but putp() is used to emit terminfo commands, which are bytes strings, not Unicode strings. | ||||
* | | Merge 3.2 | Éric Araujo | 2011-11-03 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Branch merge | Éric Araujo | 2011-11-03 | 12 | -94/+138 |
| |\ | |||||
| | * | Avoid relying on the default reST role in logging library doc | Éric Araujo | 2011-11-03 | 1 | -4/+4 |
| | | | |||||
| | * | Fix incorrect docstring I changed a while back. | Éric Araujo | 2011-11-03 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | New wording is taken straight from the PEP, so this time should be good :) | ||||
* | | | Branch merge | Éric Araujo | 2011-11-03 | 27 | -289/+330 |
|\ \ \ | |||||
| * | | | Actually check the contents of the file created by packaging’s bdist_dumb | Éric Araujo | 2011-11-03 | 1 | -4/+13 |
| | | | | |||||
| * | | | Merge follow-up for #11254 and other changes from 3.2 | Éric Araujo | 2011-11-03 | 10 | -89/+134 |
| |\ \ \ | | | |/ | | |/| | |||||
| | * | | More fixes for PEP 3147 compliance in distutils (#11254) | Éric Araujo | 2011-11-03 | 5 | -60/+95 |
| | | | | |||||
| | * | | Add signatures to the docstring of functions added to imp by PEP 3147 | Éric Araujo | 2011-11-03 | 1 | -2/+4 |
| | | | | |||||
| | * | | State explicitely that PYTHONDONTWRITEBYTECODE is equivalent to -B | Éric Araujo | 2011-11-03 | 1 | -1/+2 |
| | | | | |||||
| | * | | Fix typo | Éric Araujo | 2011-11-02 | 1 | -1/+1 |
| | | | | |||||
| | * | | Cleanups in distutils tests. | Éric Araujo | 2011-11-02 | 3 | -25/+32 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Actually check the contents of the file created by bdist_dumb. - Don’t use “RECORD” as filename for non-PEP 376 record file - Don’t start method name with “_test”, it smells like a disabled test method instead of an helper method - Fix some idioms (assertIn, addCleanup) | ||||
| * | | | Improve byte-compilation in packaging to be independent of -O or -B. | Éric Araujo | 2011-11-03 | 13 | -162/+151 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The code I fixed to comply with PEP 3147 still had one bug: When run under python -O, some paths for pyc files would be pyo, because I called imp.cache_from_source without explicit debug_override argument in some places, and under -O that would return .pyo (this is well explained in the imp docs). Now all code (util.byte_compile, build_py, install_lib) can create .pyo files according to options given by users, without interference from the calling Python’s own optimize mode. On a related topic, I also removed the code that prevented byte compilation under python -B. The rationale is that packaging gives control over the creation of pyc files to the user with its own explicit option, and the behavior should not be changed if the calling Python happens to run with -B for whatever reason. I will argue that this is a bug fix and ask to be allowed to backport this change to distutils. Finally, I moved one nugget of information about the --compile and --optimize options from the source into the doc. It clears up a misunderstanding that I (and maybe other people) had. | ||||
| * | | | Minor code reorganization in one packaging test file | Éric Araujo | 2011-11-02 | 1 | -27/+25 |
| | | | | |||||
| * | | | Fix typo “seperate” | Éric Araujo | 2011-11-02 | 3 | -3/+3 |
| | | | | |||||
| * | | | Fix typos in recent NEWS entries | Éric Araujo | 2011-11-02 | 1 | -4/+5 |
| | | | | |||||
* | | | | Issue #13307: fix bdist_rpm test failures | Antoine Pitrou | 2011-11-03 | 2 | -5/+6 |
|\ \ \ \ | | |_|/ | |/| | | |||||
| * | | | Issue #13307: fix bdist_rpm test failures | Antoine Pitrou | 2011-11-03 | 2 | -5/+6 |
| | | | | |||||
* | | | | (Merge 3.2) Issue #10570: curses.tigetstr() is now expecting a byte string, | Victor Stinner | 2011-11-02 | 4 | -3/+11 |
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | instead of a Unicode string. This is an incompatible change, but the previous behaviour was completly wrong. | ||||
| * | | | Issue #10570: curses.tigetstr() is now expecting a byte string, instead of a | Victor Stinner | 2011-11-02 | 4 | -3/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | Unicode string. This is an incompatible change, but the previous behaviour was completly wrong. | ||||
* | | | | Fix a compile error (apparently Windows only) introduced in 295fdfd4f422 | Brian Curtin | 2011-11-02 | 1 | -2/+3 |
| | | | | |||||
* | | | | test_asyncore: Actually try to received OOB data. | Charles-François Natali | 2011-11-02 | 1 | -0/+1 |
| | | | | |||||
* | | | | Issue #13308: Fix test_httpservers failures when run as root. | Charles-François Natali | 2011-11-02 | 1 | -2/+6 |
|\ \ \ \ | |/ / / | |||||
| * | | | Issue #13308: Fix test_httpservers failures when run as root. | Charles-François Natali | 2011-11-02 | 1 | -2/+6 |
| | |/ | |/| | |||||
* | | | Issue #13324: fcntlmodule: Add the F_NOCACHE flag. Patch by Alex Stewart. | Charles-François Natali | 2011-11-02 | 2 | -1/+5 |
| | | | |||||
* | | | #13295: http.server now produces valid HTML 4.01 strict. | Ezio Melotti | 2011-11-02 | 2 | -8/+16 |
| | | | |||||
* | | | Port UCS1 and charmap codecs to new API. | Martin v. Löwis | 2011-11-02 | 3 | -89/+134 |
| |/ |/| | |||||
* | | Introduce PyObject* API for raising encode errors. | Martin v. Löwis | 2011-11-02 | 1 | -3/+49 |
| | | |||||
* | | Issue #13312: skip the failing negative years for now. | Florent Xicluna | 2011-11-02 | 1 | -3/+4 |
| | | |||||
* | | Actually, there's more than one failing value. (changeset 9cb1b85237a9, ↵ | Florent Xicluna | 2011-11-02 | 1 | -2/+3 |
| | | | | | | | | issue #13312). | ||||
* | | Issue #13312: skip the single failing value for now. | Florent Xicluna | 2011-11-02 | 1 | -1/+3 |
| | | |||||
* | | Replace Py_UNICODE_strchr with PyUnicode_FindChar. | Martin v. Löwis | 2011-11-01 | 1 | -6/+3 |
| | | |||||
* | | Additional tests for negative years. | Florent Xicluna | 2011-11-01 | 1 | -0/+2 |
| | | |||||
* | | Merge 3.2: issue #2892 | Florent Xicluna | 2011-11-01 | 4 | -30/+49 |
|\ \ | |/ | |||||
| * | Closes #2892: preserve iterparse events in case of SyntaxError. | Florent Xicluna | 2011-11-01 | 4 | -30/+49 |
| | | |||||
* | | Merge test improvements from 3.2. | Ezio Melotti | 2011-11-01 | 1 | -17/+19 |
|\ \ | |/ | |||||
| * | Make sure that the tolerant parser still parses valid HTML correctly. | Ezio Melotti | 2011-11-01 | 1 | -17/+19 |
| | | |||||
* | | Lowercase the test name, to run last. | Florent Xicluna | 2011-11-01 | 1 | -4/+3 |
| | | |||||
* | | Replace temporary tests with the real test case for issue #13309 on Gentoo. | Florent Xicluna | 2011-11-01 | 1 | -7/+9 |
| | | |||||
* | | 'HTTPSHandler' and not the type. | Senthil Kumaran | 2011-11-01 | 1 | -1/+1 |
| | | |||||
* | | Append HTTPSHandler to __all__ when it is available. | Senthil Kumaran | 2011-11-01 | 1 | -0/+2 |
| | | |||||
* | | issue13287 - Define __all__ for urllib.request and urllib.error and expose only | Senthil Kumaran | 2011-11-01 | 4 | -18/+40 |
| | | | | | | | | the relevant module. Other cleanup improvements. Patch by flox. | ||||
* | | Troubleshoot issue #13309 on Gentoo buildbot. | Florent Xicluna | 2011-11-01 | 1 | -2/+4 |
| | |