]> granicus.if.org Git - python/log
python
16 years agoIssue #4701: implicitly call PyType_Ready from PyObject_Hash
Nick Coghlan [Tue, 30 Dec 2008 01:18:48 +0000 (01:18 +0000)]
Issue #4701: implicitly call PyType_Ready from PyObject_Hash

16 years agofixed #4646 : distutils was choking on empty options arg in the setup function.
Tarek Ziadé [Mon, 29 Dec 2008 22:23:53 +0000 (22:23 +0000)]
fixed #4646 : distutils was choking on empty options arg in the setup function.

16 years agofix French
Benjamin Peterson [Mon, 29 Dec 2008 21:38:14 +0000 (21:38 +0000)]
fix French

16 years agoIssue #1040026: Fix os.times result on systems where HZ is incorrect.
Martin v. Löwis [Mon, 29 Dec 2008 18:17:34 +0000 (18:17 +0000)]
Issue #1040026: Fix os.times result on systems where HZ is incorrect.

16 years ago#4764 in io.open, set IOError.filename when trying to open a directory on POSIX platforms
Benjamin Peterson [Mon, 29 Dec 2008 17:56:58 +0000 (17:56 +0000)]
#4764 in io.open, set IOError.filename when trying to open a directory on POSIX platforms

16 years ago#4764 set IOError.filename when trying to open a directory on POSIX platforms
Benjamin Peterson [Mon, 29 Dec 2008 17:47:42 +0000 (17:47 +0000)]
#4764 set IOError.filename when trying to open a directory on POSIX platforms

16 years agoIssue #3767: Convert Tk object to string in tkColorChooser.
Martin v. Löwis [Mon, 29 Dec 2008 16:22:25 +0000 (16:22 +0000)]
Issue #3767: Convert Tk object to string in tkColorChooser.

16 years agoIssue #3248: Allow placing ScrolledText in a PanedWindow.
Martin v. Löwis [Mon, 29 Dec 2008 15:51:01 +0000 (15:51 +0000)]
Issue #3248: Allow placing ScrolledText in a PanedWindow.

16 years ago#4763 PyErr_ExceptionMatches won't blow up with NULL arguments
Benjamin Peterson [Sun, 28 Dec 2008 21:16:07 +0000 (21:16 +0000)]
#4763 PyErr_ExceptionMatches won't blow up with NULL arguments

16 years agoUpdate the fix for issue4064 to deal correctly with all three variants of
Ronald Oussoren [Sun, 28 Dec 2008 19:50:40 +0000 (19:50 +0000)]
Update the fix for issue4064 to deal correctly with all three variants of
universal builds that are presented by the configure script.

16 years agoIssue4064: architecture string for universal builds on OSX
Ronald Oussoren [Sun, 28 Dec 2008 19:40:56 +0000 (19:40 +0000)]
Issue4064: architecture string for universal builds on OSX

16 years agoIssue #2153: modernize coding style of unittest.py, remove obsolete compatibility...
Antoine Pitrou [Sun, 28 Dec 2008 16:01:11 +0000 (16:01 +0000)]
Issue #2153: modernize coding style of unittest.py, remove obsolete compatibility stuff.
Patch by Virgil Dupras.

16 years agofix WORD_BIGEDIAN declaration in Universal builds; fixes #4060 and #4728
Benjamin Peterson [Sun, 28 Dec 2008 15:37:31 +0000 (15:37 +0000)]
fix WORD_BIGEDIAN declaration in Universal builds; fixes #4060 and #4728

16 years agowrong version number in doc changes committed in r67979
Antoine Pitrou [Sun, 28 Dec 2008 14:24:29 +0000 (14:24 +0000)]
wrong version number in doc changes committed in r67979

16 years agoIssue #4444: Allow assertRaises() to be used as a context handler.
Antoine Pitrou [Sun, 28 Dec 2008 14:09:36 +0000 (14:09 +0000)]
Issue #4444: Allow assertRaises() to be used as a context handler.

16 years ago#4731: clarify message about missing module prerequisites.
Georg Brandl [Sun, 28 Dec 2008 11:58:49 +0000 (11:58 +0000)]
#4731: clarify message about missing module prerequisites.

16 years agoBackport r67974:
Georg Brandl [Sun, 28 Dec 2008 11:54:53 +0000 (11:54 +0000)]
Backport r67974:

#4759: allow None as first argument of bytearray.translate(), for consistency with bytes.translate().

Also fix segfault for bytearray.translate(x, None) -- will backport this part to 3.0 and 2.6.

