]> granicus.if.org Git - python/log
python
14 years agoRemove XXX comment that was displayed.
Georg Brandl [Mon, 2 Aug 2010 19:35:06 +0000 (19:35 +0000)]
Remove XXX comment that was displayed.

14 years ago#9451: strengthen warning about __*__ special name usage.
Georg Brandl [Mon, 2 Aug 2010 19:32:43 +0000 (19:32 +0000)]
#9451: strengthen warning about __*__ special name usage.

14 years ago#8172: how does one use a property?
Georg Brandl [Mon, 2 Aug 2010 19:23:34 +0000 (19:23 +0000)]
#8172: how does one use a property?

14 years ago#7386: add example that shows that trailing path separators are stripped.
Georg Brandl [Mon, 2 Aug 2010 19:19:26 +0000 (19:19 +0000)]
#7386: add example that shows that trailing path separators are stripped.

14 years ago#7973: Fix distutils options spelling.
Georg Brandl [Mon, 2 Aug 2010 19:16:34 +0000 (19:16 +0000)]
#7973: Fix distutils options spelling.

14 years ago#8560: add progress indicator to regrtest.
Georg Brandl [Mon, 2 Aug 2010 18:59:52 +0000 (18:59 +0000)]
#8560: add progress indicator to regrtest.

14 years agoMove test_SimpleHTTPServer into test_httpservers.
Georg Brandl [Mon, 2 Aug 2010 18:56:54 +0000 (18:56 +0000)]
Move test_SimpleHTTPServer into test_httpservers.

14 years ago#6928: fix class docs w.r.t. new metaclasses.
Georg Brandl [Mon, 2 Aug 2010 18:10:13 +0000 (18:10 +0000)]
#6928: fix class docs w.r.t. new metaclasses.

14 years ago#8578: mention danger of not incref'ing weak referenced object.
Georg Brandl [Mon, 2 Aug 2010 17:49:25 +0000 (17:49 +0000)]
#8578: mention danger of not incref'ing weak referenced object.

14 years ago#7372: fix regression in pstats: a previous fix to handle cProfile data in add_caller...
Georg Brandl [Mon, 2 Aug 2010 17:24:49 +0000 (17:24 +0000)]
#7372: fix regression in pstats: a previous fix to handle cProfile data in add_callers broke handling of profile data.

14 years agoRewording the getheader method of HTTPResponse.
Senthil Kumaran [Mon, 2 Aug 2010 17:09:02 +0000 (17:09 +0000)]
Rewording the getheader method of HTTPResponse.

14 years agoDocument how to refer to decorators and decorator methods.
Georg Brandl [Mon, 2 Aug 2010 12:54:24 +0000 (12:54 +0000)]
Document how to refer to decorators and decorator methods.

14 years ago#3821: beginnings of a trace.py unittest.
Georg Brandl [Mon, 2 Aug 2010 12:48:46 +0000 (12:48 +0000)]
#3821: beginnings of a trace.py unittest.

14 years agoFix softspace relic.
Georg Brandl [Mon, 2 Aug 2010 12:40:22 +0000 (12:40 +0000)]
Fix softspace relic.

14 years agoGet rid of spurious "threading" entries in trace output.
Georg Brandl [Mon, 2 Aug 2010 12:36:24 +0000 (12:36 +0000)]
Get rid of spurious "threading" entries in trace output.

14 years ago#9428: fix running scripts from profile/cProfile with their own name and the right...
Georg Brandl [Mon, 2 Aug 2010 12:20:23 +0000 (12:20 +0000)]
#9428: fix running scripts from profile/cProfile with their own name and the right namespace.  Same fix as for trace.py in #1690103.

14 years ago#9209 and #7781: fix two crashes in pstats interactive browser.
Georg Brandl [Mon, 2 Aug 2010 12:06:18 +0000 (12:06 +0000)]
#9209 and #7781: fix two crashes in pstats interactive browser.

14 years agoFix Issue8572 - httplib getheader() throws error instead of default
Senthil Kumaran [Mon, 2 Aug 2010 11:04:58 +0000 (11:04 +0000)]
Fix Issue8572  - httplib getheader() throws error instead of default

