summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* call_find_module() handles dup() failure: raise an OSError exceptionVictor Stinner2011-06-201-0/+4
|
* find_module_path_list() fails if _Py_fopen() failed and raised an exceptionVictor Stinner2011-06-201-0/+4
| | | | (UnicodeEncodeError).
* Issue #6697: _lsprof: normalizeUserObj() doesn't encode/decode (UTF-8) theVictor Stinner2011-06-201-26/+19
| | | | | | | | module name anymore, only work on unicode strings. Therefore it doesn't truncate module names with embedded NUL characters, or fail if the module name contains surrogate characters (UTF-8 encoder fails on a surrogate character). Patch written by Alexander Belopolsky.
* calculate_path() decodes the PYTHONPATH environment variable from the localeVictor Stinner2011-06-201-7/+9
| | | | | | encoding using _Py_char2wchar() instead of mbstowcs() to store undecodable bytes as surrogates characters (PEP 383) instead of ignoring silently the PYTHONPATH variable.
* merge from 3.2Senthil Kumaran2011-06-201-2/+2
|\
| * Fix closes issue 12360 - correcting parameter names in asyncore documentation.Senthil Kumaran2011-06-201-2/+2
| |
* | merge headsBenjamin Peterson2011-06-200-0/+0
|\ \
| * \ merge headsSenthil Kumaran2011-06-205-10/+26
| |\ \
| * \ \ outstanding merge with 3.2Senthil Kumaran2011-06-200-0/+0
| |\ \ \ | | | |/ | | |/|
| | * | minor space nit.Senthil Kumaran2011-06-201-1/+1
| | | |
* | | | bump magic for super closure changeBenjamin Peterson2011-06-201-1/+2
| |_|/ |/| |
* | | merge headsBenjamin Peterson2011-06-202-8/+20
|\ \ \ | |/ /
| * | merge from 3.2. Issue 12359Senthil Kumaran2011-06-201-7/+8
| |\ \ | | |/
| | * Fix closes Issue12359 - Minor update to module import description.Senthil Kumaran2011-06-201-7/+8
| | |
| * | merge from 3.2Senthil Kumaran2011-06-201-1/+1
| |\ \ | | |/
| | * Whitespace nit fixed using reident.Senthil Kumaran2011-06-191-1/+1
| | |
| * | merge from 3.2. Updates to http.client documentation.Senthil Kumaran2011-06-191-1/+12
| |\ \ | | |/
| | * Fix closes Issue12315 - Updates to http.client documentation.Senthil Kumaran2011-06-191-1/+12
| | |
* | | use a invalid name for the __class__ closure for super() (closes #12370)Benjamin Peterson2011-06-205-10/+26
|/ / | | | | | | | | This prevents the assignment of __class__ in the class body from breaking super. (Although a determined person could do locals()["@__class__"] = 4)
* | merge 3.2Benjamin Peterson2011-06-191-7/+7
|\ \ | |/
| * fix uglyNamingConventionBenjamin Peterson2011-06-191-7/+7
| |
* | remove duplicate -IBenjamin Peterson2011-06-191-1/+1
| |
* | merge from 3.2Senthil Kumaran2011-06-191-2/+2
|\ \ | |/
| * merge from 3.1 for issue issue12261.Senthil Kumaran2011-06-191-2/+2
| |\
| | * Fix closes issue12261 - Minor documention changes in the urllib.parse.rstSenthil Kumaran2011-06-191-2/+2
| | |
* | | Improve documentation of packaging hooksÉric Araujo2011-06-192-22/+36
| | |
* | | packaging: Add the project directory to sys.path to support local setup hooks.Éric Araujo2011-06-193-11/+39
| | | | | | | | | | | | Original patch by Vinay Sajip on #11637.
* | | Add missing documentation for packaging.pypi.base and .simpleÉric Araujo2011-06-192-13/+95
| | |
* | | Fix typoÉric Araujo2011-06-192-2/+2
| | |
* | | merge headsBenjamin Peterson2011-06-1911-96/+118
|\ \ \
| * | | faulthandler doc: the the => theVictor Stinner2011-06-191-1/+1
| | | |
| * | | ACKS update for devguide patch (closes #12278)Nick Coghlan2011-06-191-0/+1
| | | |
| * | | #6771: Move wrapper function into __init__ and eliminate wrapper moduleR David Murray2011-06-193-51/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Andrew agreed in the issue that eliminating the module file made sense. Wrapper has only been exposed as a function, and so there is no (easy) way to access the wrapper module, which in any case only had the one function in it. Since __init__ already contains a couple wrapper functions, it seems to make sense to just move wrapper there instead of importing it from a single function module.
| * | | merge #6771: fix docs: curses.wrapper is exposed as a function, not a moduleR David Murray2011-06-181-33/+13
| |\ \ \ | | |/ /
| | * | #6771: fix docs: curses.wrapper is exposed as a function, not a moduleR David Murray2011-06-181-33/+13
| | | | | | | | | | | | | | | | Patch by July Tikhonov.
| * | | merge #11584: make Header and make_header handle binary unknown-8bit inputR David Murray2011-06-183-2/+21
| |\ \ \ | | |/ /
| | * | #11584: make Header and make_header handle binary unknown-8bit inputR David Murray2011-06-183-2/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Analogous to the decode_header fix, this fix makes Header.append and make_header correctly handle the unknown-8bit charset introduced by email5.1, when the input to them is binary strings. Previous to this fix the make_header(decode_header(x)) == x invariant was broken in the face of the unknown-8bit charset.
| * | | merge #11584: make decode_header handle Header objects correctlyR David Murray2011-06-183-4/+8
| |\ \ \ | | |/ / | | | | | | | | | | | | This updates 12e39cd7a0e4 (merge of b21fdfa0019c), which fixed this bug incorrectly.
| | * | #11584: make decode_header handle Header objects correctlyR David Murray2011-06-183-4/+8
| | | | | | | | | | | | | | | | This updates b21fdfa0019c, which fixed this bug incorrectly.
| * | | #11781: update windows build script to account for move of email testsR David Murray2011-06-181-2/+2
| | | |
| * | | merge #11700: proxy object close methods can now be called multiple timesR David Murray2011-06-183-5/+25
| |\ \ \ | | |/ /
| | * | #11700: proxy object close methods can now be called multiple timesR David Murray2011-06-183-5/+25
| | | | | | | | | | | | | | | | This makes them work like the close provided by regular file objects.
* | | | clarifyBenjamin Peterson2011-06-191-6/+6
|/ / /
* | | edit and rewriteBenjamin Peterson2011-06-181-40/+45
| | |
* | | Make decorators used in packaging preserve docstringsÉric Araujo2011-06-171-5/+7
| | |
* | | Brange mergeÉric Araujo2011-06-173-2/+37
|\ \ \
| * \ \ merge #11767: use context manager to close file in __getitem__ to prevent FD ↵R David Murray2011-06-173-2/+37
| |\ \ \ | | |/ / | | | | | | | | leak
| | * | #11767: use context manager to close file in __getitem__ to prevent FD leakR David Murray2011-06-173-2/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All of the other methods in mailbox that create message objects take care to close the file descriptors they use, so it seems to make sense to have __getitem__ do so as well. Patch by Filip Gruszczyński.
* | | | Brange mergeÉric Araujo2011-06-1716-147/+123
|\ \ \ \ | |/ / / |/| | |
| * | | Minor tweaks to packaging tests.Éric Araujo2011-06-173-34/+28
| | | | | | | | | | | | | | | | | | | | | | | | - Move a tearDown method right after setUp - Use assertRaises instead of reinventing it - Skip a test instead of commenting it out, as a reminder