]> granicus.if.org Git - python/log
python
16 years agosilence annoying DeprecationWarning
Benjamin Peterson [Sat, 20 Dec 2008 23:48:54 +0000 (23:48 +0000)]
silence annoying DeprecationWarning

16 years agoadd some recent releases to the list
Benjamin Peterson [Sat, 20 Dec 2008 22:59:49 +0000 (22:59 +0000)]
add some recent releases to the list

16 years agoremove redundant sentence
Benjamin Peterson [Sat, 20 Dec 2008 22:49:24 +0000 (22:49 +0000)]
remove redundant sentence

16 years agobeef up docstring
Benjamin Peterson [Sat, 20 Dec 2008 02:57:19 +0000 (02:57 +0000)]
beef up docstring

16 years agoadd headings
Benjamin Peterson [Sat, 20 Dec 2008 02:51:26 +0000 (02:51 +0000)]
add headings

16 years agocopy sentence from docstring
Benjamin Peterson [Sat, 20 Dec 2008 02:48:02 +0000 (02:48 +0000)]
copy sentence from docstring

16 years ago#4700: crtlicense.txt is displayed by the license() command and should be kept ascii...
Amaury Forgeot d'Arc [Fri, 19 Dec 2008 22:56:48 +0000 (22:56 +0000)]
#4700: crtlicense.txt is displayed by the license() command and should be kept ascii-only.

Will port to 3.0

16 years agoFix typo in Python equivalent for bit_length.
Mark Dickinson [Fri, 19 Dec 2008 17:46:51 +0000 (17:46 +0000)]
Fix typo in Python equivalent for bit_length.

16 years agoFix-up and clean-up docs for int.bit_length().
Raymond Hettinger [Fri, 19 Dec 2008 09:06:07 +0000 (09:06 +0000)]
Fix-up and clean-up docs for int.bit_length().

* Replace dramatic footnote with in-line comment about possible round-off errors in logarithms of large numbers.
* Add comments to the pure python code equivalent.
* replace floor() with int() in the mathematical equivalent so the type is correct (should be an int, not a float).
* add abs() to the mathematical equivalent so that it matches the previous line that it is supposed to be equivalent to.
* make one combined example with a negative input.

16 years ago_call_method -> _callmethod and _get_value to _getvalue
Benjamin Peterson [Fri, 19 Dec 2008 02:31:35 +0000 (02:31 +0000)]
_call_method -> _callmethod and _get_value to _getvalue

16 years agofix typo
Benjamin Peterson [Fri, 19 Dec 2008 02:28:56 +0000 (02:28 +0000)]
fix typo

16 years agoIssue 4692: bogus 'Make' in Makefile.pre.in; replace with '$MAKE'.
Mark Dickinson [Thu, 18 Dec 2008 19:46:21 +0000 (19:46 +0000)]
Issue 4692: bogus 'Make' in Makefile.pre.in; replace with '$MAKE'.
Thanks Ned Deily.

16 years agoIssue #2467: gc.DEBUG_STATS reports invalid elapsed times.
Antoine Pitrou [Wed, 17 Dec 2008 22:46:54 +0000 (22:46 +0000)]
Issue #2467: gc.DEBUG_STATS reports invalid elapsed times.
Patch by Neil Schemenauer, very slightly modified.

16 years agoIssue #3439: add bit_length method to int and long.
Mark Dickinson [Wed, 17 Dec 2008 16:14:37 +0000 (16:14 +0000)]
Issue #3439: add bit_length method to int and long.
Thanks Fredrik Johansson and Victor Stinner for code,
Raymond Hettinger for review.

16 years agoIssue #2183: Simplify and optimize bytecode for list comprehensions.
Antoine Pitrou [Wed, 17 Dec 2008 00:38:28 +0000 (00:38 +0000)]
Issue #2183: Simplify and optimize bytecode for list comprehensions.

16 years agoMerged revisions 67427,67431,67433,67435,67630,67652,67656-67657,67674-67675,67678...
Benjamin Peterson [Tue, 16 Dec 2008 03:35:28 +0000 (03:35 +0000)]
Merged revisions 67427,67431,67433,67435,67630,67652,67656-67657,67674-67675,67678-67679,67705-67706,67716,67723,67765-67771,67774,67776,67778 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r67427 | benjamin.peterson | 2008-11-28 16:07:41 -0600 (Fri, 28 Nov 2008) | 1 line

  fix spelling in comment