14 years agoDemonstrate the caching decorators in whatsnew.
Raymond Hettinger [Mon, 2 Aug 2010 01:43:41 +0000 (01:43 +0000)]
Demonstrate the caching decorators in whatsnew.

14 years agoAdd example applications for the LRU and LFU cache docs.
Raymond Hettinger [Mon, 2 Aug 2010 00:59:14 +0000 (00:59 +0000)]
Add example applications for the LRU and LFU cache docs.

14 years agoFix ACKS alphabetization.
R. David Murray [Sun, 1 Aug 2010 23:43:28 +0000 (23:43 +0000)]
Fix ACKS alphabetization.

14 years agoFix style of referring to issues.
Georg Brandl [Sun, 1 Aug 2010 22:31:05 +0000 (22:31 +0000)]
Fix style of referring to issues.

14 years agoUpdate OrderedDict implementation to match that in Py2.7.
Raymond Hettinger [Sun, 1 Aug 2010 22:10:57 +0000 (22:10 +0000)]
Update OrderedDict implementation to match that in Py2.7.

14 years agoFix VS8.0 build by adding _time.h and _time.c to the project file.
Raymond Hettinger [Sun, 1 Aug 2010 21:50:38 +0000 (21:50 +0000)]
Fix VS8.0 build by adding _time.h and _time.c to the project file.

14 years agoDon't delete Lib/test/data/README when doing 'make distclean'
Mark Dickinson [Sun, 1 Aug 2010 21:33:01 +0000 (21:33 +0000)]
Don't delete Lib/test/data/README when doing 'make distclean'

14 years agoIssue 9445: Fix undefined symbols on VS8.0 build.
Raymond Hettinger [Sun, 1 Aug 2010 21:10:35 +0000 (21:10 +0000)]
Issue 9445: Fix undefined symbols on VS8.0 build.

14 years agoRevert r83395, it introduces test failures and is not necessary anyway since we now...
Georg Brandl [Sun, 1 Aug 2010 20:51:02 +0000 (20:51 +0000)]
Revert r83395, it introduces test failures and is not necessary anyway since we now have to nul-terminate the string anyway.

14 years agoIssue #8397: Raise an error when attempting to mix iteration and regular
Antoine Pitrou [Sun, 1 Aug 2010 20:08:46 +0000 (20:08 +0000)]
Issue #8397: Raise an error when attempting to mix iteration and regular
reads on a BZ2File object, rather than returning incorrect results.

14 years agotest_getgroups as introduced with issue7900 failed on systems
Ronald Oussoren [Sun, 1 Aug 2010 19:18:13 +0000 (19:18 +0000)]
test_getgroups as introduced with issue7900 failed on systems
where 'id -G' and posix.getgroups() returned the same information,
but one of the sources contains duplicate information. Rewrite the
check using sets instead of lists.

14 years ago#5776: fix mistakes in python specfile. (Nobody probably uses it anyway.)
Georg Brandl [Sun, 1 Aug 2010 18:38:26 +0000 (18:38 +0000)]
#5776: fix mistakes in python specfile.  (Nobody probably uses it anyway.)

14 years agoFix Issue8123 - TypeError in urllib when trying to use HTTP authentication
Senthil Kumaran [Sun, 1 Aug 2010 17:53:37 +0000 (17:53 +0000)]
Fix Issue8123 - TypeError in urllib when trying to use HTTP authentication

14 years agoIssue #9448: Fix a leak of OS resources (mutexes or semaphores) when
Antoine Pitrou [Sun, 1 Aug 2010 16:53:42 +0000 (16:53 +0000)]
Issue #9448: Fix a leak of OS resources (mutexes or semaphores) when
re-initializing a buffered IO object by calling its `__init__` method.

14 years ago#5551: symbolic links never can be mount points. Fixes the fix for #1713.
Georg Brandl [Sun, 1 Aug 2010 15:30:56 +0000 (15:30 +0000)]
#5551: symbolic links never can be mount points.  Fixes the fix for #1713.

14 years agoFix #8105. Add validation to mmap.mmap so invalid file descriptors
Brian Curtin [Sun, 1 Aug 2010 15:26:26 +0000 (15:26 +0000)]
Fix #8105. Add validation to mmap.mmap so invalid file descriptors
don't cause a crash on Windows.

