]> granicus.if.org Git - python/log
python
16 years agoFix for issue 1627952
Ronald Oussoren [Fri, 2 Jan 2009 14:48:17 +0000 (14:48 +0000)]
Fix for issue 1627952

16 years agoFix for issue 900949
Ronald Oussoren [Fri, 2 Jan 2009 14:46:19 +0000 (14:46 +0000)]
Fix for issue 900949

16 years agoFix for issue1594
Ronald Oussoren [Fri, 2 Jan 2009 14:10:20 +0000 (14:10 +0000)]
Fix for issue1594

16 years agoFix for issue3559: No preferences menu in IDLE on OSX
Ronald Oussoren [Fri, 2 Jan 2009 12:59:32 +0000 (12:59 +0000)]
Fix for issue3559: No preferences menu in IDLE on OSX

1) Add a comment to the help file to that points to the
   preferences menu.

2) An earlier checkin tried to detect Tk >= 8.10.14,
   but did this in the wrong way. The end result of this
   was that the IDLE->Preferences... menu got surpressed
   when using the system version of Tcl/Tk

16 years agoFix for issue 3433
Ronald Oussoren [Fri, 2 Jan 2009 11:46:05 +0000 (11:46 +0000)]
Fix for issue 3433

16 years agoFix for issue4780
Ronald Oussoren [Fri, 2 Jan 2009 10:50:48 +0000 (10:50 +0000)]
Fix for issue4780

16 years agoForgot to add a NEWS item in my previous checkin
Ronald Oussoren [Fri, 2 Jan 2009 10:48:31 +0000 (10:48 +0000)]
Forgot to add a NEWS item in my previous checkin

16 years agoFix for issue4472: "configure --enable-shared doesn't work on OSX"
Ronald Oussoren [Fri, 2 Jan 2009 10:44:46 +0000 (10:44 +0000)]
Fix for issue4472: "configure --enable-shared doesn't work on OSX"

16 years ago#4801 _collections module fails to build on cygwin.
Amaury Forgeot d'Arc [Fri, 2 Jan 2009 00:03:54 +0000 (00:03 +0000)]
#4801 _collections module fails to build on cygwin.

_PyObject_GC_TRACK is the macro version of PyObject_GC_Track,
and according to documentation it should not be used for extension modules.

16 years agowelcome to 2009, Python!
Benjamin Peterson [Thu, 1 Jan 2009 17:29:49 +0000 (17:29 +0000)]
welcome to 2009, Python!

16 years agofix highlighting
Benjamin Peterson [Thu, 1 Jan 2009 16:43:12 +0000 (16:43 +0000)]
fix highlighting