........
  r67431 | benjamin.peterson | 2008-11-28 17:14:08 -0600 (Fri, 28 Nov 2008) | 1 line

  add a scripts directory; move things to it
........
  r67433 | benjamin.peterson | 2008-11-28 17:18:48 -0600 (Fri, 28 Nov 2008) | 1 line

  run svneol.py
........
  r67435 | benjamin.peterson | 2008-11-28 17:25:03 -0600 (Fri, 28 Nov 2008) | 1 line

  rename pre/post_order_mapping to pre/post_order_heads
........
  r67630 | alexandre.vassalotti | 2008-12-06 21:51:56 -0600 (Sat, 06 Dec 2008) | 2 lines

  Fix typo in the urllib2.HTTPDigestAuthHandler fixer.
........
  r67652 | armin.ronacher | 2008-12-07 15:39:43 -0600 (Sun, 07 Dec 2008) | 5 lines

  Added a fixer that cleans up a tuple argument to isinstance after the tokens
  in it were fixed.  This is mainly used to remove double occurrences of
  tokens as a leftover of the long -> int / unicode -> str conversion.
........
  r67656 | armin.ronacher | 2008-12-07 16:54:16 -0600 (Sun, 07 Dec 2008) | 3 lines

  Added missing copyright fo 2to3 fix_isinstance.
........
  r67657 | armin.ronacher | 2008-12-07 18:29:35 -0600 (Sun, 07 Dec 2008) | 3 lines

  2to3: intern and reduce fixes now add the imports if missing.  Because that is a common task the fixer_util module now has a function "touch_import" that adds imports if missing.
........
  r67674 | benjamin.peterson | 2008-12-08 19:58:11 -0600 (Mon, 08 Dec 2008) | 1 line

  copy permission bits when making backup files #4602
........
  r67675 | benjamin.peterson | 2008-12-08 19:59:11 -0600 (Mon, 08 Dec 2008) | 1 line

  add forgotten import
........
  r67678 | benjamin.peterson | 2008-12-08 20:08:30 -0600 (Mon, 08 Dec 2008) | 1 line

  fix #4602 for real
........
  r67679 | armin.ronacher | 2008-12-09 00:54:03 -0600 (Tue, 09 Dec 2008) | 3 lines

  Removed redudant code from the 2to3 long fixer.  This fixes #4590.
........
  r67705 | benjamin.peterson | 2008-12-11 13:04:08 -0600 (Thu, 11 Dec 2008) | 1 line

  put trailers after a range call after the list()
........
  r67706 | benjamin.peterson | 2008-12-11 13:17:57 -0600 (Thu, 11 Dec 2008) | 1 line

  add html related modules to the fix_imports mapping
........
  r67716 | benjamin.peterson | 2008-12-11 22:16:47 -0600 (Thu, 11 Dec 2008) | 1 line

  consolidate tests
........
  r67723 | benjamin.peterson | 2008-12-12 19:49:31 -0600 (Fri, 12 Dec 2008) | 1 line

  fix name
........
  r67765 | benjamin.peterson | 2008-12-14 14:05:05 -0600 (Sun, 14 Dec 2008) | 1 line

  run fix_isinstance after fix_long and fix_unicode
........
  r67766 | benjamin.peterson | 2008-12-14 14:13:05 -0600 (Sun, 14 Dec 2008) | 1 line

  use run_order instead of order
........
  r67767 | benjamin.peterson | 2008-12-14 14:28:12 -0600 (Sun, 14 Dec 2008) | 1 line

  don't retain parenthesis if there is only one item left
........
  r67768 | benjamin.peterson | 2008-12-14 14:32:30 -0600 (Sun, 14 Dec 2008) | 1 line

  use insert_child()
........
  r67769 | benjamin.peterson | 2008-12-14 14:59:10 -0600 (Sun, 14 Dec 2008) | 1 line

  parenthesize doesn't belong in pygram or FixerBase
........
  r67770 | alexandre.vassalotti | 2008-12-14 15:15:36 -0600 (Sun, 14 Dec 2008) | 2 lines

  Fix typo: html.paser -> html.parser.
........
  r67771 | benjamin.peterson | 2008-12-14 15:22:09 -0600 (Sun, 14 Dec 2008) | 1 line

  altering .children needs to call changed()
