summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* Issue #8850: Remove "w" and "w#" formats from PyArg_Parse*() functions, useVictor Stinner2010-06-251-0/+3
| | | | "w*" format instead. Add tests for "w*" format.
* Issue #8682: The ssl module now temporary increments the reference count ofAntoine Pitrou2010-06-241-0/+4
| | | | | a socket object got through `PyWeakref_GetObject`, so as to avoid possible deallocation while the object is still being used.
* Issue #8949: "z" format of PyArg_Parse*() functions doesn't accept bytesVictor Stinner2010-06-241-0/+3
| | | | objects, as described in the documentation.
* Merged revisions 82157 via svnmerge fromBenjamin Peterson2010-06-221-0/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82157 | benjamin.peterson | 2010-06-22 14:16:37 -0500 (Tue, 22 Jun 2010) | 1 line remove INT_MAX assertions; they can fail with large Py_ssize_t #9058 ........
* Merged revisions 82130 via svnmerge fromBenjamin Peterson2010-06-211-0/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82130 | benjamin.peterson | 2010-06-21 10:27:46 -0500 (Mon, 21 Jun 2010) | 1 line fix finding visual studio 2008 on 64 bit #8854 ........
* Issue #9005: Prevent utctimetuple() from producing year 0 or year 10,000.Alexander Belopolsky2010-06-211-0/+5
|
* Revert r82089. Commit was intended for a branch.Jean-Paul Calderone2010-06-191-5/+0
|
* merge forward from the python 2.x branchJean-Paul Calderone2010-06-191-0/+5
|
* Fix Issue1368368 - prompt_user_passwd() in FancyURLopener masks 401 ↵Senthil Kumaran2010-06-181-0/+4
| | | | Unauthorized error page
* Issue #6543: Mention the author of the patch, Amaury Forgeot d'ArcVictor Stinner2010-06-171-1/+2
|
* Issue #6543: Write the traceback in the terminal encoding instead of utf-8.Victor Stinner2010-06-171-0/+3
| | | | | | Fix the encoding of the modules filename. Reindent also traceback.h, just because I hate tabs :-)
* Issue #8203: Fix IDLE Credits dialog: view_file() uses its encoding argument.Victor Stinner2010-06-171-0/+2
|
* Issue #6641: The datetime.strptime method now supports the %z directive.Alexander Belopolsky2010-06-171-0/+8
|
* Issue #9011: Remove buggy and unnecessary ST->AST compilation codeMark Dickinson2010-06-171-0/+5
| | | | | | | dealing with unary minus applied to a constant. The removed code was mutating the ST, causing a second compilation to fail. (The peephole optimizer already takes care of optimizing this case, so there's no lost optimization opportunity here.)
* Merged revisions 82039 via svnmerge fromR. David Murray2010-06-171-0/+3
| | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82039 | r.david.murray | 2010-06-16 21:36:52 -0400 (Wed, 16 Jun 2010) | 10 lines #8720: fix inspect regression by teaching getsourcefile about linecache. The fix for issue 4050 caused a regression: before that fix, source lines in the linecache would eventually be found by inspect. After the fix inspect reports an error earlier, and the source isn't found. The fix for the fix is to have getsourcefile look in the linecache for the file and return the psuedo-filename if the source is there, just as it already returns it if there is a PEP 302 loader. ........
* Issue #850997: Oops, I forgot the author of the patch: Mark HammondVictor Stinner2010-06-161-1/+1
|
* Issue #850997: mbcs encoding (Windows only) handles errors argument: strictVictor Stinner2010-06-161-0/+5
| | | | | mode raises unicode errors. The encoder only supports "strict" and "replace" error handlers, the decoder only supports "strict" and "ignore" error handlers.
* Merged revisions 81675 via svnmerge fromR. David Murray2010-06-161-0/+3
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81675 | r.david.murray | 2010-06-03 11:43:20 -0400 (Thu, 03 Jun 2010) | 10 lines #5610: use \Z not $ so we don't eat extra chars when body part ends with \r\n. If a body part ended with \r\n, feedparser, using '$' to terminate its search for the newline, would match on the \r\n, and think that it needed to strip two characters in order to account for the line end before the boundary. That made it chop one too many characters off the end of the body part. Using \Z makes the match correct. Patch and test by Tony Nelson. ........
* Issue #5094: The ``datetime`` module now has a simple concrete classAlexander Belopolsky2010-06-142-0/+9
| | | | implementing ``datetime.tzinfo`` interface.
* Issue #8592: PyArg_Parse*() functions raise a TypeError for "y", "u" and "Z"Victor Stinner2010-06-131-0/+4
| | | | | formats if the string contains a null byte/character. Write unit tests for string formats.
* Merged revisions 81971 via svnmerge fromMark Dickinson2010-06-131-0/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81971 | mark.dickinson | 2010-06-13 13:01:34 +0100 (Sun, 13 Jun 2010) | 1 line Ezio Melotti was missing from Misc/ACKS. ........
* Merged revisions 81969 via svnmerge fromMark Dickinson2010-06-131-0/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81969 | mark.dickinson | 2010-06-13 12:07:00 +0100 (Sun, 13 Jun 2010) | 1 line Add Éric Araujo to Misc/ACKS for doc work and many patch and commit reviews. ........
* Merged revisions 81967 via svnmerge fromMark Dickinson2010-06-132-0/+4
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81967 | mark.dickinson | 2010-06-13 11:50:29 +0100 (Sun, 13 Jun 2010) | 4 lines Issue #8986: erfc was raising OverflowError on Linux for arguments in the (approximate) range (-27.3, 30.0), as a result of an escaped errno value. ........
* Added acknowlegement for Issue #3129Alexander Belopolsky2010-06-122-2/+3
|
* Issue #8973: Add __all__ to struct module, so that help(struct) correctlyMark Dickinson2010-06-121-0/+3
| | | | displays information for the struct.Struct class.
* Merged revisions 80578 via svnmerge fromNick Coghlan2010-06-122-0/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80578 | nick.coghlan | 2010-04-29 00:29:06 +1000 (Thu, 29 Apr 2010) | 1 line Issue 7490: make IGNORE_EXCEPTION_DETAIL also ignore details of the module containing the exception under test (original patch by Lennart Regebro) ........
* Issue #8969: On Windows, use mbcs codec in strict mode to encode and decodeVictor Stinner2010-06-111-0/+3
| | | | filenames and enable os.fsencode().
* Issue #8784: Set tarfile default encoding to 'utf-8' on Windows.Victor Stinner2010-06-111-0/+2
| | | | Note: file system encoding cannot be None anymore (since r81190, issue #8610).
* Issue #8966: If a ctypes structure field is an array of c_char, convert itsVictor Stinner2010-06-111-1/+4
| | | | value to bytes instead of str (as done for c_char and c_char_p).
* Merged revisions 81907 via svnmerge fromAntoine Pitrou2010-06-111-0/+4
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81907 | antoine.pitrou | 2010-06-11 23:42:26 +0200 (ven., 11 juin 2010) | 5 lines Issue #8941: decoding big endian UTF-32 data in UCS-2 builds could crash the interpreter with characters outside the Basic Multilingual Plane (higher than 0x10000). ........
* Issue #3129: Trailing digits in format string are no longer ignored.Alexander Belopolsky2010-06-111-0/+4
|
* Fix issue number typo.Mark Dickinson2010-06-111-2/+2
|
* Issue #8188: Comparisons between Decimal objects and other numericMark Dickinson2010-06-111-1/+9
| | | | objects (Fraction, float, complex, int) now all function as expected.
* Issue #8950: Make PyArg_Parse* with 'L' code raise for float inputs,Mark Dickinson2010-06-101-0/+5
| | | | | instead of warning. This makes it consistent with the other integer codes.
* Issue #8922: Normalize the encoding name in PyUnicode_AsEncodedString() toVictor Stinner2010-06-101-0/+4
| | | | | enable shortcuts for upper case encoding name. Add also a shortcut for "iso-8859-1" in PyUnicode_AsEncodedString() and PyUnicode_Decode().
* Issue #8838, #8339: Remove codecs.charbuffer_encode() and "t#" parsing formatVictor Stinner2010-06-081-0/+7
| | | | | Remove last references to the "char buffer" of the buffer protocol from Python3.
* Added myself as a maintainer of time and datetime modules.Alexander Belopolsky2010-06-081-2/+2
|
* Merged revisions 81834 via svnmerge fromBenjamin Peterson2010-06-081-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81834 | benjamin.peterson | 2010-06-08 09:53:29 -0500 (Tue, 08 Jun 2010) | 1 line kill extra word ........
* Add note for r81830.Stefan Krah2010-06-081-0/+4
|
* Merged revisions 81820 via svnmerge fromBenjamin Peterson2010-06-071-0/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81820 | benjamin.peterson | 2010-06-07 17:23:23 -0500 (Mon, 07 Jun 2010) | 1 line correctly overflow when indexes are too large ........
* Issue #8897: Fix sunau module, use bytes to write the header. Patch written byVictor Stinner2010-06-072-0/+4
| | | | Thomas Jollans.
* Merged revisions 81788 via svnmerge fromTarek Ziadé2010-06-061-0/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81788 | tarek.ziade | 2010-06-06 22:05:20 +0200 (Sun, 06 Jun 2010) | 1 line Fixed #8909: now the doc details the size of the bitmap used in distutils' bdist_wininst ........
* Merged revisions 81756 via svnmerge fromAlexander Belopolsky2010-06-051-0/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81756 | alexander.belopolsky | 2010-06-05 10:54:26 -0400 (Sat, 05 Jun 2010) | 1 line Issue #8899: time.struct_time now has class and atribute docstrings. ........
* Merged revisions 81701 via svnmerge fromMartin v. Löwis2010-06-041-0/+2
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81701 | martin.v.loewis | 2010-06-04 21:39:07 +0200 (Fr, 04 Jun 2010) | 2 lines Issue #6470: Drop UNC prefix in FixTk.py Patch by Christop Gohlke and Amaury Forgeot d'Arc. ........
* Merged revisions 81697 via svnmerge fromMartin v. Löwis2010-06-041-0/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81697 | martin.v.loewis | 2010-06-04 20:04:42 +0200 (Fr, 04 Jun 2010) | 2 lines Issue #5464: Implement plural forms in msgfmt.py. ........
* Merged revisions 81692 via svnmerge fromMartin v. Löwis2010-06-041-1/+2
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81692 | martin.v.loewis | 2010-06-04 19:18:42 +0200 (Fr, 04 Jun 2010) | 3 lines Issue #8864: Define _XOPEN_SOURCE on Solaris for the multiprocessing module. ........
* #4768: store base64 encoded email body parts as text, not binary.R. David Murray2010-06-042-0/+4
| | | | Patch and tests by Forest Bond.
* Merged revisions 81663 via svnmerge fromLars Gustäbel2010-06-031-0/+3
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81663 | lars.gustaebel | 2010-06-03 11:56:22 +0200 (Thu, 03 Jun 2010) | 4 lines Issue #8833: tarfile created hard link entries with a size field != 0 by mistake. The associated testcase did not expose this bug because it was broken too. ........
* Fix Charset.body_encode to encode to output_charset before calling base64mime.R. David Murray2010-06-031-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | This means that what gets encoded in base64 is the encoded version of the unicode payload. This bug was revealed by a forward port of the tests from Issue 1368247, but the fix was completely different. Note that the merge is only of the tests, the doc changes were inappropriate since email5 expects unicode, not bytes. I'm also not convinced that quopri works correctly in email5, but that's a different issue. Merged revisions 81658 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r81658 | r.david.murray | 2010-06-02 18:03:15 -0400 (Wed, 02 Jun 2010) | 9 lines #1368247: make set_charset/MIMEText automatically encode unicode _payload. Fixes (mysterious, to the end user) UnicodeErrors when using utf-8 as the charset and unicode as the _text argument. Also makes the way in which unicode gets encoded to quoted printable for other charsets more sane (it only worked by accident previously). The _payload now is encoded to the charset.output_charset if it is unicode. ........
* #8845: expose sqlite3 inTransaction as RO in_transaction Connection attribute.R. David Murray2010-06-012-0/+4
| | | | Patch by R. David Murray, unit tests by Shashwat Anand.