16 years agoDocument Py_VaBuildValue.
Alexandre Vassalotti [Sun, 28 Dec 2008 02:58:22 +0000 (02:58 +0000)]
Document Py_VaBuildValue.

16 years agoSort UCS-2/UCS-4 name mangling list.
Alexandre Vassalotti [Sun, 28 Dec 2008 02:10:35 +0000 (02:10 +0000)]
Sort UCS-2/UCS-4 name mangling list.

16 years agoFix name mangling of PyUnicode_ClearFreeList.
Alexandre Vassalotti [Sun, 28 Dec 2008 01:52:58 +0000 (01:52 +0000)]
Fix name mangling of PyUnicode_ClearFreeList.

16 years agofix markup
Benjamin Peterson [Sat, 27 Dec 2008 22:18:58 +0000 (22:18 +0000)]
fix markup

16 years agoIssue #4677: add two list comprehension tests to pybench.
Antoine Pitrou [Sat, 27 Dec 2008 20:34:52 +0000 (20:34 +0000)]
Issue #4677: add two list comprehension tests to pybench.

16 years ago#4671: document that pydoc imports modules.
Georg Brandl [Sat, 27 Dec 2008 19:11:15 +0000 (19:11 +0000)]
#4671: document that pydoc imports modules.

16 years agoUse :samp: role.
Georg Brandl [Sat, 27 Dec 2008 19:06:04 +0000 (19:06 +0000)]
Use :samp: role.

16 years ago#4695: fix backslashery.
Georg Brandl [Sat, 27 Dec 2008 19:04:44 +0000 (19:04 +0000)]
#4695: fix backslashery.

16 years ago#4682: 'b' is actually unsigned char.
Georg Brandl [Sat, 27 Dec 2008 19:02:59 +0000 (19:02 +0000)]
#4682: 'b' is actually unsigned char.

16 years ago#4754: improve winsound documentation.
Georg Brandl [Sat, 27 Dec 2008 18:49:19 +0000 (18:49 +0000)]
#4754: improve winsound documentation.

16 years agoFollow-up to r67746 in order to restore backwards-compatibility for
Georg Brandl [Sat, 27 Dec 2008 18:27:53 +0000 (18:27 +0000)]
Follow-up to r67746 in order to restore backwards-compatibility for
those who (monkey-)patch TextWrapper.wordsep_re with a custom RE.

16 years ago#4748 lambda generators shouldn't return values
Benjamin Peterson [Sat, 27 Dec 2008 18:24:11 +0000 (18:24 +0000)]
#4748 lambda generators shouldn't return values

16 years agoPatch #4739 by David Laban: add symbols to pydoc help topics,
Georg Brandl [Sat, 27 Dec 2008 18:20:04 +0000 (18:20 +0000)]
Patch #4739 by David Laban: add symbols to pydoc help topics,
so that ``help('@')`` works as expected.

16 years ago#4752: actually use custom handler in example.
Georg Brandl [Sat, 27 Dec 2008 17:42:40 +0000 (17:42 +0000)]
#4752: actually use custom handler in example.

16 years agoIssue #4756: zipfile.is_zipfile() now supports file-like objects.
Antoine Pitrou [Sat, 27 Dec 2008 15:43:12 +0000 (15:43 +0000)]
Issue #4756: zipfile.is_zipfile() now supports file-like objects.
Patch by Gabriel Genellina.

16 years agoFix bogus unicode tests in pickletester.
Alexandre Vassalotti [Sat, 27 Dec 2008 10:02:59 +0000 (10:02 +0000)]
Fix bogus unicode tests in pickletester.

16 years agoAdd Misc/NEWS entry for r67934.
Alexandre Vassalotti [Sat, 27 Dec 2008 07:13:01 +0000 (07:13 +0000)]
Add Misc/NEWS entry for r67934.

16 years agoFix issue #4730: cPickle corrupts high-unicode strings.
Alexandre Vassalotti [Sat, 27 Dec 2008 07:08:47 +0000 (07:08 +0000)]
Fix issue #4730: cPickle corrupts high-unicode strings.
Update outdated copy of PyUnicode_EncodeRawUnicodeEscape.
Add a test case.

16 years agoRemove unnecessary casts related to unicode_decode_call_errorhandler.
Alexandre Vassalotti [Sat, 27 Dec 2008 06:36:10 +0000 (06:36 +0000)]
Remove unnecessary casts related to unicode_decode_call_errorhandler.
Make the _PyUnicode_Resize macro a static function.

These changes are needed to avoid breaking strict aliasing rules.