........
  r67774 | benjamin.peterson | 2008-12-14 15:55:38 -0600 (Sun, 14 Dec 2008) | 1 line

  employ an evil hack to fix multiple names in the same import statement
........
  r67776 | benjamin.peterson | 2008-12-14 16:22:38 -0600 (Sun, 14 Dec 2008) | 1 line

  make a common mixin class for Test_imports and friends
........
  r67778 | alexandre.vassalotti | 2008-12-14 17:48:20 -0600 (Sun, 14 Dec 2008) | 2 lines

  Make fix_imports refactor multiple imports as.
........

16 years ago#3632: the "pyo" macro from gdbinit can now run when the GIL is released.
Amaury Forgeot d'Arc [Mon, 15 Dec 2008 22:29:14 +0000 (22:29 +0000)]
#3632: the "pyo" macro from gdbinit can now run when the GIL is released.

Patch by haypo.

16 years ago#3954: Fix error handling code in _hotshot.logreader
Amaury Forgeot d'Arc [Mon, 15 Dec 2008 21:47:57 +0000 (21:47 +0000)]
#3954: Fix error handling code in _hotshot.logreader

Will port to 2.6. hotshot was deleted from python 3.

16 years agoIssue #4197: Fix the remaining part of the doctest-in-zipfile problem by giving linec...
Nick Coghlan [Mon, 15 Dec 2008 11:41:05 +0000 (11:41 +0000)]
Issue #4197: Fix the remaining part of the doctest-in-zipfile problem by giving linecache access to the module globals when available

16 years ago#4568: remove limitation in varargs callback example.
Georg Brandl [Mon, 15 Dec 2008 09:07:39 +0000 (09:07 +0000)]
#4568: remove limitation in varargs callback example.

16 years ago#4578: fix has_key() usage in compiler package.
Georg Brandl [Mon, 15 Dec 2008 08:58:59 +0000 (08:58 +0000)]
#4578: fix has_key() usage in compiler package.

16 years ago#4611: fix typo.
Georg Brandl [Mon, 15 Dec 2008 08:36:11 +0000 (08:36 +0000)]
#4611: fix typo.

16 years ago#4446: document "platforms" argument for setup().
Georg Brandl [Mon, 15 Dec 2008 08:33:58 +0000 (08:33 +0000)]
#4446: document "platforms" argument for setup().

16 years agomodify other occurrence of test_bad_address
Antoine Pitrou [Mon, 15 Dec 2008 00:39:51 +0000 (00:39 +0000)]
modify other occurrence of test_bad_address

16 years agotry to fix failure in test_bad_address on some buildbots
Antoine Pitrou [Sun, 14 Dec 2008 22:33:55 +0000 (22:33 +0000)]
try to fix failure in test_bad_address on some buildbots

16 years agoBackport r67759 (fix io.IncrementalNewlineDecoder for UTF-16 et al.).
Antoine Pitrou [Sun, 14 Dec 2008 17:40:51 +0000 (17:40 +0000)]
Backport r67759 (fix io.IncrementalNewlineDecoder for UTF-16 et al.).

16 years agofix missing bracket
Benjamin Peterson [Sun, 14 Dec 2008 17:26:04 +0000 (17:26 +0000)]
fix missing bracket

16 years agoAdd file that was missed from r67750
Nick Coghlan [Sun, 14 Dec 2008 11:09:40 +0000 (11:09 +0000)]
Add file that was missed from r67750

16 years agoFix several issues relating to access to source code inside zipfiles. Initial work...
Nick Coghlan [Sun, 14 Dec 2008 10:54:50 +0000 (10:54 +0000)]
Fix several issues relating to access to source code inside zipfiles. Initial work by Alexander Belopolsky. See Misc/NEWS in this checkin for details.

16 years agoremove has_key usage
Benjamin Peterson [Sun, 14 Dec 2008 01:46:11 +0000 (01:46 +0000)]
remove has_key usage

16 years agoIssue #4163: Use unicode-friendly word splitting in the textwrap functions when given...
Antoine Pitrou [Sat, 13 Dec 2008 23:12:30 +0000 (23:12 +0000)]
Issue #4163: Use unicode-friendly word splitting in the textwrap functions when given an unicode string.

