]> granicus.if.org Git - python/log
python
16 years agoAdd "suspicious" builder which finds leftover markup in the HTML files.
Georg Brandl [Sun, 4 Jan 2009 10:23:49 +0000 (10:23 +0000)]
Add "suspicious" builder which finds leftover markup in the HTML files.

Patch by Gabriel Genellina.

16 years agoTest commit.
Georg Brandl [Sun, 4 Jan 2009 08:26:10 +0000 (08:26 +0000)]
Test commit.

16 years agoonly check the actual compile() call for a SyntaxError
Benjamin Peterson [Sun, 4 Jan 2009 00:39:07 +0000 (00:39 +0000)]
only check the actual compile() call for a SyntaxError

16 years agofixed #1702551: distutils sdist was not pruning VCS directories under win32
Tarek Ziadé [Sun, 4 Jan 2009 00:04:49 +0000 (00:04 +0000)]
fixed #1702551: distutils sdist was not pruning VCS directories under win32

16 years agoAdd temporary code to fix the automatic doc build failure.
Georg Brandl [Sat, 3 Jan 2009 22:15:42 +0000 (22:15 +0000)]
Add temporary code to fix the automatic doc build failure.

16 years agoManually merge r67868 from 2.6 branch.
Georg Brandl [Sat, 3 Jan 2009 22:05:22 +0000 (22:05 +0000)]
Manually merge r67868 from 2.6 branch.

16 years agoManually merge r68095,68186,68187,68188,68190 from 2.6 branch.
Georg Brandl [Sat, 3 Jan 2009 22:03:11 +0000 (22:03 +0000)]
Manually merge r68095,68186,68187,68188,68190 from 2.6 branch.

16 years agoGrammar fix.
Georg Brandl [Sat, 3 Jan 2009 21:52:16 +0000 (21:52 +0000)]
Grammar fix.

