]> granicus.if.org Git - python/log
python
15 years agoSilence gcc 'comparison always false' warning
Mark Dickinson [Fri, 28 Aug 2009 20:46:24 +0000 (20:46 +0000)]
Silence gcc 'comparison always false' warning

15 years agoIssue #6054: Do not normalize stored pathnames.
Lars Gustäbel [Fri, 28 Aug 2009 19:23:44 +0000 (19:23 +0000)]
Issue #6054: Do not normalize stored pathnames.

No longer use tarfile.normpath() on pathnames. Store pathnames
unchanged, i.e. do not remove "./", "../" and "//" occurrences.
However, still convert absolute to relative paths.

15 years agoremove more code for restricted execution
Benjamin Peterson [Fri, 28 Aug 2009 16:49:56 +0000 (16:49 +0000)]
remove more code for restricted execution

15 years agorestricted environments are no more
Benjamin Peterson [Fri, 28 Aug 2009 16:48:03 +0000 (16:48 +0000)]
restricted environments are no more

15 years agoIssue #6794: Fix handling of NaNs in Decimal.compare_total and
Mark Dickinson [Fri, 28 Aug 2009 13:25:02 +0000 (13:25 +0000)]
Issue #6794:  Fix handling of NaNs in Decimal.compare_total and
Decimal.compare_total_mag.

15 years agoIssue 6654
Kristján Valur Jónsson [Thu, 27 Aug 2009 23:13:18 +0000 (23:13 +0000)]
Issue 6654
Allow the XML-RPC server to use the HTTP request path when dispatching.  Added a MultiPathXMLRPCServer class that uses the feature, plus unit tests.

15 years agoissue 6275
Kristján Valur Jónsson [Thu, 27 Aug 2009 22:20:21 +0000 (22:20 +0000)]
issue 6275
Add an "exc_value" attribute to the _AssertRaisesContext context manager in the unittest package.  This allows further tests on the exception that was raised after the context manager exits.

15 years ago#6787: reference fix.
Georg Brandl [Thu, 27 Aug 2009 19:02:43 +0000 (19:02 +0000)]
#6787: reference fix.

15 years agoTypo fix.
Georg Brandl [Thu, 27 Aug 2009 18:59:02 +0000 (18:59 +0000)]
Typo fix.

15 years agoRemove leftover text from end of sentence.
R. David Murray [Thu, 27 Aug 2009 01:04:59 +0000 (01:04 +0000)]
Remove leftover text from end of sentence.

15 years ago#6677: note that rmdir only removes empty directories.
Georg Brandl [Mon, 24 Aug 2009 17:48:40 +0000 (17:48 +0000)]
#6677: note that rmdir only removes empty directories.

15 years agofix pdf building by teaching latex the right encoding package
Benjamin Peterson [Mon, 24 Aug 2009 17:42:36 +0000 (17:42 +0000)]
fix pdf building by teaching latex the right encoding package

15 years ago#6677: mention "deleting" as an alias for removing files.
Georg Brandl [Mon, 24 Aug 2009 17:24:27 +0000 (17:24 +0000)]
#6677: mention "deleting" as an alias for removing files.

15 years ago#6718: fix example.
Georg Brandl [Mon, 24 Aug 2009 17:22:05 +0000 (17:22 +0000)]
#6718: fix example.

15 years ago#6725: spell "namespace" consistently.
Georg Brandl [Mon, 24 Aug 2009 17:20:40 +0000 (17:20 +0000)]
#6725: spell "namespace" consistently.

15 years ago#6772: mention utf-8 as utf8 alias.
Georg Brandl [Mon, 24 Aug 2009 17:14:29 +0000 (17:14 +0000)]
#6772: mention utf-8 as utf8 alias.

15 years ago#6775: fix python.org URLs in README.
Georg Brandl [Mon, 24 Aug 2009 17:12:30 +0000 (17:12 +0000)]
#6775: fix python.org URLs in README.

15 years agoissue 6769
Kristján Valur Jónsson [Mon, 24 Aug 2009 11:39:31 +0000 (11:39 +0000)]
issue 6769
fix a mistake in instantiatiating the HTTPSConnection class.