14 years ago#8046: add context manager protocol support to mmap objects. Also add closed property.
Georg Brandl [Sun, 1 Aug 2010 14:50:00 +0000 (14:50 +0000)]
#8046: add context manager protocol support to mmap objects.  Also add closed property.

14 years ago#4943: do not try to include drive letters (and colons) when looking for a probably...
Georg Brandl [Sun, 1 Aug 2010 14:38:17 +0000 (14:38 +0000)]
#4943: do not try to include drive letters (and colons) when looking for a probably module name.

14 years ago#6439: fix argument type for PySys_SetArgvEx() and Py_SetProgramName() in Demo/embed...
Georg Brandl [Sun, 1 Aug 2010 14:25:22 +0000 (14:25 +0000)]
#6439: fix argument type for PySys_SetArgvEx() and Py_SetProgramName() in Demo/embed code.

14 years agoAdd test for memory leak reported in issue 9422.
Mark Dickinson [Sun, 1 Aug 2010 11:10:28 +0000 (11:10 +0000)]
Add test for memory leak reported in issue 9422.

14 years agoIssue #9416: Fix some issues with complex formatting where the
Mark Dickinson [Sun, 1 Aug 2010 10:41:49 +0000 (10:41 +0000)]
Issue #9416: Fix some issues with complex formatting where the
output with no type specifier failed to match the str output:

  - format(complex(-0.0, 2.0), '-') omitted the real part from the output,
  - format(complex(0.0, 2.0), '-') included a sign and parentheses.

14 years agoPackage some new files that are needed for running the test suite from the MSI package.
Georg Brandl [Sun, 1 Aug 2010 09:17:53 +0000 (09:17 +0000)]
Package some new files that are needed for running the test suite from the MSI package.

14 years ago#8826: the "expires" attribute value is a date string with spaces, but apparently...
Georg Brandl [Sun, 1 Aug 2010 09:06:34 +0000 (09:06 +0000)]
#8826: the "expires" attribute value is a date string with spaces, but apparently not all user-agents put it in quotes.  Handle that as a special case.

14 years agoEnsure that test_site actually passes with a framework build
Ronald Oussoren [Sun, 1 Aug 2010 09:02:50 +0000 (09:02 +0000)]
Ensure that test_site actually passes with a framework build

14 years ago#4810: document "--" option separator in timeit help.
Georg Brandl [Sun, 1 Aug 2010 08:52:32 +0000 (08:52 +0000)]
#4810: document "--" option separator in timeit help.

14 years ago#8821: do not rely on Unicode strings being terminated with a \u0000, rather explicit...
Georg Brandl [Sun, 1 Aug 2010 08:49:18 +0000 (08:49 +0000)]
#8821: do not rely on Unicode strings being terminated with a \u0000, rather explicitly check range before looking for a second surrogate character.

14 years agoNo need to split this, there are enough long lines.
Georg Brandl [Sun, 1 Aug 2010 08:46:24 +0000 (08:46 +0000)]
No need to split this, there are enough long lines.

14 years ago#1690103: fix initial namespace for code run with trace.main().
Georg Brandl [Sun, 1 Aug 2010 08:35:29 +0000 (08:35 +0000)]
#1690103: fix initial namespace for code run with trace.main().

14 years agoAdd another news entry.
Georg Brandl [Sun, 1 Aug 2010 08:10:08 +0000 (08:10 +0000)]
Add another news entry.

14 years ago#8230: make Lib/test/sortperf.py run on Python 3.
Georg Brandl [Sun, 1 Aug 2010 08:07:49 +0000 (08:07 +0000)]
#8230: make Lib/test/sortperf.py run on Python 3.

14 years agoSmall improvements to pstats browser: do not crash on reading invalid file, and actua...
Georg Brandl [Sun, 1 Aug 2010 07:57:47 +0000 (07:57 +0000)]
Small improvements to pstats browser: do not crash on reading invalid file, and actually do a reload when executing "read" as intended.

