]> granicus.if.org Git - python/log
python
16 years agostring.maketrans -> str.maketrans
Benjamin Peterson [Sat, 13 Dec 2008 03:03:41 +0000 (03:03 +0000)]
string.maketrans -> str.maketrans

16 years agoMerged revisions 67717 via svnmerge from
Lars Gustäbel [Fri, 12 Dec 2008 14:58:38 +0000 (14:58 +0000)]
Merged revisions 67717 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67717 | lars.gustaebel | 2008-12-12 14:58:03 +0100 (Fri, 12 Dec 2008) | 2 lines

  Issue #4616: TarFile.utime(): Restore directory times on Windows.
........

16 years agorevert r67713. it causes build problems
Benjamin Peterson [Fri, 12 Dec 2008 02:02:24 +0000 (02:02 +0000)]
revert r67713. it causes build problems

16 years agoreuse tokenize.detect_encoding for linecache #4016
Benjamin Peterson [Fri, 12 Dec 2008 01:33:38 +0000 (01:33 +0000)]
reuse tokenize.detect_encoding for linecache #4016

16 years agoraise a SyntaxError in detect_encoding() when a codec lookup fails like the builtin...
Benjamin Peterson [Fri, 12 Dec 2008 01:25:05 +0000 (01:25 +0000)]
raise a SyntaxError in detect_encoding() when a codec lookup fails like the builtin parser #4021

16 years agoMerged revisions 67707 via svnmerge from
Mark Dickinson [Thu, 11 Dec 2008 21:56:00 +0000 (21:56 +0000)]
Merged revisions 67707 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67707 | mark.dickinson | 2008-12-11 19:28:08 +0000 (Thu, 11 Dec 2008) | 5 lines

  Issues #3167, #3682: tests for math.log and math.log10 were failing on
  Solaris and OpenBSD.  Fix this by handling special values and domain
  errors directly in mathmodule.c, passing only positive nonspecial floats
  to the system log/log10.
........

16 years agoIssue #2173: fix build failure on OS X. device_encoding was returning an
Mark Dickinson [Thu, 11 Dec 2008 18:03:03 +0000 (18:03 +0000)]
Issue #2173:  fix build failure on OS X.  device_encoding was returning an
empty string, causing an (invisible) LookupError on any attempt to write
to sys.stdout.

16 years agoBlocked revisions 67694 via svnmerge
Mark Dickinson [Thu, 11 Dec 2008 09:22:25 +0000 (09:22 +0000)]
Blocked revisions 67694 via svnmerge

........
  r67694 | facundo.batista | 2008-12-11 04:19:46 +0000 (Thu, 11 Dec 2008) | 6 lines

  Issue #4084: Fix max, min, max_mag and min_mag Decimal methods to
  give correct results in the case where one argument is a quiet NaN
  and the other is a finite number that requires rounding.
  Thanks Mark Dickinson.
........

16 years agoMerged revisions 67666,67685 via svnmerge from
Jeffrey Yasskin [Thu, 11 Dec 2008 06:18:33 +0000 (06:18 +0000)]
Merged revisions 67666,67685 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67666 | jeffrey.yasskin | 2008-12-08 10:55:24 -0800 (Mon, 08 Dec 2008) | 3 lines

  Issue 4597: Fix several cases in EvalFrameEx where an exception could be
  "raised" without setting x, err, or why to let the eval loop know.
........
  r67685 | jeffrey.yasskin | 2008-12-09 23:35:02 -0800 (Tue, 09 Dec 2008) | 2 lines

  Update Misc/NEWS for r67666.
........

16 years agoIssue #4084: Fix max, min, max_mag and min_mag Decimal methods to
Facundo Batista [Thu, 11 Dec 2008 04:20:07 +0000 (04:20 +0000)]
Issue #4084: Fix max, min, max_mag and min_mag Decimal methods to
give correct results in the case where one argument is a quiet NaN
and the other is a finite number that requires rounding.
Thanks Mark Dickinson.

16 years agoMerged revisions 67688 via svnmerge from
Amaury Forgeot d'Arc [Wed, 10 Dec 2008 23:49:33 +0000 (23:49 +0000)]
Merged revisions 67688 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67688 | amaury.forgeotdarc | 2008-12-11 00:22:49 +0100 (jeu., 11 déc. 2008) | 6 lines

  #4559: When a context manager's __exit__() method returns an object whose
  conversion to bool raises an exception, 'with' loses that exception.

  Reviewed by Jeffrey Yasskin.
  Already ported to 2.5, will port to 2.6 and 3.0
........

16 years agosimplify imports
Fred Drake [Wed, 10 Dec 2008 06:02:39 +0000 (06:02 +0000)]
simplify imports