15 years agoRestore alphabetic order.
Georg Brandl [Sun, 23 Aug 2009 21:28:56 +0000 (21:28 +0000)]
Restore alphabetic order.

15 years agofixed misplaced Issue line
Tarek Ziadé [Fri, 21 Aug 2009 14:28:38 +0000 (14:28 +0000)]
fixed misplaced Issue line

15 years agoFixed #6556: Corrected doc on how Distutils looks for its user configuration file...
Tarek Ziadé [Fri, 21 Aug 2009 14:11:26 +0000 (14:11 +0000)]
Fixed #6556: Corrected doc on how Distutils looks for its user configuration file under Windows

15 years agoAdded section on exceptions raised during logging.
Vinay Sajip [Thu, 20 Aug 2009 22:04:32 +0000 (22:04 +0000)]
Added section on exceptions raised during logging.

15 years ago#6693: New functions in site.py to get user/global site packages paths.
Tarek Ziadé [Thu, 20 Aug 2009 21:23:13 +0000 (21:23 +0000)]
#6693: New functions in site.py to get user/global site packages paths.

15 years agoAdd weakref support to the thread.lock type.
Gregory P. Smith [Thu, 20 Aug 2009 09:39:38 +0000 (09:39 +0000)]
Add weakref support to the thread.lock type.

15 years agocomment typo fix
Gregory P. Smith [Thu, 20 Aug 2009 09:38:43 +0000 (09:38 +0000)]
comment typo fix

15 years agoRevert the changes from r74463, they were causing test_xmlrpc to fail.
Gregory P. Smith [Wed, 19 Aug 2009 05:33:48 +0000 (05:33 +0000)]
Revert the changes from r74463, they were causing test_xmlrpc to fail.
We do not need to force a close when using socket buffering on a
httplib.HTTPRequest as the library does not support streaming requests
so there should never been extra data beyond the end of the current
request to have left over in the requests socket buffer.

see http://bugs.python.org/issue6724

15 years agoAdded missing static option for OptionMenu. Issue #5961.
Guilherme Polo [Tue, 18 Aug 2009 16:39:36 +0000 (16:39 +0000)]
Added missing static option for OptionMenu. Issue #5961.

15 years agoIssue #1356969: Add missing info methods in Tix.HList.
Guilherme Polo [Tue, 18 Aug 2009 14:46:57 +0000 (14:46 +0000)]
Issue #1356969: Add missing info methods in Tix.HList.

15 years agomissing module ref (issue6723)
Skip Montanaro [Tue, 18 Aug 2009 14:37:52 +0000 (14:37 +0000)]
missing module ref (issue6723)

15 years agoFixes for Tix.Grid from issue #1522587.
Guilherme Polo [Tue, 18 Aug 2009 14:34:44 +0000 (14:34 +0000)]
Fixes for Tix.Grid from issue #1522587.

15 years agoIssue #1522587: New constants and methods for the Tix.Grid widget.
Guilherme Polo [Tue, 18 Aug 2009 14:23:00 +0000 (14:23 +0000)]
Issue #1522587: New constants and methods for the Tix.Grid widget.

15 years agoMark the "radio" option of Tix.CheckList as static.
Guilherme Polo [Tue, 18 Aug 2009 13:33:30 +0000 (13:33 +0000)]
Mark the "radio" option of Tix.CheckList as static.

15 years agoIssue #1250469: Fix the return value of Tix.PanedWindow.panes.
Guilherme Polo [Tue, 18 Aug 2009 13:29:20 +0000 (13:29 +0000)]
Issue #1250469: Fix the return value of Tix.PanedWindow.panes.

15 years agoIssue #1119673: Do not override Tkinter.Text methods when creating a ScrolledText.
Guilherme Polo [Tue, 18 Aug 2009 13:23:08 +0000 (13:23 +0000)]
Issue #1119673: Do not override Tkinter.Text methods when creating a ScrolledText.

15 years agofixed typo
Tarek Ziadé [Tue, 18 Aug 2009 08:21:49 +0000 (08:21 +0000)]
fixed typo