16 years agoIssue #4740: Use HIGHEST_PROTOCOL in pickle test.
Hirokazu Yamamoto [Sat, 27 Dec 2008 04:19:48 +0000 (04:19 +0000)]
Issue #4740: Use HIGHEST_PROTOCOL in pickle test.
(There is no behavior difference in 2.x because HIGHEST_PROTOCOL == 2)

16 years agopython version is included in file name now
Benjamin Peterson [Fri, 26 Dec 2008 23:26:30 +0000 (23:26 +0000)]
python version is included in file name now

16 years agofixed #4400 : distutils .pypirc default generated file was broken.
Tarek Ziadé [Wed, 24 Dec 2008 19:10:05 +0000 (19:10 +0000)]
fixed #4400 : distutils .pypirc default generated file was broken.

16 years agopretend exceptions don't exist a while longer
Benjamin Peterson [Wed, 24 Dec 2008 16:10:05 +0000 (16:10 +0000)]
pretend exceptions don't exist a while longer

16 years ago#4736 BufferRWPair.closed shouldn't try to call another property as a function
Benjamin Peterson [Wed, 24 Dec 2008 15:10:27 +0000 (15:10 +0000)]
#4736 BufferRWPair.closed shouldn't try to call another property as a function

16 years agomake global static
Benjamin Peterson [Tue, 23 Dec 2008 20:12:33 +0000 (20:12 +0000)]
make global static

16 years agouse a global variable, so the compiler doesn't optimize the assignment out
Benjamin Peterson [Tue, 23 Dec 2008 20:09:28 +0000 (20:09 +0000)]
use a global variable, so the compiler doesn't optimize the assignment out

16 years agoMarkup fix.
Georg Brandl [Tue, 23 Dec 2008 15:44:25 +0000 (15:44 +0000)]
Markup fix.

16 years agoFix missing "svn" command.
Georg Brandl [Tue, 23 Dec 2008 12:37:21 +0000 (12:37 +0000)]
Fix missing "svn" command.

16 years agoAs a result of a regression that snuck into 2.5.3 add a test case that
Skip Montanaro [Tue, 23 Dec 2008 03:30:15 +0000 (03:30 +0000)]
As a result of a regression that snuck into 2.5.3 add a test case that
ensures that when you try to read from a file opened for writing an IOError
is raised.

16 years agosilence compiler warning
Benjamin Peterson [Mon, 22 Dec 2008 22:12:19 +0000 (22:12 +0000)]
silence compiler warning

16 years agoadd NEWS note
Benjamin Peterson [Mon, 22 Dec 2008 20:52:53 +0000 (20:52 +0000)]
add NEWS note

16 years agofix #4720: the format to PyArg_ParseTupleAndKeywords can now start with '|'
Benjamin Peterson [Mon, 22 Dec 2008 20:51:15 +0000 (20:51 +0000)]
fix #4720: the format to PyArg_ParseTupleAndKeywords can now start with '|'

16 years agoless attitude
Benjamin Peterson [Mon, 22 Dec 2008 20:44:58 +0000 (20:44 +0000)]
less attitude

16 years agoadd py3k warnings to frame.f_exc_*
Benjamin Peterson [Mon, 22 Dec 2008 20:16:25 +0000 (20:16 +0000)]
add py3k warnings to frame.f_exc_*

16 years agocompute DISTVERSION with patchlevel.py
Benjamin Peterson [Sun, 21 Dec 2008 21:00:53 +0000 (21:00 +0000)]
compute DISTVERSION with patchlevel.py

16 years agoAdd Tarek for work on distutils.
Neal Norwitz [Sun, 21 Dec 2008 14:28:32 +0000 (14:28 +0000)]
Add Tarek for work on distutils.

16 years agoMerged revisions 67809 via svnmerge from
Benjamin Peterson [Sun, 21 Dec 2008 01:29:32 +0000 (01:29 +0000)]
Merged revisions 67809 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r67809 | benjamin.peterson | 2008-12-15 21:54:45 -0600 (Mon, 15 Dec 2008) | 1 line

  fix logic error
........

16 years agothere are way too many places which need to have the current version added
Benjamin Peterson [Sun, 21 Dec 2008 01:14:47 +0000 (01:14 +0000)]
there are way too many places which need to have the current version added

16 years agoupdate readme
Benjamin Peterson [Sun, 21 Dec 2008 01:12:26 +0000 (01:12 +0000)]
update readme

16 years agosphinx.web is long gone
Benjamin Peterson [Sun, 21 Dec 2008 01:04:32 +0000 (01:04 +0000)]
sphinx.web is long gone

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.