16 years ago#4592: fix embedding example with new C API changes.
Georg Brandl [Tue, 9 Dec 2008 23:48:44 +0000 (23:48 +0000)]
#4592: fix embedding example with new C API changes.

16 years agoAdd UUIDs for 3.0.1 and 3.0.2.
Martin v. Löwis [Mon, 8 Dec 2008 11:23:22 +0000 (11:23 +0000)]
Add UUIDs for 3.0.1 and 3.0.2.

16 years agoMerged revisions 67658-67659 via svnmerge from
Martin v. Löwis [Mon, 8 Dec 2008 11:19:42 +0000 (11:19 +0000)]
Merged revisions 67658-67659 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67658 | martin.v.loewis | 2008-12-08 12:14:57 +0100 (Mo, 08 Dez 2008) | 1 line

  Add UUIDs for 2.6.1 and 2.6.2.
........
  r67659 | martin.v.loewis | 2008-12-08 12:15:35 +0100 (Mo, 08 Dez 2008) | 1 line

  Consider micro version for name of CHM file.
........

16 years ago#4586: fix usage of Py_InitModule.
Georg Brandl [Sun, 7 Dec 2008 22:45:56 +0000 (22:45 +0000)]
#4586: fix usage of Py_InitModule.

16 years agoRemove unnecessary import
Neal Norwitz [Sun, 7 Dec 2008 22:42:03 +0000 (22:42 +0000)]
Remove unnecessary import

16 years agoIssue #4569: Interpreter crash when mutating a memoryview with an item size larger...
Antoine Pitrou [Sun, 7 Dec 2008 20:14:49 +0000 (20:14 +0000)]
Issue #4569: Interpreter crash when mutating a memoryview with an item size larger than 1.

(together with a bit of reindenting)

16 years agoMerged revisions 67511,67536-67537,67543 via svnmerge from
Georg Brandl [Sun, 7 Dec 2008 15:30:06 +0000 (15:30 +0000)]
Merged revisions 67511,67536-67537,67543 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67511 | vinay.sajip | 2008-12-04 00:22:58 +0100 (Thu, 04 Dec 2008) | 1 line

  Issue #4384: Added logging integration with warnings module using captureWarnings(). This change includes a NullHandler which does nothing; it will be of use to library developers who want to avoid the "No handlers could be found for logger XXX" message which can appear if the library user doesn't configure logging.
........
  r67536 | gregory.p.smith | 2008-12-04 21:21:09 +0100 (Thu, 04 Dec 2008) | 3 lines

  Adds a subprocess.check_call_output() function to return the output from a
  process on success or raise an exception on error.
........
  r67537 | vinay.sajip | 2008-12-04 21:32:18 +0100 (Thu, 04 Dec 2008) | 1 line

  Took Nick Coghlan's advice about importing warnings globally in logging, to avoid the possibility of race conditions: "This could deadlock if a thread spawned as a side effect of importing a module happens to trigger a warning. warnings is pulled into sys.modules as part of the interpreter startup - having a global 'import warnings' shouldn't have any real effect on logging's import time."
........
  r67543 | gregory.p.smith | 2008-12-05 03:27:01 +0100 (Fri, 05 Dec 2008) | 2 lines

  rename the new check_call_output to check_output.  its less ugly.
........

16 years agoForward-port r67624 and r67627.
Georg Brandl [Sun, 7 Dec 2008 15:17:53 +0000 (15:17 +0000)]
Forward-port r67624 and r67627.

16 years agoBlocked revisions 67614 via svnmerge
Georg Brandl [Sun, 7 Dec 2008 15:15:46 +0000 (15:15 +0000)]
Blocked revisions 67614 via svnmerge

........
  r67614 | skip.montanaro | 2008-12-06 18:43:30 +0100 (Sat, 06 Dec 2008) | 2 lines

  issue 4483 - dbm build failures on systems with gdbm_compat lib.
........

16 years agoMerged revisions 67463,67572,67576,67628 via svnmerge from
Georg Brandl [Sun, 7 Dec 2008 15:15:22 +0000 (15:15 +0000)]
Merged revisions 67463,67572,67576,67628 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67463 | skip.montanaro | 2008-12-01 02:55:22 +0100 (Mon, 01 Dec 2008) | 1 line

  typo in comment
........
  r67572 | georg.brandl | 2008-12-05 10:23:14 +0100 (Fri, 05 Dec 2008) | 2 lines

  #4458: recognize "-" as an argument, not a malformed option in gnu_getopt().
........
  r67576 | georg.brandl | 2008-12-05 13:09:41 +0100 (Fri, 05 Dec 2008) | 2 lines

  #4529: fix parser's validation for try-except-finally statements.
