Commit Graph

39203 Commits

Author SHA1 Message Date
Raymond Hettinger bd3da6b980 More updates. 2009-05-15 16:16:12 +00:00
Raymond Hettinger daafea3691 Add examples for ipaddr. 2009-05-15 15:21:33 +00:00
Raymond Hettinger 9dd747692c Update whatsnew for imaplib changes. Move importlib work to end of section. 2009-05-15 14:57:35 +00:00
Raymond Hettinger a18cf7e0bb Simplified the header after discussion with Gregory Smith. 2009-05-15 14:55:32 +00:00
Antoine Pitrou c1d0936d5b Merged revisions 72662 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72662 | antoine.pitrou | 2009-05-15 13:50:29 +0200 (ven., 15 mai 2009) | 3 lines

  Issue #1655: Make imaplib IPv6-capable. Patch by Derek Morr.
........
2009-05-15 12:15:51 +00:00
Collin Winter a5503d5099 Merged revisions 72658 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72658 | collin.winter | 2009-05-14 16:26:30 -0700 (Thu, 14 May 2009) | 1 line

  Issue 6024: make regrtest.py promote refleaks to test failures.
........
2009-05-15 01:20:21 +00:00
Benjamin Peterson 95d78ec302 this statement isn't actually true 2009-05-14 23:31:04 +00:00
Raymond Hettinger 4f20a741eb Bring whatsnew up-to-date as of May 14th. 2009-05-14 23:17:38 +00:00
Raymond Hettinger d48ed2e15d Update whatsnew for NEWS entries through May 5th. 2009-05-14 22:48:19 +00:00
Benjamin Peterson 81971eafbe correctly handle invalid operations on streams (like writing on a non-writable one) 2009-05-14 22:01:31 +00:00
Antoine Pitrou 37d1c18bda Merged revisions 72645 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72645 | antoine.pitrou | 2009-05-14 23:48:09 +0200 (jeu., 14 mai 2009) | 6 lines

  Issue #5918: Fix a crash in the parser module.

  Patch by Amaury.