14 years ago#7395: fix traceback in do_add() when no stats are loaded. Apply same fix for do_sor...
Georg Brandl [Sun, 1 Aug 2010 07:48:43 +0000 (07:48 +0000)]
#7395: fix traceback in do_add() when no stats are loaded.  Apply same fix for do_sort() and do_reverse().

14 years ago#8735: better explain semantics of *values* argument for parse().
Georg Brandl [Sun, 1 Aug 2010 06:53:28 +0000 (06:53 +0000)]
#8735: better explain semantics of *values* argument for parse().

14 years ago#8768: name test method properly so that it gets executed.
Georg Brandl [Sun, 1 Aug 2010 06:44:46 +0000 (06:44 +0000)]
#8768: name test method properly so that it gets executed.

14 years ago#8773: mailbox.py does not need to be executable.
Georg Brandl [Sun, 1 Aug 2010 06:42:45 +0000 (06:42 +0000)]
#8773: mailbox.py does not need to be executable.

14 years agoBuild properties using lambdas. This makes test_pyclbr pass again, because it does...
Georg Brandl [Sun, 1 Aug 2010 06:32:55 +0000 (06:32 +0000)]
Build properties using lambdas.  This makes test_pyclbr pass again, because it does not think that input and output are methods anymore.

14 years ago#8620: Cmd no longer truncates last character if stdin ends without newline
R. David Murray [Sun, 1 Aug 2010 03:31:09 +0000 (03:31 +0000)]
#8620: Cmd no longer truncates last character if stdin ends without newline

Cmd used to blindly chop off the last character of every input line.  If
the input reached EOF and there was no final new line, it would truncate
the last character of the last command.  This fix instead strips trailing
\r\n from the input lines.  While this is a small behavior change, it
should not break any working code, since feeding a '\r\n' terminated
file to Cmd would previously leave the \r's on the lines, resulting
in failed command execution.

I wrote the unit test in preparation for a PyOhio TeachMe session
run by Catherine Devlin, and we can thank Catherine and the PyOhio
session attendees for the fix.  I've added Catherine to the Acks file
for organizing and leading the TeachMe session, out of which we will
hopefully get some new contributors.

14 years agoFix build on VS8.
Raymond Hettinger [Sat, 31 Jul 2010 23:33:22 +0000 (23:33 +0000)]
Fix build on VS8.

14 years agoReorder entries by module lexicographic order
Antoine Pitrou [Sat, 31 Jul 2010 22:48:02 +0000 (22:48 +0000)]
Reorder entries by module lexicographic order

14 years ago#5146: handle UID THREAD command correctly.
Georg Brandl [Sat, 31 Jul 2010 22:32:52 +0000 (22:32 +0000)]
#5146: handle UID THREAD command correctly.

14 years ago#5147: revert accidental indentation of header constant for MozillaCookieJar.
Georg Brandl [Sat, 31 Jul 2010 22:11:11 +0000 (22:11 +0000)]
#5147: revert accidental indentation of header constant for MozillaCookieJar.

14 years ago#4007: remove *.a and *.so.X.Y files in "make clean".
Georg Brandl [Sat, 31 Jul 2010 22:05:54 +0000 (22:05 +0000)]
#4007: remove *.a and *.so.X.Y files in "make clean".

14 years ago#8292: Fix three instances of truth tests on return values of filter() (which is...
Georg Brandl [Sat, 31 Jul 2010 21:54:24 +0000 (21:54 +0000)]
#8292: Fix three instances of truth tests on return values of filter() (which is always true in Python 3).

14 years ago#8198: the Helper class should not save the stdin and stdout objects
Georg Brandl [Sat, 31 Jul 2010 21:51:48 +0000 (21:51 +0000)]
#8198: the Helper class should not save the stdin and stdout objects
at import time, rather by default use the current streams like the
other APIs that output help.

14 years agoFix "Berkeley" name.
Georg Brandl [Sat, 31 Jul 2010 21:41:42 +0000 (21:41 +0000)]
Fix "Berkeley" name.

14 years ago#7909: the prefixes \\.\ and \\?\ indicate special Windows paths, do not try to manip...
Georg Brandl [Sat, 31 Jul 2010 21:40:15 +0000 (21:40 +0000)]
#7909: the prefixes \\.\ and \\?\ indicate special Windows paths, do not try to manipulate them.  See http://msdn.microsoft.com/en-us/library/aa365247%28VS.85%29.aspx for details.