........
  r67628 | skip.montanaro | 2008-12-07 03:16:00 +0100 (Sun, 07 Dec 2008) | 1 line

  muffed the default case
........

16 years agoremove extraneous 'text'
Benjamin Peterson [Sun, 7 Dec 2008 15:07:02 +0000 (15:07 +0000)]
remove extraneous 'text'

16 years agoBlocked revisions 67498,67521,67581,67584,67587 via svnmerge
Georg Brandl [Sun, 7 Dec 2008 15:06:59 +0000 (15:06 +0000)]
Blocked revisions 67498,67521,67581,67584,67587 via svnmerge

........
  r67498 | raymond.hettinger | 2008-12-03 16:42:10 +0100 (Wed, 03 Dec 2008) | 1 line

  Backport r67478
........
  r67521 | christian.heimes | 2008-12-04 15:34:40 +0100 (Thu, 04 Dec 2008) | 1 line

  Bumped up 2.6 to 2.7
........
  r67581 | georg.brandl | 2008-12-05 16:42:03 +0100 (Fri, 05 Dec 2008) | 2 lines

  #3171: document that *slice are removed in 3k.
........
  r67584 | fred.drake | 2008-12-05 16:52:25 +0100 (Fri, 05 Dec 2008) | 2 lines

  bump version number
........
  r67587 | fred.drake | 2008-12-05 17:14:18 +0100 (Fri, 05 Dec 2008) | 2 lines

  be more specific, and parallel to the py3k branch
........

16 years agoMerged revisions 67531-67532,67538,67553-67554,67556-67557,67571,67574-67575,67579...
Georg Brandl [Sun, 7 Dec 2008 15:06:20 +0000 (15:06 +0000)]
Merged revisions 67531-67532,67538,67553-67554,67556-67557,67571,67574-67575,67579-67580,67591,67597,67608,67631 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67531 | georg.brandl | 2008-12-04 19:54:05 +0100 (Thu, 04 Dec 2008) | 2 lines

  Add reference to enumerate() to indices example.
........
  r67532 | georg.brandl | 2008-12-04 19:59:16 +0100 (Thu, 04 Dec 2008) | 2 lines

  Add another heapq example.
........
  r67538 | georg.brandl | 2008-12-04 22:28:16 +0100 (Thu, 04 Dec 2008) | 2 lines

  Clarification to avoid confusing output with file descriptors.
........
  r67553 | georg.brandl | 2008-12-05 08:49:49 +0100 (Fri, 05 Dec 2008) | 2 lines

  #4408: document regex.groups.
........
  r67554 | georg.brandl | 2008-12-05 08:52:26 +0100 (Fri, 05 Dec 2008) | 2 lines

  #4409: fix asterisks looking like footnotes.
........
  r67556 | georg.brandl | 2008-12-05 09:02:17 +0100 (Fri, 05 Dec 2008) | 2 lines

  #4441: improve doc for os.open() flags.
........
  r67557 | georg.brandl | 2008-12-05 09:06:57 +0100 (Fri, 05 Dec 2008) | 2 lines

  Add an index entry for "subclassing immutable types".
........
  r67571 | georg.brandl | 2008-12-05 10:13:45 +0100 (Fri, 05 Dec 2008) | 2 lines

  Use markup.
........
  r67574 | georg.brandl | 2008-12-05 10:25:32 +0100 (Fri, 05 Dec 2008) | 2 lines

  #4441 followup: Add link to open() docs for Windows.
........
  r67575 | georg.brandl | 2008-12-05 12:34:51 +0100 (Fri, 05 Dec 2008) | 2 lines

  #4544: add `dedent` to textwrap.__all__.
........
  r67579 | georg.brandl | 2008-12-05 16:29:39 +0100 (Fri, 05 Dec 2008) | 2 lines

  #4517: add "special method" glossary entry and clarify when __getattribute__ is bypassed.
........
  r67580 | georg.brandl | 2008-12-05 16:32:29 +0100 (Fri, 05 Dec 2008) | 2 lines

  #4478: document that copyfile() can raise Error.
........
  r67591 | georg.brandl | 2008-12-05 19:00:06 +0100 (Fri, 05 Dec 2008) | 2 lines

  Followup to #4511: add link from decorator glossary entry to definition.
........
  r67597 | georg.brandl | 2008-12-05 20:03:19 +0100 (Fri, 05 Dec 2008) | 2 lines

  Remove confusing sentence part.
........
  r67608 | georg.brandl | 2008-12-06 12:57:12 +0100 (Sat, 06 Dec 2008) | 2 lines

  Follow-up to #4488: document PIPE and STDOUT properly.