........
2009-05-14 21:54:00 +00:00
Raymond Hettinger 7c8494b6e2 Fix error in 2-to-3 translation of docs. 2009-05-14 21:48:02 +00:00
Antoine Pitrou 2ca24f022e Merged revisions 72640 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72640 | antoine.pitrou | 2009-05-14 23:22:08 +0200 (jeu., 14 mai 2009) | 5 lines

  Issue #1664: Make nntplib IPv6-capable. Patch by Derek Morr.

  (Unfortunately, nntplib doesn't have a test suite)
........
2009-05-14 21:30:46 +00:00
Tarek Ziadé 4210c6edca Merged revisions 72636 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72636 | tarek.ziade | 2009-05-14 22:14:13 +0200 (Thu, 14 May 2009) | 1 line

  #6022 fixed test_get_outputs so it doesn't leaves a test file in the cwd
........
2009-05-14 20:20:47 +00:00
Antoine Pitrou e450185b4a Issue #5006: Better handling of unicode byte-order marks (BOM) in the io library.
This means, for example, that opening an UTF-16 text file in
append mode doesn't add a BOM at the end of the file if the file isn't
empty.
2009-05-14 18:55:55 +00:00
R. David Murray b565577aa7 Merged revisions 72630 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72630 | r.david.murray | 2009-05-14 12:12:57 -0400 (Thu, 14 May 2009) | 3 lines

  Fix test failure on Windows, and add skip check if even unicodedata
  turns out not to be an external module on some other platform.
........
2009-05-14 16:17:50 +00:00
Raymond Hettinger dbe3449f22 Exercise the doctests. 2009-05-14 16:13:36 +00:00
Raymond Hettinger 168e2fcdcf Convert docstring examples to doctests and fix
any errors that were found.  Add a usage note
to compare_networks() showing how to do the
ordering with modern python.
2009-05-14 15:51:36 +00:00
Raymond Hettinger 9aaef2da4d Suggest how to use compare_networks() with a modern Python. 2009-05-14 15:31:02 +00:00
Tarek Ziadé da0dc2e468 Merged revisions 72624 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72624 | tarek.ziade | 2009-05-14 16:56:14 +0200 (Thu, 14 May 2009) | 1 line

  pep8-fied distutils.command.sdist + more tests
........
2009-05-14 15:21:26 +00:00
Tarek Ziadé 434caaab75 typo 2009-05-14 12:48:09 +00:00
Tarek Ziadé aec039a892 Merged revisions 72618 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72618 | tarek.ziade | 2009-05-14 14:40:59 +0200 (Thu, 14 May 2009) | 1 line

  more test coverage for distutils sdist command
........
2009-05-14 12:45:48 +00:00
Tarek Ziadé 4e3533ee9f Merged revisions 72610,72612 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72610 | tarek.ziade | 2009-05-13 23:30:06 +0200 (Wed, 13 May 2009) | 1 line

  added an inifoo in the C file, to avoid a warning by the MSVC9 linker
........
  r72612 | tarek.ziade | 2009-05-14 00:16:03 +0200 (Thu, 14 May 2009) | 1 line

  adding void to the c function
........
2009-05-13 22:20:49 +00:00
Benjamin Peterson 4487f53fd6 typo 2009-05-13 21:15:03 +00:00
R. David Murray 74b8924eaf This fix makes, eg, 'pydoc time' work again.
Merged revisions 72605 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72605 | r.david.murray | 2009-05-13 13:14:11 -0400 (Wed, 13 May 2009) | 3 lines

  Issue #4050: inspect.findsource/getsource now raise an IOError if the 'source'
  file is a binary.  Patch by Brodie Rao, test by Daniel Diniz.
........
2009-05-13 17:33:03 +00:00
R. David Murray 14b7efa215 Recorded merge of revisions 72601 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72601 | r.david.murray | 2009-05-13 09:07:14 -0400 (Wed, 13 May 2009) | 3 lines

  Move news item to correct section, remove spurious 'see below'
  from docstring.
........
2009-05-13 13:15:06 +00:00
R. David Murray dd226eabe9 Merged revisions 72597 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72597 | r.david.murray | 2009-05-12 20:30:29 -0400 (Tue, 12 May 2009) | 2 lines

  Issue 5994: add docstrings to marshal.
........
2009-05-13 12:27:21 +00:00
Benjamin Peterson 976faf9293 Merged revisions 72593 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72593 | benjamin.peterson | 2009-05-12 16:06:05 -0500 (Tue, 12 May 2009) | 1 line

  the compiler attribute is used in setup.py; can't rename
........
2009-05-12 21:21:26 +00:00
Benjamin Peterson 12f29ffb9f two edits 2009-05-12 20:58:26 +00:00
Benjamin Peterson 4199d603fe add example function 2009-05-12 20:47:57 +00:00
Benjamin Peterson 57512588fa fix error handling of PyNumber_InPlaceOr #6000 2009-05-12 20:39:25 +00:00
Tarek Ziadé ff0e5002ba Merged revisions 72585 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72585 | tarek.ziade | 2009-05-12 19:07:14 +0200 (Tue, 12 May 2009) | 1 line

  fixed #5977: distutils build_ext.get_outputs was not using the inplace option
........
2009-05-12 17:14:01 +00:00
Michael Foord 20b50b1984 Examples correction in urllib2 howto. Michael Foord 2009-05-12 11:19:14 +00:00
Tarek Ziadé da31a3f0c2 Merged revisions 72577 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72577 | tarek.ziade | 2009-05-12 09:01:29 +0200 (Tue, 12 May 2009) | 1 line

  removing the assert statement so the code works when Python is run with -O
........
2009-05-12 07:06:42 +00:00
Benjamin Peterson 3261fa5a6b detach() is a nifty trick for making std* binary 2009-05-12 03:01:51 +00:00
R. David Murray ff85bcac22 Merged revisions 72572 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72572 | r.david.murray | 2009-05-11 21:36:57 -0400 (Mon, 11 May 2009) | 3 lines

  Make it clear up front that shelve only records changes
  when objects are assigned back to it when writeback is False.
........
2009-05-12 01:40:16 +00:00
Mark Dickinson 4eb88b3baa typo: candiate -> candidate 2009-05-11 16:41:34 +00:00
Mark Dickinson d1ec8b2bda Merged revisions 72564 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72564 | mark.dickinson | 2009-05-11 16:33:08 +0100 (Mon, 11 May 2009) | 2 lines

  Issue #5981: Fix some float.fromhex bugs related to inf and nan handling.
........
2009-05-11 15:45:15 +00:00
Tarek Ziadé 3bd31a266b Merged revisions 72560 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72560 | tarek.ziade | 2009-05-11 10:45:17 +0200 (Mon, 11 May 2009) | 1 line

  distutils.test_build_clib added a new line at the end of the file, to avoid a warning with some compilers
........
2009-05-11 08:49:17 +00:00
Brett Cannon 1262e7c746 Tests for case-senstivity were not being skipped for darwin when installed on a
case-sensitive filesystems -- which is not the default case. Along the way also
fixed the skipping of tests when sys.dont_write_bytecode is true.

Closes issue #5442 again.
2009-05-11 01:47:11 +00:00
Benjamin Peterson cc3b8d6883 bytes -> bytearray 2009-05-10 23:43:14 +00:00
Antoine Pitrou a6bb984973 Issue #5990: fix memory leak introduced by PEP 383 commits 2009-05-10 22:27:00 +00:00
Tarek Ziadé b2f073c39b Merged revisions 72552 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72552 | tarek.ziade | 2009-05-10 23:27:55 +0200 (Sun, 10 May 2009) | 1 line

  fixed test_build_ext for win32
........
2009-05-10 21:31:23 +00:00
Tarek Ziadé 2151988f2c Merged revisions 72547 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72547 | tarek.ziade | 2009-05-10 14:36:48 +0200 (Sun, 10 May 2009) | 1 line

  fixed test for all platforms
........
2009-05-10 12:38:16 +00:00
Tarek Ziadé bbf1f18079 Merged revisions 72543 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72543 | tarek.ziade | 2009-05-10 14:17:30 +0200 (Sun, 10 May 2009) | 1 line

  now using EnvironGuard everywhere
........
2009-05-10 12:20:44 +00:00
Tarek Ziadé 29bbb9618d Merged revisions 72539 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72539 | tarek.ziade | 2009-05-10 13:59:30 +0200 (Sun, 10 May 2009) | 1 line

  refactored test_sysconfig so it uses test.test_support.EnvironmentVarGuard
........
2009-05-10 12:02:35 +00:00
Tarek Ziadé c27aca7d3c Merged revisions 72535 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72535 | tarek.ziade | 2009-05-10 13:42:46 +0200 (Sun, 10 May 2009) | 1 line

  Added tests form install_lib and pep8-fied the module
........
2009-05-10 11:45:41 +00:00
Tarek Ziadé 06fbee16dc Merged revisions 72531 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72531 | tarek.ziade | 2009-05-10 12:12:08 +0200 (Sun, 10 May 2009) | 1 line

  fixed #5984 and improved test coverage
........
2009-05-10 10:34:01 +00:00
Martin v. Löwis 54d9d07806 Rename the surrogates handler to surrogatepass. 2009-05-10 09:33:21 +00:00
Martin v. Löwis 43c57785d3 Rename utf8b error handler to surrogateescape. 2009-05-10 08:15:24 +00:00