]>
granicus.if.org Git - python/log
Georg Brandl [Sat, 3 Jan 2009 22:05:22 +0000 (22:05 +0000)]
Manually merge r67868 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.
Georg Brandl [Sat, 3 Jan 2009 21:52:16 +0000 (21:52 +0000)]
Grammar fix.
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).
Georg Brandl [Sat, 3 Jan 2009 21:11:58 +0000 (21:11 +0000)]
Disable the line length checker by default.
Georg Brandl [Sat, 3 Jan 2009 21:04:55 +0000 (21:04 +0000)]
Remove tabs from the documentation.
Georg Brandl [Sat, 3 Jan 2009 20:55:06 +0000 (20:55 +0000)]
Remove trailing whitespace.
Georg Brandl [Sat, 3 Jan 2009 20:47:01 +0000 (20:47 +0000)]
Fix uses of the default role.
Georg Brandl [Sat, 3 Jan 2009 20:38:59 +0000 (20:38 +0000)]
Recognize usage of the default role.
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.
Georg Brandl [Sat, 3 Jan 2009 20:15:14 +0000 (20:15 +0000)]
Fix role name.
Georg Brandl [Sat, 3 Jan 2009 19:44:48 +0000 (19:44 +0000)]
Make indentation consistent.
Georg Brandl [Sat, 3 Jan 2009 19:10:12 +0000 (19:10 +0000)]
Set eol-style correctly for mp_distributing.py.
Raymond Hettinger [Sat, 3 Jan 2009 19:08:10 +0000 (19:08 +0000)]
Reapply r68191.
Raymond Hettinger [Sat, 3 Jan 2009 19:02:23 +0000 (19:02 +0000)]
Issue 4796: Add from_float methods to the decimal module.
Martin v. Löwis [Sat, 3 Jan 2009 17:19:26 +0000 (17:19 +0000)]
Issue #4817: Remove unused function PyOS_GetLastModificationTime.
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
........
Georg Brandl [Sat, 3 Jan 2009 14:29:53 +0000 (14:29 +0000)]
Fix indentation.
Georg Brandl [Sat, 3 Jan 2009 13:45:15 +0000 (13:45 +0000)]
Remove useless string literal.
Mark Dickinson [Sat, 3 Jan 2009 12:07:20 +0000 (12:07 +0000)]
Issue #4812: further renaming of internal Decimal constants, for clarity.
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.)
Raymond Hettinger [Fri, 2 Jan 2009 21:26:45 +0000 (21:26 +0000)]
Issue #4615. Document how to use itertools for de-duping.
Andrew M. Kuchling [Fri, 2 Jan 2009 21:00:35 +0000 (21:00 +0000)]
Add various items
Benjamin Peterson [Fri, 2 Jan 2009 20:47:27 +0000 (20:47 +0000)]
fix compilation on non-Windows platforms
Martin v. Löwis [Fri, 2 Jan 2009 20:40:14 +0000 (20:40 +0000)]
Issue #4051: Prevent conflict of UNICODE macros in cPickle.
Martin v. Löwis [Fri, 2 Jan 2009 20:32:55 +0000 (20:32 +0000)]
Issue #4075: Use OutputDebugStringW in Py_FatalError.
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.
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.
Benjamin Peterson [Fri, 2 Jan 2009 18:26:23 +0000 (18:26 +0000)]
document PyMemberDef
Ronald Oussoren [Fri, 2 Jan 2009 15:25:36 +0000 (15:25 +0000)]
Fix for issues #841800 and #900506
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.
Ronald Oussoren [Fri, 2 Jan 2009 15:00:05 +0000 (15:00 +0000)]
Ronald Oussoren [Fri, 2 Jan 2009 14:52:09 +0000 (14:52 +0000)]
Fix for issue r1737832
Ronald Oussoren [Fri, 2 Jan 2009 14:48:17 +0000 (14:48 +0000)]
Ronald Oussoren [Fri, 2 Jan 2009 14:46:19 +0000 (14:46 +0000)]
Fix for issue 900949
Ronald Oussoren [Fri, 2 Jan 2009 14:10:20 +0000 (14:10 +0000)]
Fix for issue1594
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
Ronald Oussoren [Fri, 2 Jan 2009 11:46:05 +0000 (11:46 +0000)]
Fix for issue 3433
Ronald Oussoren [Fri, 2 Jan 2009 10:50:48 +0000 (10:50 +0000)]
Fix for issue4780
Ronald Oussoren [Fri, 2 Jan 2009 10:48:31 +0000 (10:48 +0000)]
Forgot to add a NEWS item in my previous checkin
Ronald Oussoren [Fri, 2 Jan 2009 10:44:46 +0000 (10:44 +0000)]
Fix for issue4472: "configure --enable-shared doesn't work on OSX"
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.
Benjamin Peterson [Thu, 1 Jan 2009 17:29:49 +0000 (17:29 +0000)]
welcome to 2009, Python!
Benjamin Peterson [Thu, 1 Jan 2009 16:43:12 +0000 (16:43 +0000)]
fix highlighting
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.
Antoine Pitrou [Thu, 1 Jan 2009 15:38:03 +0000 (15:38 +0000)]
fill in actual issue number in tests
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.
Georg Brandl [Thu, 1 Jan 2009 13:14:49 +0000 (13:14 +0000)]
#4767: Use correct submodules for all MIME classes.
Georg Brandl [Thu, 1 Jan 2009 13:05:13 +0000 (13:05 +0000)]
Handlers are in the `logging.handlers` module.
Georg Brandl [Thu, 1 Jan 2009 13:02:09 +0000 (13:02 +0000)]
#4776: add data_files and package_dir arguments.
Georg Brandl [Thu, 1 Jan 2009 12:53:19 +0000 (12:53 +0000)]
#4782: Fix markup error that hid load() and loads().
Georg Brandl [Thu, 1 Jan 2009 12:52:29 +0000 (12:52 +0000)]
#4784: ... on three counts ...
Georg Brandl [Thu, 1 Jan 2009 12:43:33 +0000 (12:43 +0000)]
Point to types module in new module deprecation notice.
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.
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__.
Georg Brandl [Thu, 1 Jan 2009 12:00:19 +0000 (12:00 +0000)]
#4185: clarify escape behavior of replacement strings.
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.
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.
Benjamin Peterson [Thu, 1 Jan 2009 04:04:41 +0000 (04:04 +0000)]
simplfy code
Benjamin Peterson [Wed, 31 Dec 2008 23:48:39 +0000 (23:48 +0000)]
#4795 inspect.isgeneratorfunction() should return False instead of None
Hirokazu Yamamoto [Wed, 31 Dec 2008 05:47:19 +0000 (05:47 +0000)]
Just inserted blank line.
Hirokazu Yamamoto [Wed, 31 Dec 2008 05:24:37 +0000 (05:24 +0000)]
Fixed compile error on windows.
Benjamin Peterson [Wed, 31 Dec 2008 04:08:55 +0000 (04:08 +0000)]
fix name collision issues
Benjamin Peterson [Wed, 31 Dec 2008 03:37:51 +0000 (03:37 +0000)]
#4788 qualify some bare except clauses
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
Georg Brandl [Tue, 30 Dec 2008 10:15:49 +0000 (10:15 +0000)]
#4778: attributes can't be called.
Vinay Sajip [Tue, 30 Dec 2008 07:01:25 +0000 (07:01 +0000)]
Minor documentation change relating to NullHandler.
Nick Coghlan [Tue, 30 Dec 2008 01:18:48 +0000 (01:18 +0000)]
Issue #4701: implicitly call PyType_Ready from PyObject_Hash
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.
Benjamin Peterson [Mon, 29 Dec 2008 21:38:14 +0000 (21:38 +0000)]
fix French
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.
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
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
Martin v. Löwis [Mon, 29 Dec 2008 16:22:25 +0000 (16:22 +0000)]
Issue #3767: Convert Tk object to string in tkColorChooser.
Martin v. Löwis [Mon, 29 Dec 2008 15:51:01 +0000 (15:51 +0000)]
Issue #3248: Allow placing ScrolledText in a PanedWindow.
Benjamin Peterson [Sun, 28 Dec 2008 21:16:07 +0000 (21:16 +0000)]
#4763 PyErr_ExceptionMatches won't blow up with NULL arguments
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.
Ronald Oussoren [Sun, 28 Dec 2008 19:40:56 +0000 (19:40 +0000)]
Issue4064: architecture string for universal builds on OSX
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.
Benjamin Peterson [Sun, 28 Dec 2008 15:37:31 +0000 (15:37 +0000)]
fix WORD_BIGEDIAN declaration in Universal builds; fixes #4060 and #4728
Antoine Pitrou [Sun, 28 Dec 2008 14:24:29 +0000 (14:24 +0000)]
wrong version number in doc changes committed in r67979
Antoine Pitrou [Sun, 28 Dec 2008 14:09:36 +0000 (14:09 +0000)]
Issue #4444: Allow assertRaises() to be used as a context handler.
Georg Brandl [Sun, 28 Dec 2008 11:58:49 +0000 (11:58 +0000)]
#4731: clarify message about missing module prerequisites.
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.
Alexandre Vassalotti [Sun, 28 Dec 2008 02:58:22 +0000 (02:58 +0000)]
Document Py_VaBuildValue.
Alexandre Vassalotti [Sun, 28 Dec 2008 02:10:35 +0000 (02:10 +0000)]
Sort UCS-2/UCS-4 name mangling list.
Alexandre Vassalotti [Sun, 28 Dec 2008 01:52:58 +0000 (01:52 +0000)]
Fix name mangling of PyUnicode_ClearFreeList.
Benjamin Peterson [Sat, 27 Dec 2008 22:18:58 +0000 (22:18 +0000)]
fix markup
Antoine Pitrou [Sat, 27 Dec 2008 20:34:52 +0000 (20:34 +0000)]
Issue #4677: add two list comprehension tests to pybench.
Georg Brandl [Sat, 27 Dec 2008 19:11:15 +0000 (19:11 +0000)]
#4671: document that pydoc imports modules.
Georg Brandl [Sat, 27 Dec 2008 19:06:04 +0000 (19:06 +0000)]
Use :samp: role.
Georg Brandl [Sat, 27 Dec 2008 19:04:44 +0000 (19:04 +0000)]
#4695: fix backslashery.
Georg Brandl [Sat, 27 Dec 2008 19:02:59 +0000 (19:02 +0000)]
#4682: 'b' is actually unsigned char.
Georg Brandl [Sat, 27 Dec 2008 18:49:19 +0000 (18:49 +0000)]
#4754: improve winsound documentation.
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.
Benjamin Peterson [Sat, 27 Dec 2008 18:24:11 +0000 (18:24 +0000)]
#4748 lambda generators shouldn't return values
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.
Georg Brandl [Sat, 27 Dec 2008 17:42:40 +0000 (17:42 +0000)]
#4752: actually use custom handler in example.
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.
Alexandre Vassalotti [Sat, 27 Dec 2008 10:02:59 +0000 (10:02 +0000)]
Fix bogus unicode tests in pickletester.