........
  r67631 | georg.brandl | 2008-12-07 12:54:07 +0100 (Sun, 07 Dec 2008) | 2 lines

  Add link to the favicon to the docs.
........

16 years agodocument how to deal with binary standard streams
Benjamin Peterson [Sun, 7 Dec 2008 14:58:03 +0000 (14:58 +0000)]
document how to deal with binary standard streams

16 years ago#4576: fix ob_type access.
Georg Brandl [Sun, 7 Dec 2008 14:09:20 +0000 (14:09 +0000)]
#4576: fix ob_type access.

16 years agoBlocked revisions 67619 via svnmerge
Antoine Pitrou [Sat, 6 Dec 2008 21:32:58 +0000 (21:32 +0000)]
Blocked revisions 67619 via svnmerge

........
  r67619 | antoine.pitrou | 2008-12-06 22:29:24 +0100 (sam., 06 déc. 2008) | 1 line

  Issue #4509: bugs in bytearray with exports (buffer protocol)
........

16 years agoIssue #4509: bugs in bytearray with exports (buffer protocol)
Antoine Pitrou [Sat, 6 Dec 2008 21:27:53 +0000 (21:27 +0000)]
Issue #4509: bugs in bytearray with exports (buffer protocol)

16 years agoupdate version number
Benjamin Peterson [Sat, 6 Dec 2008 18:33:20 +0000 (18:33 +0000)]
update version number

16 years agothere are only four asdl builtin types in py3k
Benjamin Peterson [Sat, 6 Dec 2008 18:32:13 +0000 (18:32 +0000)]
there are only four asdl builtin types in py3k

16 years agoissue 4483 - _dbm build failures on systems with gdbm_compat lib.
Skip Montanaro [Sat, 6 Dec 2008 17:25:02 +0000 (17:25 +0000)]
issue 4483 - _dbm build failures on systems with gdbm_compat lib.

16 years agoMerged revisions 67494 via svnmerge from
Jeffrey Yasskin [Sat, 6 Dec 2008 17:09:27 +0000 (17:09 +0000)]
Merged revisions 67494 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67494 | jeffrey.yasskin | 2008-12-02 22:46:45 -0800 (Tue, 02 Dec 2008) | 5 lines

  Speed up Python (according to pybench and 2to3-on-itself) by 1-2% by caching
  whether any thread has tracing turned on, which saves one load instruction in
  the fast_next_opcode path in PyEval_EvalFrameEx().  See issue 4477.
........

16 years agoIssue #4445: save 3 bytes of memory (on average) per bytes allocation.
Mark Dickinson [Sat, 6 Dec 2008 15:33:31 +0000 (15:33 +0000)]
Issue #4445: save 3 bytes of memory (on average) per bytes allocation.
(This is a forward port of r67601).

16 years ago#4562: fix zip() examples.
Georg Brandl [Sat, 6 Dec 2008 14:28:56 +0000 (14:28 +0000)]
#4562: fix zip() examples.

16 years agoIssue 1163367: Clarify super() docs. Also, fix-up the markup and XXX comment.
Raymond Hettinger [Sat, 6 Dec 2008 11:44:00 +0000 (11:44 +0000)]
Issue 1163367: Clarify super() docs.  Also, fix-up the markup and XXX comment.

16 years agocmp() is not really gone.
Georg Brandl [Sat, 6 Dec 2008 08:14:46 +0000 (08:14 +0000)]
cmp() is not really gone.

16 years ago#4557: remove 'c' typecode from array docs and add a note in whatsnew.
Georg Brandl [Sat, 6 Dec 2008 08:12:11 +0000 (08:12 +0000)]
#4557: remove 'c' typecode from array docs and add a note in whatsnew.

16 years agoBlocked revisions 67601 via svnmerge
Mark Dickinson [Fri, 5 Dec 2008 22:23:16 +0000 (22:23 +0000)]
Blocked revisions 67601 via svnmerge

........
  r67601 | mark.dickinson | 2008-12-05 21:55:28 +0000 (Fri, 05 Dec 2008) | 3 lines

  Issue #4445: save 3 bytes (on average, on a typical machine) per
  string allocation.
........

16 years agoUse :samp: role.
Georg Brandl [Fri, 5 Dec 2008 18:31:51 +0000 (18:31 +0000)]
Use :samp: role.

16 years agoMerged revisions 67590 via svnmerge from
Mark Dickinson [Fri, 5 Dec 2008 18:10:46 +0000 (18:10 +0000)]
Merged revisions 67590 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67590 | mark.dickinson | 2008-12-05 17:59:46 +0000 (Fri, 05 Dec 2008) | 2 lines

  Issue #4461: Safety check in parsenumber (ast.c)