16 years agoThe _tkinter module functions "createfilehandler", "deletefilehandler",
Guilherme Polo [Sat, 3 Jan 2009 21:51:09 +0000 (21:51 +0000)]
The _tkinter module functions "createfilehandler", "deletefilehandler",
"createtimerhandler", "mainloop", "dooneevent" and "quit" have been
deprecated for removal in 3.x (part of issue #3638).

16 years agoDisable the line length checker by default.
Georg Brandl [Sat, 3 Jan 2009 21:11:58 +0000 (21:11 +0000)]
Disable the line length checker by default.

16 years agoRemove tabs from the documentation.
Georg Brandl [Sat, 3 Jan 2009 21:04:55 +0000 (21:04 +0000)]
Remove tabs from the documentation.

16 years agoRemove trailing whitespace.
Georg Brandl [Sat, 3 Jan 2009 20:55:06 +0000 (20:55 +0000)]
Remove trailing whitespace.

16 years agoFix uses of the default role.
Georg Brandl [Sat, 3 Jan 2009 20:47:01 +0000 (20:47 +0000)]
Fix uses of the default role.

16 years agoRecognize usage of the default role.
Georg Brandl [Sat, 3 Jan 2009 20:38:59 +0000 (20:38 +0000)]
Recognize usage of the default role.

16 years agoAdd rstlint, a little tool to find subtle markup problems and inconsistencies in...
Georg Brandl [Sat, 3 Jan 2009 20:30:15 +0000 (20:30 +0000)]
Add rstlint, a little tool to find subtle markup problems and inconsistencies in the Doc sources.

16 years agoFix role name.
Georg Brandl [Sat, 3 Jan 2009 20:15:14 +0000 (20:15 +0000)]
Fix role name.

16 years agoMake indentation consistent.
Georg Brandl [Sat, 3 Jan 2009 19:44:48 +0000 (19:44 +0000)]
Make indentation consistent.

16 years agoSet eol-style correctly for mp_distributing.py.
Georg Brandl [Sat, 3 Jan 2009 19:10:12 +0000 (19:10 +0000)]
Set eol-style correctly for mp_distributing.py.

16 years agoReapply r68191.
Raymond Hettinger [Sat, 3 Jan 2009 19:08:10 +0000 (19:08 +0000)]
Reapply r68191.

16 years agoIssue 4796: Add from_float methods to the decimal module.
Raymond Hettinger [Sat, 3 Jan 2009 19:02:23 +0000 (19:02 +0000)]
Issue 4796: Add from_float methods to the decimal module.

16 years agoIssue #4817: Remove unused function PyOS_GetLastModificationTime.
Martin v. Löwis [Sat, 3 Jan 2009 17:19:26 +0000 (17:19 +0000)]
Issue #4817: Remove unused function PyOS_GetLastModificationTime.

16 years agoMerged revisions 67900-67901,67919,67928,67984,67991-67993,68106-68108,68110 via...
Benjamin Peterson [Sat, 3 Jan 2009 16:34:02 +0000 (16:34 +0000)]
Merged revisions 67900-67901,67919,67928,67984,67991-67993,68106-68108,68110 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r67900 | benjamin.peterson | 2008-12-22 14:02:45 -0600 (Mon, 22 Dec 2008) | 4 lines

  fix_execfile: wrap the open(fn).read() call in compile(), so the filename is preserved

  also add unittests for the fixer
........
  r67901 | benjamin.peterson | 2008-12-22 14:09:55 -0600 (Mon, 22 Dec 2008) | 1 line

  remove unused import
........
  r67919 | benjamin.peterson | 2008-12-23 13:12:22 -0600 (Tue, 23 Dec 2008) | 1 line

  copy permission bits from the backup to the original
........
  r67928 | benjamin.peterson | 2008-12-26 20:49:30 -0600 (Fri, 26 Dec 2008) | 1 line

  don't be so idiot about multiple local imports in fix_import; still won't handle absolute and local imports on the same line
........
  r67984 | benjamin.peterson | 2008-12-28 09:55:16 -0600 (Sun, 28 Dec 2008) | 1 line

  don't need loop
........
  r67991 | benjamin.peterson | 2008-12-28 14:30:26 -0600 (Sun, 28 Dec 2008) | 1 line

  actually call finish_tree()
........
  r67992 | benjamin.peterson | 2008-12-28 14:34:47 -0600 (Sun, 28 Dec 2008) | 1 line

  remove useless test
........
  r67993 | benjamin.peterson | 2008-12-28 15:04:32 -0600 (Sun, 28 Dec 2008) | 1 line

  update pyk3's test grammar
........
  r68106 | benjamin.peterson | 2008-12-31 11:53:58 -0600 (Wed, 31 Dec 2008) | 1 line

  #2734 don't convert every instance of long (eg if it's an attribute)
........
  r68107 | benjamin.peterson | 2008-12-31 11:55:10 -0600 (Wed, 31 Dec 2008) | 1 line

  add another test
........
  r68108 | benjamin.peterson | 2008-12-31 12:00:12 -0600 (Wed, 31 Dec 2008) | 1 line

  don't change long even if it's the only argument name
........
  r68110 | benjamin.peterson | 2008-12-31 14:13:26 -0600 (Wed, 31 Dec 2008) | 1 line

  remove unused import
........

16 years agoFix indentation.
Georg Brandl [Sat, 3 Jan 2009 14:29:53 +0000 (14:29 +0000)]
Fix indentation.

16 years agoRemove useless string literal.
Georg Brandl [Sat, 3 Jan 2009 13:45:15 +0000 (13:45 +0000)]
Remove useless string literal.

16 years agoIssue #4812: further renaming of internal Decimal constants, for clarity.
Mark Dickinson [Sat, 3 Jan 2009 12:07:20 +0000 (12:07 +0000)]
Issue #4812:  further renaming of internal Decimal constants, for clarity.

16 years agoIssue #4812: add missing underscore prefix to some internal-use-only
Mark Dickinson [Fri, 2 Jan 2009 23:07:08 +0000 (23:07 +0000)]
Issue #4812: add missing underscore prefix to some internal-use-only
constants in the decimal module.  (Dec_0 becomes _Dec_0, etc.)

16 years agoIssue #4615. Document how to use itertools for de-duping.
Raymond Hettinger [Fri, 2 Jan 2009 21:26:45 +0000 (21:26 +0000)]
Issue #4615.  Document how to use itertools for de-duping.

16 years agoAdd various items
Andrew M. Kuchling [Fri, 2 Jan 2009 21:00:35 +0000 (21:00 +0000)]
Add various items

16 years agofix compilation on non-Windows platforms
Benjamin Peterson [Fri, 2 Jan 2009 20:47:27 +0000 (20:47 +0000)]
fix compilation on non-Windows platforms

16 years agoIssue #4051: Prevent conflict of UNICODE macros in cPickle.
Martin v. Löwis [Fri, 2 Jan 2009 20:40:14 +0000 (20:40 +0000)]
Issue #4051: Prevent conflict of UNICODE macros in cPickle.

16 years agoIssue #4075: Use OutputDebugStringW in Py_FatalError.
Martin v. Löwis [Fri, 2 Jan 2009 20:32:55 +0000 (20:32 +0000)]
Issue #4075: Use OutputDebugStringW in Py_FatalError.

16 years ago#4811: fix markup glitches (mostly remains of the conversion),
Georg Brandl [Fri, 2 Jan 2009 20:25:14 +0000 (20:25 +0000)]
#4811: fix markup glitches (mostly remains of the conversion),
found by Gabriel Genellina.

16 years agoMinor documentation changes relating to NullHandler, the module used for handlers...
Vinay Sajip [Fri, 2 Jan 2009 18:53:04 +0000 (18:53 +0000)]
Minor documentation changes relating to NullHandler, the module used for handlers and references to ConfigParser.

16 years agodocument PyMemberDef
Benjamin Peterson [Fri, 2 Jan 2009 18:26:23 +0000 (18:26 +0000)]
document PyMemberDef

16 years agoFix for issues #841800 and #900506
Ronald Oussoren [Fri, 2 Jan 2009 15:25:36 +0000 (15:25 +0000)]
Fix for issues #841800 and #900506

16 years agoFix for issue 4472 is incompatible with Cygwin, this patch
Ronald Oussoren [Fri, 2 Jan 2009 15:06:00 +0000 (15:06 +0000)]
Fix for issue 4472 is incompatible with Cygwin, this patch
should fix that.

16 years agoFix for issue 1149804
Ronald Oussoren [Fri, 2 Jan 2009 15:00:05 +0000 (15:00 +0000)]
Fix for issue 1149804

16 years agoFix for issue r1737832
Ronald Oussoren [Fri, 2 Jan 2009 14:52:09 +0000 (14:52 +0000)]
Fix for issue r1737832

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.