Commit Graph

4505 Commits

Author SHA1 Message Date
Victor Stinner 58c0752a33 Issue #10335: Add tokenize.open(), detect the file encoding using
tokenize.detect_encoding() and open it in read only mode.
2010-11-09 01:08:59 +00:00
Éric Araujo 0cfba09b09 This was actually fixed for the previous alpha. 2010-11-08 21:48:23 +00:00
Éric Araujo 551f02ca63 Add missing NEWS entry for a fix committed by Senthil.
All recent modifications to distutils should now be covered in NEWS.
2010-11-08 18:15:17 +00:00
R. David Murray 7dff9e08fb #10321: Add support for sending binary DATA and Message objects to smtplib 2010-11-08 17:15:13 +00:00
Éric Araujo a563392f92 Move a news entry to the right section (+ light reformatting) 2010-11-08 17:13:03 +00:00
Georg Brandl b8bbffd34d Fix next version name. 2010-11-08 16:57:52 +00:00
Brian Curtin ab19bd449a typo: annually->manually
...unless these are commands you only run once a year :)
2010-11-07 22:09:05 +00:00
Sean Reifscheider 9aad7fe456 Removing reference to ftp.python.org and enhancing RPM README. 2010-11-07 21:26:53 +00:00
Victor Stinner 64bc3b28a3 Issue #10329: The trace module writes reports using the input Python script
encoding, instead of the locale encoding. Patch written by Alexander
Belopolsky.
2010-11-07 15:47:36 +00:00
Hirokazu Yamamoto 4ae5f138da Issue #6317: Now winsound.PlaySound only accepts unicode with MvL's approval. 2010-11-07 14:29:26 +00:00
Hirokazu Yamamoto 35adf5dcf1 Changed entry name because it's hard to merge. 2010-11-07 11:32:01 +00:00
Hirokazu Yamamoto c08c9bccfc Issue #6317: Now winsound.PlaySound can accept non ascii filename. 2010-11-07 09:23:15 +00:00
Éric Araujo e7cf954247 Add missing NEWS entries for some of my commits. 2010-11-06 15:01:07 +00:00
Éric Araujo ba7209f0a5 Prevent race condition with mkdir in distutils. Patch by Arfrever on #9281. 2010-11-06 04:48:05 +00:00
Éric Araujo 909ddbd193 Add missing NEWS entry for r86239. 2010-11-06 04:24:00 +00:00
Éric Araujo 89c0478c53 Add missing entry for r86223. 2010-11-05 23:58:34 +00:00
Antoine Pitrou 243757eb79 Issue #10180: Pickling file objects is now explicitly forbidden, since
unpickling them produced nonsensical results.
2010-11-05 21:15:39 +00:00
Antoine Pitrou 39a6591507 Issue #10311: The signal module now restores errno before returning from
its low-level signal handler.  Patch by Hallvard B Furuseth.
2010-11-05 19:47:27 +00:00
Antoine Pitrou a078115434 Issue #10282: Add a `nntp_implementation` attribute to NNTP objects. 2010-11-05 19:16:37 +00:00
David Malcolm 9696088b6d Issue #10288: The deprecated family of "char"-handling macros
(ISLOWER()/ISUPPER()/etc) have now been removed: use Py_ISLOWER() etc
instead.
2010-11-05 17:23:41 +00:00
Antoine Pitrou 08eeadac27 Issue #10283: Add a `group_pattern` argument to NNTP.list(). 2010-11-04 21:36:15 +00:00
Antoine Pitrou 99c4830d0c Issue #3699: Fix test_bigaddrspace and extend it to test bytestrings
as well as unicode strings.  Initial patch by Sandro Tosi.
2010-11-04 20:48:37 +00:00
Antoine Pitrou aeb6ceead7 Issue #10293: Remove obsolete field in the PyMemoryView structure,
unused undocumented value PyBUF_SHADOW, and strangely-looking code in
PyMemoryView_GetContiguous.
2010-11-04 20:30:33 +00:00
Eric Smith 27bbca6f79 Issue #6081: Add str.format_map. str.format_map(mapping) is similar to str.format(**mapping), except mapping does not get converted to a dict. 2010-11-04 17:06:58 +00:00
Phillip J. Eby b6d4a8e4de Implement http://bugs.python.org/issue10155 using And Clover's patch, w/added
docs and support for more client-generated CGI variables.  (This should
complete the WSGI 1.0.1 compliance changes for Python 3.x.)
2010-11-03 22:39:01 +00:00
Antoine Pitrou 7dd1af00ad Issue #10285: explain the `flag` return field better in NNTP.list().
Patch by Julien Élie.
2010-11-03 18:32:54 +00:00
Antoine Pitrou 4103bc09a4 Issue #10281: nntplib now returns None for absent fields in the OVER/XOVER
response, instead of raising an exception.
2010-11-03 18:18:43 +00:00
Georg Brandl 0a9397fcf3 A newline in lineno output breaks pyframe output. 2010-11-03 07:41:00 +00:00
Phillip J. Eby a01799f71a Update docs (and sample app in wsgiref.simple_server) to reflect PEP 3333. 2010-11-03 00:46:45 +00:00
Antoine Pitrou f80b3f72c6 Issue #10280: NNTP.nntp_version should reflect the highest version
advertised by the server.
2010-11-02 22:31:52 +00:00
Brett Cannon ed82ca1078 Ditch some dead code in test_unicode_file.
Closes issue #10294. Thanks Stefan Behnel for the find.
2010-11-02 19:27:59 +00:00
Martin v. Löwis 16f344df36 Issue #10184: Touch directories only once when extracting a tarfile. 2010-11-01 21:39:13 +00:00
Alexander Belopolsky ea13d9d86b Issue #10199: Moved Demo/turtle under Lib/ 2010-11-01 17:39:37 +00:00
Antoine Pitrou 4d98489da3 Issue #10265: Close file objects explicitly in sunau. Patch by Brian Brazil. 2010-10-31 21:27:04 +00:00
Raymond Hettinger 189316a2e3 Issue 10110: Let Queue.put recognize a full queue when the maxsize parameter has been reduced. 2010-10-31 17:57:52 +00:00
Benjamin Peterson 076ed00003 add --enable-loadable-sqlite-extensions #10268 2010-10-31 17:11:02 +00:00
Antoine Pitrou f569826f06 Issue #10266: uu.decode didn't close in_file explicitly when it was given
as a filename.  Patch by Brian Brazil.
2010-10-31 16:04:14 +00:00
Antoine Pitrou e974571d36 Issue #10160: Speed up operator.attrgetter. Patch by Christos Georgiou. 2010-10-31 15:26:04 +00:00
Vinay Sajip 65b4af34d7 Updated NEWS about logging.basicConfig(). 2010-10-31 15:11:43 +00:00
Raymond Hettinger b643ef8f8e Issue #5729: json.dumps to support using '\t' as an indent string 2010-10-31 08:00:16 +00:00
Benjamin Peterson bbb0412ad1 if FileIO.__init__ fails, close fd 2010-10-30 23:16:28 +00:00
Antoine Pitrou 8d2b51b46a Issue #10253: FileIO leaks a file descriptor when trying to open a file
for append that isn't seekable.  Patch by Brian Brazil.
2010-10-30 16:19:14 +00:00
Georg Brandl 6ce29fa7a8 Fix test_mailbox by supporting context manager protocol for get_file() returns. 2010-10-30 14:33:28 +00:00
Antoine Pitrou bfa3470b85 Issue #10246: uu.encode didn't close file objects explicitly when filenames
were given to it.  Patch by Brian Brazil.
2010-10-30 13:03:56 +00:00
Georg Brandl cc2adbc693 #10198: fix duplicate header when writeframes() is called with an empty string. 2010-10-30 08:29:28 +00:00
Raymond Hettinger dd4215483f Issue 10221: Improve error message for dict.pop(). 2010-10-30 08:10:29 +00:00
Brett Cannon 028011f9f0 Silence ResourceWarnings in modulefinder by using file context managers. 2010-10-30 00:26:48 +00:00
Brett Cannon 011057854d Add some missing entries related to the various ResourceWarning fixes I have committed. 2010-10-30 00:18:54 +00:00
Antoine Pitrou e1eca4e3f5 Issue #10233: Close file objects in a timely manner in the tarfile module
and its test suite.
2010-10-29 23:49:49 +00:00
Martin v. Löwis 72f48422e2 Issue #9377: Use Unicode API for gethostname on Windows. 2010-10-29 18:20:08 +00:00