........

16 years ago#4549: Mention nonlocal statement in tutorial section about scoping.
Georg Brandl [Fri, 5 Dec 2008 18:06:58 +0000 (18:06 +0000)]
#4549: Mention nonlocal statement in tutorial section about scoping.

16 years ago#4550: fix 2.x syntax in webservers howto.
Georg Brandl [Fri, 5 Dec 2008 18:04:41 +0000 (18:04 +0000)]
#4550: fix 2.x syntax in webservers howto.

16 years agoIssue 4497: silence compiler warnings on Windows.
Mark Dickinson [Fri, 5 Dec 2008 17:14:29 +0000 (17:14 +0000)]
Issue 4497: silence compiler warnings on Windows.

16 years agoManually merged r67583: move __import__ doc to the bottom.
Georg Brandl [Fri, 5 Dec 2008 15:55:41 +0000 (15:55 +0000)]
Manually merged r67583: move __import__ doc to the bottom.

16 years agoBlocked revisions 67583 via svnmerge
Georg Brandl [Fri, 5 Dec 2008 15:54:46 +0000 (15:54 +0000)]
Blocked revisions 67583 via svnmerge

........
  r67583 | georg.brandl | 2008-12-05 16:52:20 +0100 (Fri, 05 Dec 2008) | 4 lines

  Move __import__ to the bottom of the functions list.
  It doesn't make sense for such a fundamental document to have
  the most obscure function listed at the top.
........

16 years ago#4504, #4505: Update noddy examples in "Extending & Embedding".
Georg Brandl [Fri, 5 Dec 2008 15:12:15 +0000 (15:12 +0000)]
#4504, #4505: Update noddy examples in "Extending & Embedding".

16 years agoFixed issue #4533: File read operation was dreadfully slow
Christian Heimes [Fri, 5 Dec 2008 08:26:55 +0000 (08:26 +0000)]
Fixed issue #4533: File read operation was dreadfully slow

16 years ago#4427: fix arguments for "y" BuildValue type.
Georg Brandl [Fri, 5 Dec 2008 07:57:51 +0000 (07:57 +0000)]
#4427: fix arguments for "y" BuildValue type.

16 years ago#4401: Re-add os.extsep.
Georg Brandl [Fri, 5 Dec 2008 07:45:54 +0000 (07:45 +0000)]
#4401: Re-add os.extsep.

16 years ago#4355: refer to urlencode in the correct module.
Georg Brandl [Fri, 5 Dec 2008 07:32:56 +0000 (07:32 +0000)]
#4355: refer to urlencode in the correct module.

16 years agoUpdate build URL.
Georg Brandl [Fri, 5 Dec 2008 07:32:39 +0000 (07:32 +0000)]
Update build URL.

16 years agoSend mails to python-checkins now.
Martin v. Löwis [Fri, 5 Dec 2008 07:20:46 +0000 (07:20 +0000)]
Send mails to python-checkins now.

16 years agoTweak verbiage and markup for relative/absolute import. Backport candidate.
Guido van Rossum [Fri, 5 Dec 2008 05:49:12 +0000 (05:49 +0000)]
Tweak verbiage and markup for relative/absolute import.  Backport candidate.
(I guess *all* changes to this file should be backported to the 3.0 branch.)

16 years agofix Sphinx warnings
Benjamin Peterson [Fri, 5 Dec 2008 03:05:29 +0000 (03:05 +0000)]
fix Sphinx warnings

16 years agoadd missing import
Fred Drake [Fri, 5 Dec 2008 02:47:42 +0000 (02:47 +0000)]
add missing import

16 years ago#4542: On Windows, binascii.crc32 still accepted str as binary input.
Amaury Forgeot d'Arc [Fri, 5 Dec 2008 01:40:43 +0000 (01:40 +0000)]
#4542: On Windows, binascii.crc32 still accepted str as binary input.
This fixes test_binascii.

Will backport to 3.0

16 years agoIssue #4537: webbrowser.UnixBrowser failed because this module defines an open()
Amaury Forgeot d'Arc [Fri, 5 Dec 2008 01:02:21 +0000 (01:02 +0000)]
Issue #4537: webbrowser.UnixBrowser failed because this module defines an open()
function which shadows the builtin.

Will backport to 3.0

16 years agoMerged revisions 67528 via svnmerge from
Fred Drake [Thu, 4 Dec 2008 19:24:50 +0000 (19:24 +0000)]
Merged revisions 67528 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67528 | fred.drake | 2008-12-04 13:25:17 -0500 (Thu, 04 Dec 2008) | 4 lines

  Issue #1055234: cgi.parse_header(): Fixed parsing of header parameters to
  support unusual filenames (such as those containing semi-colons) in
  Content-Disposition headers.