16 years agoIssue #4797: IOError.filename was not set when _fileio.FileIO failed to open
Hirokazu Yamamoto [Thu, 1 Jan 2009 15:45:39 +0000 (15:45 +0000)]
Issue #4797: IOError.filename was not set when _fileio.FileIO failed to open
file with `str' filename on Windows.

16 years agofill in actual issue number in tests
Antoine Pitrou [Thu, 1 Jan 2009 15:38:03 +0000 (15:38 +0000)]
fill in actual issue number in tests

16 years agoIssue #3680: Reference cycles created through a dict, set or deque iterator did not...
Antoine Pitrou [Thu, 1 Jan 2009 14:11:22 +0000 (14:11 +0000)]
Issue #3680: Reference cycles created through a dict, set or deque iterator did not get collected.

16 years ago#4767: Use correct submodules for all MIME classes.
Georg Brandl [Thu, 1 Jan 2009 13:14:49 +0000 (13:14 +0000)]
#4767: Use correct submodules for all MIME classes.

16 years agoHandlers are in the `logging.handlers` module.
Georg Brandl [Thu, 1 Jan 2009 13:05:13 +0000 (13:05 +0000)]
Handlers are in the `logging.handlers` module.

16 years ago#4776: add data_files and package_dir arguments.
Georg Brandl [Thu, 1 Jan 2009 13:02:09 +0000 (13:02 +0000)]
#4776: add data_files and package_dir arguments.

16 years ago#4782: Fix markup error that hid load() and loads().
Georg Brandl [Thu, 1 Jan 2009 12:53:19 +0000 (12:53 +0000)]
#4782: Fix markup error that hid load() and loads().

16 years ago#4784: ... on three counts ...
Georg Brandl [Thu, 1 Jan 2009 12:52:29 +0000 (12:52 +0000)]
#4784: ... on three counts ...

16 years agoPoint to types module in new module deprecation notice.
Georg Brandl [Thu, 1 Jan 2009 12:43:33 +0000 (12:43 +0000)]
Point to types module in new module deprecation notice.

16 years ago#4228: Pack negative values the same way as 2.4
Georg Brandl [Thu, 1 Jan 2009 12:15:31 +0000 (12:15 +0000)]
#4228: Pack negative values the same way as 2.4
in struct's L format.

16 years ago#4222: document dis.findlabels() and dis.findlinestarts() and
Georg Brandl [Thu, 1 Jan 2009 12:09:40 +0000 (12:09 +0000)]
#4222: document dis.findlabels() and dis.findlinestarts() and
put them into dis.__all__.

16 years ago#4185: clarify escape behavior of replacement strings.
Georg Brandl [Thu, 1 Jan 2009 12:00:19 +0000 (12:00 +0000)]
#4185: clarify escape behavior of replacement strings.

16 years ago#4156: make clear that "protocol" is to be replaced with the protocol name.
Georg Brandl [Thu, 1 Jan 2009 11:53:55 +0000 (11:53 +0000)]
#4156: make clear that "protocol" is to be replaced with the protocol name.

16 years ago#4100: note that element children are not necessarily present on "start" events.
Georg Brandl [Thu, 1 Jan 2009 11:46:51 +0000 (11:46 +0000)]
#4100: note that element children are not necessarily present on "start" events.

16 years agosimplfy code
Benjamin Peterson [Thu, 1 Jan 2009 04:04:41 +0000 (04:04 +0000)]
simplfy code

16 years ago#4795 inspect.isgeneratorfunction() should return False instead of None
Benjamin Peterson [Wed, 31 Dec 2008 23:48:39 +0000 (23:48 +0000)]
#4795 inspect.isgeneratorfunction() should return False instead of None

16 years agoJust inserted blank line.
Hirokazu Yamamoto [Wed, 31 Dec 2008 05:47:19 +0000 (05:47 +0000)]
Just inserted blank line.

16 years agoFixed compile error on windows.
Hirokazu Yamamoto [Wed, 31 Dec 2008 05:24:37 +0000 (05:24 +0000)]
Fixed compile error on windows.

16 years agofix name collision issues
Benjamin Peterson [Wed, 31 Dec 2008 04:08:55 +0000 (04:08 +0000)]
fix name collision issues

16 years ago#4788 qualify some bare except clauses
Benjamin Peterson [Wed, 31 Dec 2008 03:37:51 +0000 (03:37 +0000)]
#4788 qualify some bare except clauses

16 years agoFixed #4702: Throwing DistutilsPlatformError instead of IOError under win32 if MSVC...
Tarek Ziadé [Tue, 30 Dec 2008 23:03:41 +0000 (23:03 +0000)]
Fixed #4702: Throwing DistutilsPlatformError instead of IOError under win32 if MSVC is not found

16 years ago#4778: attributes can't be called.
Georg Brandl [Tue, 30 Dec 2008 10:15:49 +0000 (10:15 +0000)]
#4778: attributes can't be called.

16 years agoMinor documentation change relating to NullHandler.
Vinay Sajip [Tue, 30 Dec 2008 07:01:25 +0000 (07:01 +0000)]
Minor documentation change relating to NullHandler.

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.