14 years agoThere always is a False and True now.
Georg Brandl [Sat, 31 Jul 2010 21:26:40 +0000 (21:26 +0000)]
There always is a False and True now.

14 years ago#8910: add a file explaining why Lib/test/data is there.
Georg Brandl [Sat, 31 Jul 2010 21:12:15 +0000 (21:12 +0000)]
#8910: add a file explaining why Lib/test/data is there.

14 years ago#3788: more tests for http.cookies, now at 95% coverage. Also bring coding style...
Georg Brandl [Sat, 31 Jul 2010 21:04:00 +0000 (21:04 +0000)]
#3788: more tests for http.cookies, now at 95% coverage.  Also bring coding style in the module up to PEP 8, where it does not break backwards compatibility.

14 years agoClarify comment in comments test case explaining comment semantics.
Georg Brandl [Sat, 31 Jul 2010 20:13:44 +0000 (20:13 +0000)]
Clarify comment in comments test case explaining comment semantics.

14 years ago#1286: allow using fileinput.FileInput as context manager.
Georg Brandl [Sat, 31 Jul 2010 20:08:15 +0000 (20:08 +0000)]
#1286: allow using fileinput.FileInput as context manager.

14 years ago#9442: do not document a specific format for sys.version; rather refer to version_inf...
Georg Brandl [Sat, 31 Jul 2010 20:05:31 +0000 (20:05 +0000)]
#9442: do not document a specific format for sys.version; rather refer to version_info and the platform module.

14 years ago#5778: document that sys.version can contain a newline.
Georg Brandl [Sat, 31 Jul 2010 19:59:55 +0000 (19:59 +0000)]
#5778: document that sys.version can contain a newline.

14 years agoRemove trailing whitespace.
Georg Brandl [Sat, 31 Jul 2010 19:29:15 +0000 (19:29 +0000)]
Remove trailing whitespace.

14 years agoFix bad merge: test_support -> support.
Georg Brandl [Sat, 31 Jul 2010 19:17:11 +0000 (19:17 +0000)]
Fix bad merge: test_support -> support.

14 years agoDrop webchecker and BerkeleyDB license.
Martin v. Löwis [Sat, 31 Jul 2010 18:59:20 +0000 (18:59 +0000)]
Drop webchecker and BerkeleyDB license.

14 years ago#9440: Remove borderline test case that fails based on unpredictable conditions such...
Georg Brandl [Sat, 31 Jul 2010 18:11:07 +0000 (18:11 +0000)]
#9440: Remove borderline test case that fails based on unpredictable conditions such as compiler flags.

14 years agoMove news item to the correct position.
Georg Brandl [Sat, 31 Jul 2010 18:09:46 +0000 (18:09 +0000)]
Move news item to the correct position.

14 years agoRe-commit r83327 now that the release is done.
Georg Brandl [Sat, 31 Jul 2010 18:09:23 +0000 (18:09 +0000)]
Re-commit r83327 now that the release is done.

14 years agoAdd ssl changes to the 3.2 "what's new".
Antoine Pitrou [Sat, 31 Jul 2010 18:08:33 +0000 (18:08 +0000)]
Add ssl changes to the 3.2 "what's new".

14 years agoPost-release updates.
Georg Brandl [Sat, 31 Jul 2010 18:05:35 +0000 (18:05 +0000)]
Post-release updates.

14 years agoTagging release 3.2a1.
Georg Brandl [Sat, 31 Jul 2010 13:53:29 +0000 (13:53 +0000)]
Tagging release 3.2a1.

14 years agoFrom Martin: New UUIDs for the 3.2 release series. v3.2a1
Georg Brandl [Sat, 31 Jul 2010 12:06:51 +0000 (12:06 +0000)]
From Martin: New UUIDs for the 3.2 release series.

14 years agoImport test_pdb with its full name, so that running python -m test.test_pdb succeeds.
Georg Brandl [Sat, 31 Jul 2010 11:52:46 +0000 (11:52 +0000)]
Import test_pdb with its full name, so that running python -m test.test_pdb succeeds.