........

16 years agoAdd a skeleton 3.1 whatsnew document.
Georg Brandl [Thu, 4 Dec 2008 18:44:53 +0000 (18:44 +0000)]
Add a skeleton 3.1 whatsnew document.

16 years ago#4513: remove traces of zip() docstring from when it was izip().
Georg Brandl [Thu, 4 Dec 2008 18:28:38 +0000 (18:28 +0000)]
#4513: remove traces of zip() docstring from when it was izip().

16 years ago#4521: fix getcwdu() vs getcwdb().
Georg Brandl [Thu, 4 Dec 2008 18:21:46 +0000 (18:21 +0000)]
#4521: fix getcwdu() vs getcwdb().

16 years ago#4526: fix typo.
Georg Brandl [Thu, 4 Dec 2008 18:19:41 +0000 (18:19 +0000)]
#4526: fix typo.

16 years ago#4527: fix "unicode or string".
Georg Brandl [Thu, 4 Dec 2008 18:18:16 +0000 (18:18 +0000)]
#4527: fix "unicode or string".

16 years ago- fix markup error
Fred Drake [Thu, 4 Dec 2008 15:28:51 +0000 (15:28 +0000)]
- fix markup error
- remove silly emoticon

16 years agoWording change (flaunt -> disobey); markup fixes. The largest edit is to the paragra...
Andrew M. Kuchling [Thu, 4 Dec 2008 15:07:14 +0000 (15:07 +0000)]
Wording change (flaunt -> disobey); markup fixes.  The largest edit is to the paragraph on relative imports; please review.  (Backport candidate)

16 years agoMore 3.0 -> 3.1 transistion in the Windows and OS/2 build files
Christian Heimes [Thu, 4 Dec 2008 14:27:25 +0000 (14:27 +0000)]
More 3.0 -> 3.1 transistion in the Windows and OS/2 build files

16 years agoBumped up version number in PC/pyconfig.h.
Hirokazu Yamamoto [Thu, 4 Dec 2008 08:53:27 +0000 (08:53 +0000)]
Bumped up version number in PC/pyconfig.h.

16 years agoMore 3.0 -> 3.1 transistions
Christian Heimes [Wed, 3 Dec 2008 18:35:13 +0000 (18:35 +0000)]
More 3.0 -> 3.1 transistions

16 years agoBumped up version numbers of configure/autoconf scripts
Christian Heimes [Wed, 3 Dec 2008 18:18:23 +0000 (18:18 +0000)]
Bumped up version numbers of configure/autoconf scripts

16 years agoPrep for Python 3.1!
Barry Warsaw [Wed, 3 Dec 2008 16:46:14 +0000 (16:46 +0000)]
Prep for Python 3.1!

16 years agoRemove remark about NaN==NaN, I misunderstood that issue.
Guido van Rossum [Wed, 3 Dec 2008 15:24:50 +0000 (15:24 +0000)]
Remove remark about NaN==NaN, I misunderstood that issue.

16 years agoMinor edits.
Raymond Hettinger [Wed, 3 Dec 2008 15:04:01 +0000 (15:04 +0000)]
Minor edits.

16 years agoFixed a warning on whatsnew/3.0.rst
Christian Heimes [Wed, 3 Dec 2008 13:39:03 +0000 (13:39 +0000)]
Fixed a warning on whatsnew/3.0.rst

16 years agoUse the :mod: role.
Georg Brandl [Wed, 3 Dec 2008 06:44:59 +0000 (06:44 +0000)]
Use the :mod: role.

16 years agoSome textual tweaks, and fixed a few typos found by a spell checker.
Guido van Rossum [Wed, 3 Dec 2008 05:39:28 +0000 (05:39 +0000)]
Some textual tweaks, and fixed a few typos found by a spell checker.

16 years agoFix bad markup.
Guido van Rossum [Wed, 3 Dec 2008 04:18:17 +0000 (04:18 +0000)]
Fix bad markup.

16 years agoMore cleanup. Moved all Unicode and str/bytes info to the text/data
Guido van Rossum [Wed, 3 Dec 2008 04:15:35 +0000 (04:15 +0000)]
More cleanup.  Moved all Unicode and str/bytes info to the text/data
subsection in common pitfalls, rather than spreading it out.  Made
this the last subsection of common pitfalls.  All XXX comments are now
gone.  I'm sure much is still missing, we'll have to clean that up
post 3.0.  At least all PEPs and all implemented items in PEP 3100
have at least one mention.