15 years agoadded more test coverage for distutils.filelist to prevent regressions when fnmatch...
Tarek Ziadé [Tue, 18 Aug 2009 08:16:33 +0000 (08:16 +0000)]
added more test coverage for distutils.filelist to prevent regressions when fnmatch or re are changed

15 years agomodule cleanup
Tarek Ziadé [Mon, 17 Aug 2009 21:48:22 +0000 (21:48 +0000)]
module cleanup

15 years agofixed how fnmatch.translate is used (since it has changed in r74475 for #6665). Now...
Tarek Ziadé [Mon, 17 Aug 2009 21:28:34 +0000 (21:28 +0000)]
fixed how fnmatch.translate is used (since it has changed in r74475 for #6665). Now the code is not harcoding the usage of $ anymore

15 years agoIssue 6685: 'toupper' -> 'upper' in cgi doc example explanation.
R. David Murray [Mon, 17 Aug 2009 19:26:49 +0000 (19:26 +0000)]
Issue 6685: 'toupper' -> 'upper' in cgi doc example explanation.

15 years agotypos
Benjamin Peterson [Mon, 17 Aug 2009 13:39:41 +0000 (13:39 +0000)]
typos

15 years agoFurther refined section on logging to one file from multiple processes.
Vinay Sajip [Mon, 17 Aug 2009 13:14:37 +0000 (13:14 +0000)]
Further refined section on logging to one file from multiple processes.

15 years agoClean up the C library import code (based on suggestions in issue6281).
Gregory P. Smith [Sun, 16 Aug 2009 21:54:45 +0000 (21:54 +0000)]
Clean up the C library import code (based on suggestions in issue6281).

15 years agoAdd test of file.write(array) extracted from Jython.
Frank Wierzbicki [Sun, 16 Aug 2009 20:22:51 +0000 (20:22 +0000)]
Add test of file.write(array) extracted from Jython.

15 years agoIssue 6665: Fix fnmatch to properly match filenames with newlines in them.
Gregory P. Smith [Sun, 16 Aug 2009 18:52:58 +0000 (18:52 +0000)]
Issue 6665: Fix fnmatch to properly match filenames with newlines in them.

15 years agoWrong place for issue #6244.
Guilherme Polo [Sun, 16 Aug 2009 14:38:57 +0000 (14:38 +0000)]
Wrong place for issue #6244.

15 years agoIssue #6244: Allow detect_tkinter to look for Tcl/Tk 8.6.
Guilherme Polo [Sun, 16 Aug 2009 14:34:26 +0000 (14:34 +0000)]
Issue #6244: Allow detect_tkinter to look for Tcl/Tk 8.6.

15 years agoRefined section on logging to one file from multiple processes.
Vinay Sajip [Sat, 15 Aug 2009 23:34:47 +0000 (23:34 +0000)]
Refined section on logging to one file from multiple processes.

15 years agoAdded section on logging to one file from multiple processes.
Vinay Sajip [Sat, 15 Aug 2009 23:23:12 +0000 (23:23 +0000)]
Added section on logging to one file from multiple processes.

15 years agobetter col_offsets for "for" statements with tuple unpacking #6704
Benjamin Peterson [Sat, 15 Aug 2009 22:59:21 +0000 (22:59 +0000)]
better col_offsets for "for" statements with tuple unpacking #6704

Patch from Frank Wierzbicki.

15 years agoForce the http connection to close after any request returned when
Gregory P. Smith [Sat, 15 Aug 2009 22:39:03 +0000 (22:39 +0000)]
Force the http connection to close after any request returned when
buffering=True as our buffered data is not known to the HTTPConnection and may
contain data needed by a future request if the connection were left open.

See http://bugs.python.org/issue2576 and http://bugs.python.org/issue4879.

15 years ago#6707 fix a crash with dir() on an uninitialized module
Benjamin Peterson [Sat, 15 Aug 2009 13:16:38 +0000 (13:16 +0000)]
#6707 fix a crash with dir() on an uninitialized module

15 years agoClarifying Entry.selection_present's docstring.
Guilherme Polo [Fri, 14 Aug 2009 14:43:43 +0000 (14:43 +0000)]
Clarifying Entry.selection_present's docstring.

15 years agoIssue #1135: Add the XView and YView mix-ins to avoid duplicating
Guilherme Polo [Fri, 14 Aug 2009 14:36:45 +0000 (14:36 +0000)]
Issue #1135: Add the XView and YView mix-ins to avoid duplicating
the xview* and yview* methods.

15 years agoIssue #3926: Fix the usage of the new showwarnings and formatwarning.
Guilherme Polo [Fri, 14 Aug 2009 14:03:07 +0000 (14:03 +0000)]
Issue #3926: Fix the usage of the new showwarnings and formatwarning.

15 years agoIssue #3344: Replace itertools.count by enumerate.
Guilherme Polo [Fri, 14 Aug 2009 13:53:41 +0000 (13:53 +0000)]
Issue #3344: Replace itertools.count by enumerate.

15 years agoAdded versionchanged notices for optional 'delay' parameter to file handler classes.
Vinay Sajip [Fri, 14 Aug 2009 11:33:54 +0000 (11:33 +0000)]
Added versionchanged notices for optional 'delay' parameter to file handler classes.

15 years agoExpat could crash if given the wrong kind of input by never stopping its
Brett Cannon [Thu, 13 Aug 2009 19:27:12 +0000 (19:27 +0000)]
Expat could crash if given the wrong kind of input by never stopping its
tokenizing step.

Thanks to Ivan Krstić for the patch.

15 years agoFix issue1628205: Socket file objects returned by socket.socket.makefile() now
Gregory P. Smith [Thu, 13 Aug 2009 18:54:50 +0000 (18:54 +0000)]
Fix issue1628205: Socket file objects returned by socket.socket.makefile() now
properly handles EINTR within the read, readline, write & flush methods.
The socket.sendall() method now properly handles interrupted system calls.

15 years agoRemove potentially confusing sentence in __mangling description.
Georg Brandl [Thu, 13 Aug 2009 12:57:25 +0000 (12:57 +0000)]
Remove potentially confusing sentence in __mangling description.

15 years agoUse locale.format_string() for more than one specifier.
Georg Brandl [Thu, 13 Aug 2009 12:05:52 +0000 (12:05 +0000)]
Use locale.format_string() for more than one specifier.

15 years ago#6679: Remove mention that sub supports no flags.
Georg Brandl [Thu, 13 Aug 2009 07:48:05 +0000 (07:48 +0000)]
#6679: Remove mention that sub supports no flags.

15 years agocomment typo fix
Gregory P. Smith [Wed, 12 Aug 2009 17:02:37 +0000 (17:02 +0000)]
comment typo fix

15 years agoIssue #6629: Fix a data corruption issue in the new `io` package, which could
Antoine Pitrou [Thu, 6 Aug 2009 20:18:29 +0000 (20:18 +0000)]
Issue #6629: Fix a data corruption issue in the new `io` package, which could
occur when writing to a BufferedRandom object (e.g. a file opened in "rb+" or
"wb+" mode) after having buffered a certain amount of data for reading. This
bug was not present in the pure Python implementation.

Yes, this is a serious issue.

15 years ago#6658: fix two typos.
Georg Brandl [Thu, 6 Aug 2009 17:43:55 +0000 (17:43 +0000)]
#6658: fix two typos.

15 years agoFix punctuation and one copy-paste error.
Georg Brandl [Thu, 6 Aug 2009 17:23:21 +0000 (17:23 +0000)]
Fix punctuation and one copy-paste error.

15 years agoFix base keyword arg name for int() and long().
Georg Brandl [Thu, 6 Aug 2009 15:06:25 +0000 (15:06 +0000)]
Fix base keyword arg name for int() and long().

15 years agoFix issue 4660: spurious task_done errors in multiprocessing, remove doc note for...
Jesse Noller [Thu, 6 Aug 2009 02:05:56 +0000 (02:05 +0000)]
Fix issue 4660: spurious task_done errors in multiprocessing, remove doc note for from_address

15 years agoTypo.
Guilherme Polo [Wed, 5 Aug 2009 23:48:26 +0000 (23:48 +0000)]
Typo.

15 years agoEasier reference to find (at least while svn continues being used).
Guilherme Polo [Wed, 5 Aug 2009 16:51:41 +0000 (16:51 +0000)]
Easier reference to find (at least while svn continues being used).

15 years agoIssue #6620: Slightly safer code for _grouping_intervals in the locale
Mark Dickinson [Tue, 4 Aug 2009 21:56:04 +0000 (21:56 +0000)]
Issue #6620: Slightly safer code for _grouping_intervals in the locale
module.  Fixes a 'possible use before assignment' warning from pylint.
Thanks Vincent Legoll.

15 years agoAdd donation link to docs footer.
Georg Brandl [Tue, 4 Aug 2009 20:22:43 +0000 (20:22 +0000)]
Add donation link to docs footer.

15 years agoIssue #6644: Fix compile error on AIX.
Mark Dickinson [Tue, 4 Aug 2009 19:22:35 +0000 (19:22 +0000)]
Issue #6644:  Fix compile error on AIX.

15 years agoIssue 6637: defaultdict.copy() failed with an empty factory.
Raymond Hettinger [Tue, 4 Aug 2009 19:08:05 +0000 (19:08 +0000)]
Issue 6637: defaultdict.copy() failed with an empty factory.

15 years agoAdding tests derived from the Jython project. These are primarily tests of
Frank Wierzbicki [Sun, 2 Aug 2009 20:37:48 +0000 (20:37 +0000)]
Adding tests derived from the Jython project.  These are primarily tests of
'single' statements with partial sentences (so they test things like "try:" in
interactive mode).  Others tests hit areas that previously failed in Jython. A
couple still fail in Jython, mainly due to the difficulty of parsing partial
sentences (but should be fixed by Jython 2.6).

15 years agoIssue #6619: Remove duplicate 'isgenerator' function from inspect module.
Mark Dickinson [Sun, 2 Aug 2009 15:40:11 +0000 (15:40 +0000)]
Issue #6619:  Remove duplicate 'isgenerator' function from inspect module.
Thanks Vincent Legoll.

15 years agoIssue #6595: Allow Decimal constructor to accept non-European decimal
Mark Dickinson [Sun, 2 Aug 2009 10:59:36 +0000 (10:59 +0000)]
Issue #6595: Allow Decimal constructor to accept non-European decimal
digits, as recommended by the specification.  (Backport of r74279 from
py3k.)

15 years ago- Issue #6624: yArg_ParseTuple with "s" format when parsing argument with
Sean Reifscheider [Sat, 1 Aug 2009 23:54:55 +0000 (23:54 +0000)]
- Issue #6624: yArg_ParseTuple with "s" format when parsing argument with
  NUL: Bogus TypeError detail string.

15 years agoIssue 6330: Fix --enable-unicode=ucs4.
Eric Smith [Thu, 30 Jul 2009 13:39:44 +0000 (13:39 +0000)]
Issue 6330: Fix --enable-unicode=ucs4.

15 years agoDocumentation fix for change introduced in r71832
Mark Dickinson [Thu, 30 Jul 2009 10:00:10 +0000 (10:00 +0000)]
Documentation fix for change introduced in r71832

15 years agoRewrite the section about classes a bit; mostly tidbits, and a larger update to the...
Georg Brandl [Wed, 29 Jul 2009 17:50:25 +0000 (17:50 +0000)]
Rewrite the section about classes a bit; mostly tidbits, and a larger update to the section about "private" variables to reflect the Pythonic consensus better.

15 years agoFix a few markup glitches.
Georg Brandl [Wed, 29 Jul 2009 17:15:20 +0000 (17:15 +0000)]
Fix a few markup glitches.

15 years agoFix some markup and small factual glitches found by M. Markert.
Georg Brandl [Wed, 29 Jul 2009 17:07:21 +0000 (17:07 +0000)]
Fix some markup and small factual glitches found by M. Markert.

15 years agoAdd a link to readline, and mention IPython and bpython.
Georg Brandl [Wed, 29 Jul 2009 16:57:05 +0000 (16:57 +0000)]
Add a link to readline, and mention IPython and bpython.

15 years ago#6336: Add nb_divide.
Georg Brandl [Wed, 29 Jul 2009 16:32:30 +0000 (16:32 +0000)]
#6336: Add nb_divide.

15 years ago#6591: add reference to ioctl in fcntl module for platforms other than Windows.
Georg Brandl [Wed, 29 Jul 2009 16:09:17 +0000 (16:09 +0000)]
#6591: add reference to ioctl in fcntl module for platforms other than Windows.

15 years ago#6593: fix link targets.
Georg Brandl [Wed, 29 Jul 2009 16:06:31 +0000 (16:06 +0000)]
#6593: fix link targets.

15 years ago#6511: ZipFile will now raise BadZipfile when opening an empty or tiny file,
Amaury Forgeot d'Arc [Tue, 28 Jul 2009 22:15:30 +0000 (22:15 +0000)]
#6511: ZipFile will now raise BadZipfile when opening an empty or tiny file,
like it does for larger invalid files.

15 years ago"Fix" for the refleak report: the ABC classes are now in the _pyio module
Amaury Forgeot d'Arc [Tue, 28 Jul 2009 20:47:55 +0000 (20:47 +0000)]
"Fix" for the refleak report: the ABC classes are now in the _pyio module

15 years agoIssue #6561: '\d' regular expression should not match characters of
Mark Dickinson [Tue, 28 Jul 2009 20:35:03 +0000 (20:35 +0000)]
Issue #6561: '\d' regular expression should not match characters of
category [No]; only those of category [Nd].  (Backport of r74237
from py3k.)

15 years agoClarify quote_plus() usage.
Georg Brandl [Tue, 28 Jul 2009 18:55:32 +0000 (18:55 +0000)]
Clarify quote_plus() usage.

15 years agoRemove leading blank line from cmath.rst
Mark Dickinson [Tue, 28 Jul 2009 16:45:13 +0000 (16:45 +0000)]
Remove leading blank line from cmath.rst

15 years agoIssue #6458: Reorganize cmath documentation into sections (similar to
Mark Dickinson [Tue, 28 Jul 2009 16:12:40 +0000 (16:12 +0000)]
Issue #6458: Reorganize cmath documentation into sections (similar to
the way that the math documentation is organized); clarify section on
conversions to and from polar coordinates.

15 years agoIssue 6573: Fix set.union() for cases where self is in the argument chain.
Raymond Hettinger [Mon, 27 Jul 2009 20:32:04 +0000 (20:32 +0000)]
Issue 6573: Fix set.union() for cases where self is in the argument chain.

15 years ago1. Clean workspace more thoughly before build.
Kurt B. Kaiser [Mon, 27 Jul 2009 16:09:28 +0000 (16:09 +0000)]
1. Clean workspace more thoughly before build.
2. Add url of branch we are building to 'results' webpage.
   (url is now available in $repo_path, could be added to failure email.)
3. Adjust permissions to improve upload reliability.

15 years agoSync trunk and py3k versions of string formatting. Will manually merge into py3k.
Eric Smith [Mon, 27 Jul 2009 01:58:25 +0000 (01:58 +0000)]
Sync trunk and py3k versions of string formatting. Will manually merge into py3k.

15 years agoIssue 6581. Michael Foord
Michael Foord [Sun, 26 Jul 2009 21:12:14 +0000 (21:12 +0000)]
Issue 6581. Michael Foord

15 years agoMove member descriptions inside the classes.
Georg Brandl [Sun, 26 Jul 2009 14:44:23 +0000 (14:44 +0000)]
Move member descriptions inside the classes.

15 years agobuiltin -> built-in.
Georg Brandl [Sun, 26 Jul 2009 14:37:28 +0000 (14:37 +0000)]
builtin -> built-in.

15 years ago#6577: fix (hopefully) all links to builtin instead of module/class-specific objects.
Georg Brandl [Sun, 26 Jul 2009 14:19:57 +0000 (14:19 +0000)]
#6577: fix (hopefully) all links to builtin instead of module/class-specific objects.

15 years ago#6576: fix cross-refs in re docs.
Georg Brandl [Sun, 26 Jul 2009 13:36:39 +0000 (13:36 +0000)]
#6576: fix cross-refs in re docs.