16 years agofix incorrect example
Benjamin Peterson [Sat, 13 Dec 2008 04:02:20 +0000 (04:02 +0000)]
fix incorrect example

16 years agoIssue #4616: TarFile.utime(): Restore directory times on Windows.
Lars Gustäbel [Fri, 12 Dec 2008 13:58:03 +0000 (13:58 +0000)]
Issue #4616: TarFile.utime(): Restore directory times on Windows.

16 years agoIssues #3167, #3682: tests for math.log and math.log10 were failing on
Mark Dickinson [Thu, 11 Dec 2008 19:28:08 +0000 (19:28 +0000)]
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 #4084: Fix max, min, max_mag and min_mag Decimal methods to
Facundo Batista [Thu, 11 Dec 2008 04:19:46 +0000 (04:19 +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 ago#1030250: correctly pass the dry_run option to the mkpath() function.
Amaury Forgeot d'Arc [Thu, 11 Dec 2008 00:03:42 +0000 (00:03 +0000)]
#1030250: correctly pass the dry_run option to the mkpath() function.

16 years ago#4559: When a context manager's __exit__() method returns an object whose
Amaury Forgeot d'Arc [Wed, 10 Dec 2008 23:22:49 +0000 (23:22 +0000)]
#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 agoUpdate Misc/NEWS for r67666.
Jeffrey Yasskin [Wed, 10 Dec 2008 07:35:02 +0000 (07:35 +0000)]
Update Misc/NEWS for r67666.

16 years agoAdd simple unittests for Request
Jeremy Hylton [Tue, 9 Dec 2008 21:03:10 +0000 (21:03 +0000)]
Add simple unittests for Request

16 years agorevert unrelated change to installer script
Benjamin Peterson [Tue, 9 Dec 2008 02:05:11 +0000 (02:05 +0000)]
revert unrelated change to installer script

16 years agospecify how things are copied
Benjamin Peterson [Tue, 9 Dec 2008 02:03:03 +0000 (02:03 +0000)]
specify how things are copied

16 years agoIssue 4597: Fix several cases in EvalFrameEx where an exception could be
Jeffrey Yasskin [Mon, 8 Dec 2008 18:55:24 +0000 (18:55 +0000)]
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.

16 years agoConsider micro version for name of CHM file.
Martin v. Löwis [Mon, 8 Dec 2008 11:15:35 +0000 (11:15 +0000)]
Consider micro version for name of CHM file.

16 years agoAdd UUIDs for 2.6.1 and 2.6.2.
Martin v. Löwis [Mon, 8 Dec 2008 11:14:57 +0000 (11:14 +0000)]
Add UUIDs for 2.6.1 and 2.6.2.

16 years ago#4457: rewrite __import__() documentation.
Georg Brandl [Sun, 7 Dec 2008 22:42:09 +0000 (22:42 +0000)]
#4457: rewrite __import__() documentation.

16 years agoAdd link to the favicon to the docs.
Georg Brandl [Sun, 7 Dec 2008 11:54:07 +0000 (11:54 +0000)]
Add link to the favicon to the docs.

16 years agomuffed the default case
Skip Montanaro [Sun, 7 Dec 2008 02:16:00 +0000 (02:16 +0000)]
muffed the default case

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

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

16 years agoFollow-up to #4488: document PIPE and STDOUT properly.
Georg Brandl [Sat, 6 Dec 2008 11:57:12 +0000 (11:57 +0000)]
Follow-up to #4488: document PIPE and STDOUT properly.

16 years agoIssue #4445: save 3 bytes (on average, on a typical machine) per
Mark Dickinson [Fri, 5 Dec 2008 21:55:28 +0000 (21:55 +0000)]
Issue #4445: save 3 bytes (on average, on a typical machine) per
string allocation.

16 years agoRemove confusing sentence part.
Georg Brandl [Fri, 5 Dec 2008 19:03:19 +0000 (19:03 +0000)]
Remove confusing sentence part.

16 years agoFollowup to #4511: add link from decorator glossary entry to definition.
Georg Brandl [Fri, 5 Dec 2008 18:00:06 +0000 (18:00 +0000)]
Followup to #4511: add link from decorator glossary entry to definition.

16 years agoIssue #4461: Safety check in parsenumber (ast.c)
Mark Dickinson [Fri, 5 Dec 2008 17:59:46 +0000 (17:59 +0000)]
Issue #4461: Safety check in parsenumber (ast.c)

16 years agobe more specific, and parallel to the py3k branch
Fred Drake [Fri, 5 Dec 2008 16:14:18 +0000 (16:14 +0000)]
be more specific, and parallel to the py3k branch

16 years agobump version number
Fred Drake [Fri, 5 Dec 2008 15:52:25 +0000 (15:52 +0000)]
bump version number

16 years agoMove __import__ to the bottom of the functions list.
Georg Brandl [Fri, 5 Dec 2008 15:52:20 +0000 (15:52 +0000)]
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#3171: document that *slice are removed in 3k.
Georg Brandl [Fri, 5 Dec 2008 15:42:03 +0000 (15:42 +0000)]
#3171: document that *slice are removed in 3k.

16 years ago#4478: document that copyfile() can raise Error.
Georg Brandl [Fri, 5 Dec 2008 15:32:29 +0000 (15:32 +0000)]
#4478: document that copyfile() can raise Error.

16 years ago#4517: add "special method" glossary entry and clarify when __getattribute__ is bypassed.
Georg Brandl [Fri, 5 Dec 2008 15:29:39 +0000 (15:29 +0000)]
#4517: add "special method" glossary entry and clarify when __getattribute__ is bypassed.

16 years ago#4529: fix parser's validation for try-except-finally statements.
Georg Brandl [Fri, 5 Dec 2008 12:09:41 +0000 (12:09 +0000)]
#4529: fix parser's validation for try-except-finally statements.

16 years ago#4544: add `dedent` to textwrap.__all__.
Georg Brandl [Fri, 5 Dec 2008 11:34:51 +0000 (11:34 +0000)]
#4544: add `dedent` to textwrap.__all__.

16 years ago#4441 followup: Add link to open() docs for Windows.
Georg Brandl [Fri, 5 Dec 2008 09:25:32 +0000 (09:25 +0000)]
#4441 followup: Add link to open() docs for Windows.

16 years ago#4458: recognize "-" as an argument, not a malformed option in gnu_getopt().
Georg Brandl [Fri, 5 Dec 2008 09:23:14 +0000 (09:23 +0000)]
#4458: recognize "-" as an argument, not a malformed option in gnu_getopt().

16 years agoUse markup.
Georg Brandl [Fri, 5 Dec 2008 09:13:45 +0000 (09:13 +0000)]
Use markup.

16 years agoAdd an index entry for "subclassing immutable types".
Georg Brandl [Fri, 5 Dec 2008 08:06:57 +0000 (08:06 +0000)]
Add an index entry for "subclassing immutable types".

16 years ago#4441: improve doc for os.open() flags.
Georg Brandl [Fri, 5 Dec 2008 08:02:17 +0000 (08:02 +0000)]
#4441: improve doc for os.open() flags.

16 years ago#4409: fix asterisks looking like footnotes.
Georg Brandl [Fri, 5 Dec 2008 07:52:26 +0000 (07:52 +0000)]
#4409: fix asterisks looking like footnotes.

16 years ago#4408: document regex.groups.
Georg Brandl [Fri, 5 Dec 2008 07:49:49 +0000 (07:49 +0000)]
#4408: document regex.groups.

16 years agorename the new check_call_output to check_output. its less ugly.
Gregory P. Smith [Fri, 5 Dec 2008 02:27:01 +0000 (02:27 +0000)]
rename the new check_call_output to check_output.  its less ugly.

16 years agoClarification to avoid confusing output with file descriptors.
Georg Brandl [Thu, 4 Dec 2008 21:28:16 +0000 (21:28 +0000)]
Clarification to avoid confusing output with file descriptors.

16 years agoTook Nick Coghlan's advice about importing warnings globally in logging, to avoid...
Vinay Sajip [Thu, 4 Dec 2008 20:32:18 +0000 (20:32 +0000)]
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."

16 years agoAdds a subprocess.check_call_output() function to return the output from a
Gregory P. Smith [Thu, 4 Dec 2008 20:21:09 +0000 (20:21 +0000)]
Adds a subprocess.check_call_output() function to return the output from a
process on success or raise an exception on error.

16 years agoAdd another heapq example.
Georg Brandl [Thu, 4 Dec 2008 18:59:16 +0000 (18:59 +0000)]
Add another heapq example.

16 years agoAdd reference to enumerate() to indices example.
Georg Brandl [Thu, 4 Dec 2008 18:54:05 +0000 (18:54 +0000)]
Add reference to enumerate() to indices example.

16 years agoIssue #1055234: cgi.parse_header(): Fixed parsing of header parameters to
Fred Drake [Thu, 4 Dec 2008 18:25:17 +0000 (18:25 +0000)]
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 agoBumped up 2.6 to 2.7
Christian Heimes [Thu, 4 Dec 2008 14:34:40 +0000 (14:34 +0000)]
Bumped up 2.6 to 2.7

16 years agoIssue #4384: Added logging integration with warnings module using captureWarnings...
Vinay Sajip [Wed, 3 Dec 2008 23:22:58 +0000 (23:22 +0000)]
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.

16 years agoBackport r67478
Raymond Hettinger [Wed, 3 Dec 2008 15:42:10 +0000 (15:42 +0000)]
Backport r67478

16 years agoSpeed up Python (according to pybench and 2to3-on-itself) by 1-2% by caching
Jeffrey Yasskin [Wed, 3 Dec 2008 06:46:45 +0000 (06:46 +0000)]
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 #4025 again
Christian Heimes [Wed, 3 Dec 2008 00:53:18 +0000 (00:53 +0000)]
Issue #4025 again
Converted a C99 style comment to a C89 style comment (found by MAL).

16 years agolet people using SVN Sphinx still build the docs
Benjamin Peterson [Mon, 1 Dec 2008 12:52:51 +0000 (12:52 +0000)]
let people using SVN Sphinx still build the docs

16 years agotypo in comment
Skip Montanaro [Mon, 1 Dec 2008 01:55:22 +0000 (01:55 +0000)]
typo in comment

16 years agofix pyspecific extensions that were broken by Sphinx's grand renaming
Benjamin Peterson [Sun, 30 Nov 2008 21:46:16 +0000 (21:46 +0000)]
fix pyspecific extensions that were broken by Sphinx's grand renaming

16 years agow# requires Py_ssize_t
Christian Heimes [Sun, 30 Nov 2008 21:16:28 +0000 (21:16 +0000)]
w# requires Py_ssize_t

16 years agoIssue #4365: Add crtassem.h constants to the msvcrt module.
Martin v. Löwis [Sun, 30 Nov 2008 19:28:27 +0000 (19:28 +0000)]
Issue #4365: Add crtassem.h constants to the msvcrt module.

16 years agonote the version that works
Benjamin Peterson [Sun, 30 Nov 2008 14:43:23 +0000 (14:43 +0000)]
note the version that works

16 years agoIssue #4389: Add icon to the uninstall entry in
Martin v. Löwis [Sun, 30 Nov 2008 11:08:26 +0000 (11:08 +0000)]
Issue #4389: Add icon to the uninstall entry in
"add-and-remove-programs".

16 years agoStringIO.close() stops you from using the buffer, too
Benjamin Peterson [Sun, 30 Nov 2008 03:07:33 +0000 (03:07 +0000)]
StringIO.close() stops you from using the buffer, too

16 years agoFix a small typo in docstring
Amaury Forgeot d'Arc [Sat, 29 Nov 2008 02:03:32 +0000 (02:03 +0000)]
Fix a small typo in docstring

16 years agoSend HTTP headers and message body in a single send() call.
Jeremy Hylton [Sat, 29 Nov 2008 01:09:35 +0000 (01:09 +0000)]
Send HTTP headers and message body in a single send() call.

This change addresses part of issue 4336.

Change endheaders() to take an optional message_body argument
that is sent along with the headers.  Change xmlrpclib and
httplib's other methods to use this new interface.

It is more efficient to make a single send() call, which should
get the entire client request into one packet (assuming it is
smaller than the MTU) and will avoid the long pause for delayed
ack following timeout.

Also:
- Add a comment about the buffer size for makefile().
- Extract _set_content_length() method and fix whitespace issues there.

16 years agoReflow long lines.
Jeremy Hylton [Sat, 29 Nov 2008 00:09:16 +0000 (00:09 +0000)]
Reflow long lines.

16 years agoMove definition int sval into branch of ifdef where it is used.
Jeremy Hylton [Fri, 28 Nov 2008 23:42:59 +0000 (23:42 +0000)]
Move definition int sval into branch of ifdef where it is used.

Otherwise, you get a warning about an undefined variable.

16 years agoSVN format 9 is the same it seems
Benjamin Peterson [Fri, 28 Nov 2008 23:18:46 +0000 (23:18 +0000)]
SVN format 9 is the same it seems

16 years agoMerged revisions 67384,67386-67387,67389-67390,67392,67399-67400,67403-67405,67426...
Benjamin Peterson [Fri, 28 Nov 2008 22:12:14 +0000 (22:12 +0000)]
Merged revisions 67384,67386-67387,67389-67390,67392,67399-67400,67403-67405,67426 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r67384 | benjamin.peterson | 2008-11-25 16:13:31 -0600 (Tue, 25 Nov 2008) | 4 lines

  don't duplicate calls to start_tree()

  RefactoringTool.pre_order values now holds a list of the fixers while pre_order_mapping holds the dict.
........
  r67386 | benjamin.peterson | 2008-11-25 16:44:52 -0600 (Tue, 25 Nov 2008) | 1 line

  #4423 fix_imports was still replacing usage of a module if attributes were being used
........
  r67387 | benjamin.peterson | 2008-11-25 16:47:54 -0600 (Tue, 25 Nov 2008) | 1 line

  fix broken test
........
  r67389 | benjamin.peterson | 2008-11-25 17:13:17 -0600 (Tue, 25 Nov 2008) | 1 line

  remove compatibility code; we only cater to 2.5+
........
  r67390 | benjamin.peterson | 2008-11-25 22:03:36 -0600 (Tue, 25 Nov 2008) | 1 line

  fix #3994; the usage of changed imports was fixed in nested cases
........
  r67392 | benjamin.peterson | 2008-11-26 11:11:40 -0600 (Wed, 26 Nov 2008) | 1 line

  simpilfy and comment fix_imports
........
  r67399 | benjamin.peterson | 2008-11-26 11:47:03 -0600 (Wed, 26 Nov 2008) | 1 line

  remove more compatibility code
........
  r67400 | benjamin.peterson | 2008-11-26 12:07:41 -0600 (Wed, 26 Nov 2008) | 1 line

  set svn:ignore
........
  r67403 | benjamin.peterson | 2008-11-26 13:11:11 -0600 (Wed, 26 Nov 2008) | 1 line

  wrap import
........
  r67404 | benjamin.peterson | 2008-11-26 13:29:49 -0600 (Wed, 26 Nov 2008) | 1 line

  build the fix_imports pattern in compile_pattern, so MAPPING can be changed and reflected in the pattern
........
  r67405 | benjamin.peterson | 2008-11-26 14:01:24 -0600 (Wed, 26 Nov 2008) | 1 line

  stop ugly messages about runtime errors being from printed
........
  r67426 | benjamin.peterson | 2008-11-28 16:01:40 -0600 (Fri, 28 Nov 2008) | 5 lines

  don't replace a module name if it is in the middle of a attribute lookup

  This fix also stops module names from being replaced if they are not in an attribute lookup.
........

16 years agoRetain copyright of processing examples. This was requested by a Debian maintainer...
Christian Heimes [Fri, 28 Nov 2008 19:33:33 +0000 (19:33 +0000)]
Retain copyright of processing examples. This was requested by a Debian maintainer during packaging of the multiprocessing package for 2.4/2.5

16 years agoissue4238: bsd support for cpu_count
Jesse Noller [Fri, 28 Nov 2008 18:59:35 +0000 (18:59 +0000)]
issue4238: bsd support for cpu_count

16 years agomp docs - fix issues 4012,3518,4193
Jesse Noller [Fri, 28 Nov 2008 18:22:54 +0000 (18:22 +0000)]
mp docs - fix issues 4012,3518,4193

16 years agoFixed issue ##3741: DISTUTILS_USE_SDK set causes msvc9compiler.py to raise an exception
Christian Heimes [Fri, 28 Nov 2008 11:02:32 +0000 (11:02 +0000)]
Fixed issue ##3741: DISTUTILS_USE_SDK set causes msvc9compiler.py to raise an exception

16 years ago- Modules/Setup.dist: Update _elementtree, add _bisect, datetime
Matthias Klose [Thu, 27 Nov 2008 10:14:22 +0000 (10:14 +0000)]
- Modules/Setup.dist: Update _elementtree, add _bisect, datetime