16 years agoAnother checkpoint.
Guido van Rossum [Wed, 3 Dec 2008 02:31:31 +0000 (02:31 +0000)]
Another checkpoint.
(A bit of a mess, a previous submit apparently didn't go through.)

16 years agoAnother checkpoint -- some stuff I managed to do on the train.
Guido van Rossum [Wed, 3 Dec 2008 02:03:19 +0000 (02:03 +0000)]
Another checkpoint -- some stuff I managed to do on the train.

16 years agoMerged revisions 67484 via svnmerge from
Christian Heimes [Wed, 3 Dec 2008 00:55:34 +0000 (00:55 +0000)]
Merged revisions 67484 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67484 | christian.heimes | 2008-12-03 01:53:18 +0100 (Wed, 03 Dec 2008) | 2 lines

  Issue #4025 again
  Converted a C99 style comment to a C89 style comment (found by MAL).
........

16 years agoAnother checkpoint.
Guido van Rossum [Wed, 3 Dec 2008 00:54:52 +0000 (00:54 +0000)]
Another checkpoint.

16 years agointerators -> iterators (thanks Taggnostr)
Gregory P. Smith [Tue, 2 Dec 2008 23:52:53 +0000 (23:52 +0000)]
interators -> iterators (thanks Taggnostr)

16 years agoFinished what I'm going to write about the standard library.
Guido van Rossum [Tue, 2 Dec 2008 23:46:46 +0000 (23:46 +0000)]
Finished what I'm going to write about the standard library.

16 years agoFinished the "porting to 3.0" section. Had to add a label to
Guido van Rossum [Tue, 2 Dec 2008 22:58:36 +0000 (22:58 +0000)]
Finished the "porting to 3.0" section.  Had to add a label to
howto/cporting.rst.

16 years agoAnother checkpoint. More XXXes added...
Guido van Rossum [Tue, 2 Dec 2008 22:34:15 +0000 (22:34 +0000)]
Another checkpoint.  More XXXes added...

Also add some labels to 2.6.rst and howto/unicode.rst so I can refer
to them.  (Somehow a label named 'module-contextlib' couldn't be
referenced -- why???)

16 years agoIssue 3689: list_reverseiterator should support __length_hint__ instead of __len__.
Raymond Hettinger [Tue, 2 Dec 2008 21:33:45 +0000 (21:33 +0000)]
Issue 3689:  list_reverseiterator should support __length_hint__ instead of __len__.

16 years agoBug #4495: Fix signed/unsigned warning (both namelen and tailen should be signed...
Raymond Hettinger [Tue, 2 Dec 2008 20:59:48 +0000 (20:59 +0000)]
Bug #4495:  Fix signed/unsigned warning (both namelen and tailen should be signed, not just namelen).

16 years agoAnother checkpoint to switch machines.
Guido van Rossum [Tue, 2 Dec 2008 17:31:14 +0000 (17:31 +0000)]
Another checkpoint to switch machines.

16 years agoAdd missing bracket.
Walter Dörwald [Tue, 2 Dec 2008 11:58:09 +0000 (11:58 +0000)]
Add missing bracket.

16 years agoFix typo.
Walter Dörwald [Tue, 2 Dec 2008 11:55:30 +0000 (11:55 +0000)]
Fix typo.

16 years agoIssue #4387: binascii now refuses to accept str as binary input.
Martin v. Löwis [Tue, 2 Dec 2008 06:00:15 +0000 (06:00 +0000)]
Issue #4387: binascii now refuses to accept str as binary input.

16 years agoFix docutils parsing errors in Misc/NEWS.
Alexandre Vassalotti [Tue, 2 Dec 2008 03:34:24 +0000 (03:34 +0000)]
Fix docutils parsing errors in Misc/NEWS.

16 years agofix markup
Benjamin Peterson [Tue, 2 Dec 2008 01:12:04 +0000 (01:12 +0000)]
fix markup

16 years agoCheckpoint. Added some stuff. Mostly XXX notes for myself. :-)
Guido van Rossum [Tue, 2 Dec 2008 00:56:25 +0000 (00:56 +0000)]
Checkpoint.  Added some stuff.  Mostly XXX notes for myself. :-)

16 years agoMerged revisions 67467 via svnmerge from
Georg Brandl [Mon, 1 Dec 2008 23:02:51 +0000 (23:02 +0000)]
Merged revisions 67467 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67467 | benjamin.peterson | 2008-12-01 13:52:51 +0100 (Mon, 01 Dec 2008) | 1 line

  let people using SVN Sphinx still build the docs
........

16 years agoAdd script forgotten in r67464.
Martin v. Löwis [Mon, 1 Dec 2008 04:44:45 +0000 (04:44 +0000)]
Add script forgotten in r67464.