14 years ago#9430: document timedelta str() and repr().
Georg Brandl [Sat, 31 Jul 2010 11:40:07 +0000 (11:40 +0000)]
#9430: document timedelta str() and repr().

14 years agoRewrap.
Georg Brandl [Sat, 31 Jul 2010 11:00:47 +0000 (11:00 +0000)]
Rewrap.

14 years agoTruly uncomment rm lines.
Martin v. Löwis [Sat, 31 Jul 2010 10:56:53 +0000 (10:56 +0000)]
Truly uncomment rm lines.

14 years agoIssue #8966: Fix ctypes tests for Windows
Victor Stinner [Sat, 31 Jul 2010 10:52:56 +0000 (10:52 +0000)]
Issue #8966: Fix ctypes tests for Windows

I removed the implicit conversion from str to bytes.

14 years agoDelete openssl checkouts.
Martin v. Löwis [Sat, 31 Jul 2010 10:50:16 +0000 (10:50 +0000)]
Delete openssl checkouts.

14 years agoCopy asm files into place.
Martin v. Löwis [Sat, 31 Jul 2010 10:49:53 +0000 (10:49 +0000)]
Copy asm files into place.

14 years agoRevert r83327. This will have to wait until after the alpha1 release.
Georg Brandl [Sat, 31 Jul 2010 10:16:21 +0000 (10:16 +0000)]
Revert r83327.  This will have to wait until after the alpha1 release.

14 years agoDocument how to change OrderedDict update order from first to last.
Raymond Hettinger [Sat, 31 Jul 2010 10:14:41 +0000 (10:14 +0000)]
Document how to change OrderedDict update order from first to last.

14 years agoAdd functools.lfu_cache() and functools.lru_cache().
Raymond Hettinger [Sat, 31 Jul 2010 10:11:39 +0000 (10:11 +0000)]
Add functools.lfu_cache() and functools.lru_cache().

14 years agoAvoid triggering DeprecationWarnings in test_smtpd and smtpd.
Georg Brandl [Sat, 31 Jul 2010 10:08:09 +0000 (10:08 +0000)]
Avoid triggering DeprecationWarnings in test_smtpd and smtpd.

14 years agoCopy Sun-specific inclusion of <alloca.h> from 2.7 maint to trunk; it seems to not...
Georg Brandl [Sat, 31 Jul 2010 09:37:03 +0000 (09:37 +0000)]
Copy Sun-specific inclusion of <alloca.h> from 2.7 maint to trunk; it seems to not have been merged to py3k.

14 years agoUpdate OpenSSL version.
Martin v. Löwis [Sat, 31 Jul 2010 09:21:51 +0000 (09:21 +0000)]
Update OpenSSL version.

14 years agoAfter distutils doc reversal, change back **bold todo** items to XXX comments.
Georg Brandl [Sat, 31 Jul 2010 09:15:10 +0000 (09:15 +0000)]
After distutils doc reversal, change back **bold todo** items to XXX comments.

14 years agoreverted distutils doc to its 3.1 state
Tarek Ziadé [Sat, 31 Jul 2010 09:10:51 +0000 (09:10 +0000)]
reverted distutils doc to its 3.1 state

14 years agoAt least give IDLE 3.1 a release date. No further entries there for 3.2 though.
Georg Brandl [Sat, 31 Jul 2010 09:03:30 +0000 (09:03 +0000)]
At least give IDLE 3.1 a release date.  No further entries there for 3.2 though.

14 years agoUpdate copyright years and add releases to release list. Also update Sphinx version...
Georg Brandl [Sat, 31 Jul 2010 09:01:16 +0000 (09:01 +0000)]
Update copyright years and add releases to release list.  Also update Sphinx version number.

14 years agoFix an oversight in r83294. unquote() should reject bytes. Issue #9301.
Florent Xicluna [Sat, 31 Jul 2010 08:56:55 +0000 (08:56 +0000)]
Fix an oversight in r83294.  unquote() should reject bytes.  Issue #9301.

14 years agoBump versions and review NEWS file.
Georg Brandl [Sat, 31 Jul 2010 08:56:11 +0000 (08:56 +0000)]
Bump versions and review NEWS file.