16 years agoIssue #4073: Add 2to3 support to build_scripts, refactor that support
Martin v. Löwis [Mon, 1 Dec 2008 04:38:52 +0000 (04:38 +0000)]
Issue #4073: Add 2to3 support to build_scripts, refactor that support
in build_py.

16 years agoUpdate copyright for recent changes.
Raymond Hettinger [Sun, 30 Nov 2008 23:43:36 +0000 (23:43 +0000)]
Update copyright for recent changes.

16 years agoMerged revisions 67348,67355,67359,67362,67364-67365,67367-67368,67398,67423-67424...
Benjamin Peterson [Sun, 30 Nov 2008 22:46:23 +0000 (22:46 +0000)]
Merged revisions 67348,67355,67359,67362,67364-67365,67367-67368,67398,67423-67424,67432,67440-67441,67444-67445,67454-67455,67457-67458 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67348 | benjamin.peterson | 2008-11-22 20:09:41 -0600 (Sat, 22 Nov 2008) | 1 line

  raise a better error
........
  r67355 | georg.brandl | 2008-11-23 13:17:25 -0600 (Sun, 23 Nov 2008) | 2 lines

  #4392: fix parameter name.
........
  r67359 | georg.brandl | 2008-11-23 15:57:30 -0600 (Sun, 23 Nov 2008) | 2 lines

  #4399: fix typo.
........
  r67362 | gregory.p.smith | 2008-11-23 18:41:43 -0600 (Sun, 23 Nov 2008) | 2 lines

  Document PY_SSIZE_T_CLEAN for PyArg_ParseTuple.
........
  r67364 | benjamin.peterson | 2008-11-23 19:16:29 -0600 (Sun, 23 Nov 2008) | 2 lines

  replace reference to debugger-hooks
........
  r67365 | benjamin.peterson | 2008-11-23 22:09:03 -0600 (Sun, 23 Nov 2008) | 1 line

  #4396 make the parser module correctly validate the with syntax
........
  r67367 | georg.brandl | 2008-11-24 10:16:07 -0600 (Mon, 24 Nov 2008) | 2 lines

  Fix typo.
........
  r67368 | georg.brandl | 2008-11-24 13:56:47 -0600 (Mon, 24 Nov 2008) | 2 lines

  #4404: make clear what "path" is.
........
  r67398 | benjamin.peterson | 2008-11-26 11:39:17 -0600 (Wed, 26 Nov 2008) | 1 line

  fix typo in sqlite3 docs
........
  r67423 | jesse.noller | 2008-11-28 12:59:35 -0600 (Fri, 28 Nov 2008) | 2 lines

  issue4238: bsd support for cpu_count
........
  r67424 | christian.heimes | 2008-11-28 13:33:33 -0600 (Fri, 28 Nov 2008) | 1 line

  Retain copyright of processing examples. This was requested by a Debian maintainer during packaging of the multiprocessing package for 2.4/2.5
........
  r67432 | benjamin.peterson | 2008-11-28 17:18:46 -0600 (Fri, 28 Nov 2008) | 1 line

  SVN format 9 is the same it seems
........
  r67440 | jeremy.hylton | 2008-11-28 17:42:59 -0600 (Fri, 28 Nov 2008) | 4 lines

  Move definition int sval into branch of ifdef where it is used.

  Otherwise, you get a warning about an undefined variable.
........
  r67441 | jeremy.hylton | 2008-11-28 18:09:16 -0600 (Fri, 28 Nov 2008) | 2 lines

  Reflow long lines.
........
  r67444 | amaury.forgeotdarc | 2008-11-28 20:03:32 -0600 (Fri, 28 Nov 2008) | 2 lines

  Fix a small typo in docstring
........
  r67445 | benjamin.peterson | 2008-11-29 21:07:33 -0600 (Sat, 29 Nov 2008) | 1 line

  StringIO.close() stops you from using the buffer, too
........
  r67454 | benjamin.peterson | 2008-11-30 08:43:23 -0600 (Sun, 30 Nov 2008) | 1 line

  note the version that works
........
  r67455 | martin.v.loewis | 2008-11-30 13:28:27 -0600 (Sun, 30 Nov 2008) | 1 line

  Issue #4365: Add crtassem.h constants to the msvcrt module.
........
  r67457 | christian.heimes | 2008-11-30 15:16:28 -0600 (Sun, 30 Nov 2008) | 1 line

  w# requires Py_ssize_t
........
  r67458 | benjamin.peterson | 2008-11-30 15:46:16 -0600 (Sun, 30 Nov 2008) | 1 line

  fix pyspecific extensions that were broken by Sphinx's grand renaming
........