]> granicus.if.org Git - python/log
python
12 years agocheck for string attribute names in old-style classes (closes #14334)
Benjamin Peterson [Fri, 16 Mar 2012 15:58:46 +0000 (10:58 -0500)]
check for string attribute names in old-style classes (closes #14334)

12 years agocheck to make sure the attribute is a string (#14334)
Benjamin Peterson [Fri, 16 Mar 2012 14:32:59 +0000 (09:32 -0500)]
check to make sure the attribute is a string (#14334)

12 years ago2.7 - Issue #10484: Fix the CGIHTTPServer's PATH_INFO handling problem
Senthil Kumaran [Fri, 16 Mar 2012 08:07:16 +0000 (01:07 -0700)]
2.7 - Issue #10484: Fix the CGIHTTPServer's PATH_INFO handling problem

12 years agoFix the urllib closing issue which hangs on particular ftp urls/ftp servers. closes...
Senthil Kumaran [Thu, 15 Mar 2012 20:24:40 +0000 (13:24 -0700)]
Fix the urllib closing issue which hangs on particular ftp urls/ftp servers. closes issue11199

12 years agomerge from 2.7 release branch
Benjamin Peterson [Thu, 15 Mar 2012 18:01:04 +0000 (13:01 -0500)]
merge from 2.7 release branch

12 years agoAdded tag v2.7.3rc2 for changeset d46c1973d3c4
Benjamin Peterson [Thu, 15 Mar 2012 17:59:07 +0000 (12:59 -0500)]
Added tag v2.7.3rc2 for changeset d46c1973d3c4

12 years agobump to 2.7.3rc2 v2.7.3rc2
Benjamin Peterson [Thu, 15 Mar 2012 17:25:54 +0000 (12:25 -0500)]
bump to 2.7.3rc2

12 years ago#12758: removing confusing mention of UTC from time.time description
R David Murray [Thu, 15 Mar 2012 07:05:01 +0000 (03:05 -0400)]
#12758: removing confusing mention of UTC from time.time description

Patch by Dylan Sarber.

12 years agomerge heads
Benjamin Peterson [Thu, 15 Mar 2012 02:07:00 +0000 (21:07 -0500)]
merge heads

12 years agomerge heads.
Gregory P. Smith [Thu, 15 Mar 2012 01:13:25 +0000 (18:13 -0700)]
merge heads.

12 years agoFixes Issue 14234: fix for the previous commit, keep compilation when
Gregory P. Smith [Thu, 15 Mar 2012 01:12:23 +0000 (18:12 -0700)]
Fixes Issue 14234: fix for the previous commit, keep compilation when
using --with-system-expat working when the system expat does not have
salted hash support.

12 years agoFixes Issue 14234: fix for the previous commit, keep compilation when
Gregory P. Smith [Thu, 15 Mar 2012 01:12:23 +0000 (18:12 -0700)]
Fixes Issue 14234: fix for the previous commit, keep compilation when
using --with-system-expat working when the system expat does not have
salted hash support.

12 years agomerge 2.6
Barry Warsaw [Thu, 15 Mar 2012 00:18:46 +0000 (17:18 -0700)]
merge 2.6

12 years ago- Issue #14234: CVE-2012-0876: Randomize hashes of xml attributes in the hash
Barry Warsaw [Thu, 15 Mar 2012 00:10:41 +0000 (17:10 -0700)]
- Issue #14234: CVE-2012-0876: Randomize hashes of xml attributes in the hash
  table internal to the pyexpat module's copy of the expat library to avoid a
  denial of service due to hash collisions.  Patch by David Malcolm with some
  modifications by the expat project.

12 years ago- rename configure.in to configure.ac
Matthias Klose [Wed, 14 Mar 2012 22:39:33 +0000 (23:39 +0100)]
- rename configure.in to configure.ac
- change references from configure.in to configure.ac

12 years agoFixes Issue #14234: CVE-2012-0876: Randomize hashes of xml attributes
Gregory P. Smith [Wed, 14 Mar 2012 22:28:10 +0000 (15:28 -0700)]
Fixes Issue #14234: CVE-2012-0876: Randomize hashes of xml attributes
in the hash table internal to the pyexpat module's copy of the expat
library to avoid a denial of service due to hash collisions.
Patch by David Malcolm with some modifications by the expat project.

12 years agoFixes Issue #14234: CVE-2012-0876: Randomize hashes of xml attributes
Gregory P. Smith [Wed, 14 Mar 2012 22:28:10 +0000 (15:28 -0700)]
Fixes Issue #14234: CVE-2012-0876: Randomize hashes of xml attributes
in the hash table internal to the pyexpat module's copy of the expat
library to avoid a denial of service due to hash collisions.
Patch by David Malcolm with some modifications by the expat project.

12 years agoCloses #14289: put a link to the CHM download page on the docs download page.
Georg Brandl [Wed, 14 Mar 2012 07:18:47 +0000 (08:18 +0100)]
Closes #14289: put a link to the CHM download page on the docs download page.

12 years agoIssue #5219: Prevent event handler cascade in IDLE.
Martin v. Löwis [Tue, 13 Mar 2012 21:46:22 +0000 (14:46 -0700)]
Issue #5219: Prevent event handler cascade in IDLE.
Patch by Roger Serwy.

12 years agoMerged upstream change.
Vinay Sajip [Tue, 13 Mar 2012 12:18:55 +0000 (12:18 +0000)]
Merged upstream change.

12 years agoCloses #14267: Corrected computation of rollover filename.
Vinay Sajip [Tue, 13 Mar 2012 12:06:35 +0000 (12:06 +0000)]
Closes #14267: Corrected computation of rollover filename.

12 years agoFix closes Issue14281 - Test for cgi.escape by Brian Landers
Senthil Kumaran [Tue, 13 Mar 2012 08:48:41 +0000 (01:48 -0700)]
Fix closes Issue14281 - Test for cgi.escape by Brian Landers

12 years agomerge heads
Senthil Kumaran [Tue, 13 Mar 2012 07:15:15 +0000 (00:15 -0700)]
merge heads

12 years ago#14179: add tests for re.compile. Patch by Florian Mladitsch.
Ezio Melotti [Mon, 12 Mar 2012 23:25:40 +0000 (01:25 +0200)]
#14179: add tests for re.compile.  Patch by Florian Mladitsch.

12 years agocloses issue14257 - Grammatical fix
Senthil Kumaran [Mon, 12 Mar 2012 17:05:04 +0000 (10:05 -0700)]
closes issue14257 - Grammatical fix

12 years agocloses issue14257 minor error in glossary wording regarding __hash__
Senthil Kumaran [Mon, 12 Mar 2012 04:04:05 +0000 (21:04 -0700)]
closes issue14257 minor error in glossary wording regarding __hash__

12 years agoFix closes issue14258 - added clarification to \W and \S flags
Senthil Kumaran [Mon, 12 Mar 2012 03:37:39 +0000 (20:37 -0700)]
Fix closes issue14258 - added clarification to \W and \S flags

12 years ago#14161: fix test failures on Windows.
Ezio Melotti [Mon, 12 Mar 2012 00:09:02 +0000 (02:09 +0200)]
#14161: fix test failures on Windows.

12 years ago#14161: fix compile error under Windows.
Ezio Melotti [Sun, 11 Mar 2012 23:28:45 +0000 (01:28 +0200)]
#14161: fix compile error under Windows.

12 years ago#14161: fix the __repr__ of file objects to escape the file name.
Ezio Melotti [Sun, 11 Mar 2012 23:17:02 +0000 (01:17 +0200)]
#14161: fix the __repr__ of file objects to escape the file name.

12 years agoIssue #14252: Fix subprocess.Popen.terminate() to not raise an error under Windows...
Antoine Pitrou [Sun, 11 Mar 2012 18:29:12 +0000 (19:29 +0100)]
Issue #14252: Fix subprocess.Popen.terminate() to not raise an error under Windows when the child process has already exited.

12 years agoCloses #9574: Note that complex constructor doesn't allow whitespace around central...
Mark Dickinson [Sat, 10 Mar 2012 16:09:35 +0000 (16:09 +0000)]
Closes #9574: Note that complex constructor doesn't allow whitespace around central operator.

12 years agoMoved symlink support into its own module. Ported can_symlink from Python 3.2, skippi...
Jason R. Coombs [Thu, 8 Mar 2012 23:28:08 +0000 (18:28 -0500)]
Moved symlink support into its own module. Ported can_symlink from Python 3.2, skipping symlink test when it cannot be invoked (such as when the symlink privilege is not present).

12 years agoImprove the test case to avoid spurious errors about already existing symlinks.
Jason R. Coombs [Thu, 8 Mar 2012 15:31:29 +0000 (10:31 -0500)]
Improve the test case to avoid spurious errors about already existing symlinks.

12 years agoTest in 6c218b9c5c4c was inadvertently converted from #ifdef to #if. Now #ifdef again.
Jason R. Coombs [Thu, 8 Mar 2012 14:56:00 +0000 (09:56 -0500)]
Test in 6c218b9c5c4c was inadvertently converted from #ifdef to #if. Now #ifdef again.

12 years ago#14114: don't include copybutton.js in the htmlhelp output.
Ezio Melotti [Sat, 25 Feb 2012 17:24:24 +0000 (19:24 +0200)]
#14114: don't include copybutton.js in the htmlhelp output.

12 years ago#14114: don't include copybutton.js in the htmlhelp output.
Ezio Melotti [Sat, 25 Feb 2012 17:24:24 +0000 (19:24 +0200)]
#14114: don't include copybutton.js in the htmlhelp output.

12 years agoFix link to global module index.
Georg Brandl [Sat, 3 Mar 2012 20:25:42 +0000 (21:25 +0100)]
Fix link to global module index.

12 years agoupdate pydoc-topics
Benjamin Peterson [Thu, 23 Feb 2012 20:18:13 +0000 (15:18 -0500)]
update pydoc-topics

12 years agoAdded tag v2.6.8rc1 for changeset 5356b6c7fd66
Barry Warsaw [Thu, 23 Feb 2012 16:10:31 +0000 (11:10 -0500)]
Added tag v2.6.8rc1 for changeset 5356b6c7fd66

12 years agoAdded tag v2.6.8rc1 for changeset caab08cd2b3e
Barry Warsaw [Thu, 23 Feb 2012 15:59:50 +0000 (10:59 -0500)]
Added tag v2.6.8rc1 for changeset caab08cd2b3e

12 years agoBump some more copyright years (as per PEP 101), since this is the first v2.6.8rc1
Barry Warsaw [Thu, 23 Feb 2012 15:59:38 +0000 (10:59 -0500)]
Bump some more copyright years (as per PEP 101), since this is the first
release of 2.6 for 2012.

12 years agoBump to version 2.6.8rc1.
Barry Warsaw [Thu, 23 Feb 2012 15:55:57 +0000 (10:55 -0500)]
Bump to version 2.6.8rc1.

12 years agoAdded tag v2.7.3rc1 for changeset b2c6aff96e12
Benjamin Peterson [Thu, 23 Feb 2012 15:52:23 +0000 (10:52 -0500)]
Added tag v2.7.3rc1 for changeset b2c6aff96e12

12 years agobump to 2.7.3rc1 v2.7.3rc1
Benjamin Peterson [Thu, 23 Feb 2012 15:52:17 +0000 (10:52 -0500)]
bump to 2.7.3rc1

12 years agonull merge from 2.6
Barry Warsaw [Wed, 22 Feb 2012 22:27:47 +0000 (17:27 -0500)]
null merge from 2.6

12 years agoBack port from 2.7:
Barry Warsaw [Wed, 22 Feb 2012 22:26:50 +0000 (17:26 -0500)]
Back port from 2.7:

    http://hg.python.org/cpython/rev/48705250232c
    changeset:   75187:48705250232c
    branch:      2.7
    parent:      75184:9a1d902714ae
    user:        Antoine Pitrou <solipsis@pitrou.net>
    date:        Wed Feb 22 22:16:25 2012 +0100

12 years agoFix sporadic test_os failure under Windows
Antoine Pitrou [Wed, 22 Feb 2012 21:16:25 +0000 (22:16 +0100)]
Fix sporadic test_os failure under Windows

12 years agonull merge from 2.6
Barry Warsaw [Wed, 22 Feb 2012 19:27:53 +0000 (14:27 -0500)]
null merge from 2.6

12 years agoBackport from 2.7:
Barry Warsaw [Wed, 22 Feb 2012 18:50:04 +0000 (13:50 -0500)]
Backport from 2.7:

    changeset:   75153:9b7c6dd19e25
    branch:      2.7
    parent:      75151:b1a02c17b327
    user:        Antoine Pitrou <solipsis@pitrou.net>
    date:        Tue Feb 21 22:02:04 2012 +0100
    files:       Lib/test/test_os.py

12 years agonull merge from 2.6
Barry Warsaw [Wed, 22 Feb 2012 18:39:59 +0000 (13:39 -0500)]
null merge from 2.6

12 years agoBackport from 2.7 branch.
Barry Warsaw [Wed, 22 Feb 2012 18:34:18 +0000 (13:34 -0500)]
Backport from 2.7 branch.

    changeset:   75165:780008020c40
    user:        Antoine Pitrou <solipsis@pitrou.net>
    date:        Wed Feb 22 03:33:56 2012 +0100
    summary:     Fix (presumably) test_hash under big-endian systems (PPC).

12 years agoFix (presumably) test_hash under big-endian systems (PPC).
Antoine Pitrou [Wed, 22 Feb 2012 02:33:56 +0000 (03:33 +0100)]
Fix (presumably) test_hash under big-endian systems (PPC).

12 years agoIssue #14053: Fix "make patchcheck" to work with MQ.
Nadeem Vawda [Wed, 22 Feb 2012 09:40:09 +0000 (11:40 +0200)]
Issue #14053: Fix "make patchcheck" to work with MQ.

Patch by Francisco Martín Brugué

12 years agoAvoid py3k warnings related to sort() of unrelated types.
Antoine Pitrou [Tue, 21 Feb 2012 23:28:46 +0000 (00:28 +0100)]
Avoid py3k warnings related to sort() of unrelated types.

12 years agomerge with 2.6
Georg Brandl [Tue, 21 Feb 2012 21:38:31 +0000 (22:38 +0100)]
merge with 2.6

12 years agoRemove reST markup from --help output. Also: O(n**2) is dict construction, not singl...
Georg Brandl [Tue, 21 Feb 2012 21:36:27 +0000 (22:36 +0100)]
Remove reST markup from --help output.  Also: O(n**2) is dict construction, not single insertion.

12 years agoFix flaky os.urandom test.
Antoine Pitrou [Tue, 21 Feb 2012 21:02:04 +0000 (22:02 +0100)]
Fix flaky os.urandom test.

12 years agomerge 2.6
Benjamin Peterson [Tue, 21 Feb 2012 20:09:08 +0000 (15:09 -0500)]
merge 2.6

12 years agodon't need this hack anymore
Benjamin Peterson [Tue, 21 Feb 2012 20:08:51 +0000 (15:08 -0500)]
don't need this hack anymore

12 years agoNull merge
Antoine Pitrou [Tue, 21 Feb 2012 19:52:54 +0000 (20:52 +0100)]
Null merge

12 years agoFix crash at startup with -W options.
Antoine Pitrou [Tue, 21 Feb 2012 19:42:48 +0000 (20:42 +0100)]
Fix crash at startup with -W options.

12 years agoFix crash at startup with -W options.
Antoine Pitrou [Tue, 21 Feb 2012 19:42:48 +0000 (20:42 +0100)]
Fix crash at startup with -W options.

12 years agoIssue #6807: Run msisupport.mak earlier.
Martin v. Löwis [Tue, 21 Feb 2012 17:12:02 +0000 (18:12 +0100)]
Issue #6807: Run msisupport.mak earlier.

12 years agomerge 2.6
Benjamin Peterson [Tue, 21 Feb 2012 16:24:21 +0000 (11:24 -0500)]
merge 2.6

12 years agomerge heads
Benjamin Peterson [Tue, 21 Feb 2012 16:23:21 +0000 (11:23 -0500)]
merge heads

12 years agomerge 2.7
Barry Warsaw [Tue, 21 Feb 2012 16:19:00 +0000 (11:19 -0500)]
merge 2.7

12 years agomerge 2.6
Barry Warsaw [Tue, 21 Feb 2012 16:16:52 +0000 (11:16 -0500)]
merge 2.6

12 years agoBackport fix from default branch for ./python -R -Wd where hash('d') would not
Barry Warsaw [Tue, 21 Feb 2012 16:16:06 +0000 (11:16 -0500)]
Backport fix from default branch for ./python -R -Wd where hash('d') would not
have gotten randomized.

12 years agoensure no one tries to hash things before the random seed is found
Benjamin Peterson [Tue, 21 Feb 2012 16:08:50 +0000 (11:08 -0500)]
ensure no one tries to hash things before the random seed is found

12 years agoIssue #10580: Minor grammar change in Windows installer.
Martin v. Löwis [Tue, 21 Feb 2012 16:07:32 +0000 (17:07 +0100)]
Issue #10580: Minor grammar change in Windows installer.

12 years agonull merge from 2.6
Barry Warsaw [Tue, 21 Feb 2012 15:23:27 +0000 (10:23 -0500)]
null merge from 2.6

12 years agoLet's sort the keys so that this test passes even with random hashes.
Barry Warsaw [Tue, 21 Feb 2012 15:22:34 +0000 (10:22 -0500)]
Let's sort the keys so that this test passes even with random hashes.

12 years agocarefully don't depend on any dict order
Benjamin Peterson [Tue, 21 Feb 2012 14:07:40 +0000 (09:07 -0500)]
carefully don't depend on any dict order

12 years agoremove extra zero
Benjamin Peterson [Tue, 21 Feb 2012 13:08:29 +0000 (08:08 -0500)]
remove extra zero

12 years agosqlite3: Fix 64-bit integer handling in user functions on 32-bit architectures
Petri Lehtinen [Tue, 21 Feb 2012 11:58:40 +0000 (13:58 +0200)]
sqlite3: Fix 64-bit integer handling in user functions on 32-bit architectures

Closes #8033.

12 years agoHTMLParser is now able to handle slashes in the start tag.
Ezio Melotti [Tue, 21 Feb 2012 07:22:16 +0000 (09:22 +0200)]
HTMLParser is now able to handle slashes in the start tag.

12 years agokill interned strings computed before random initialization
Benjamin Peterson [Tue, 21 Feb 2012 05:40:14 +0000 (00:40 -0500)]
kill interned strings computed before random initialization

12 years agodon't rely on dict order
Benjamin Peterson [Tue, 21 Feb 2012 05:15:10 +0000 (00:15 -0500)]
don't rely on dict order

12 years agoa frozenset is better here
Benjamin Peterson [Tue, 21 Feb 2012 04:13:20 +0000 (23:13 -0500)]
a frozenset is better here

12 years agouse set
Benjamin Peterson [Tue, 21 Feb 2012 04:11:19 +0000 (23:11 -0500)]
use set

12 years agodon't rely on dict order
Benjamin Peterson [Tue, 21 Feb 2012 04:06:22 +0000 (23:06 -0500)]
don't rely on dict order

12 years agothis was supposed to die
Benjamin Peterson [Tue, 21 Feb 2012 03:33:33 +0000 (22:33 -0500)]
this was supposed to die

12 years agofix for real this time...
Benjamin Peterson [Tue, 21 Feb 2012 03:00:46 +0000 (22:00 -0500)]
fix for real this time...

12 years agobelately resolve conflicts here
Benjamin Peterson [Tue, 21 Feb 2012 02:57:25 +0000 (21:57 -0500)]
belately resolve conflicts here

12 years agofix test_gdb under hash randomization
Benjamin Peterson [Tue, 21 Feb 2012 02:55:32 +0000 (21:55 -0500)]
fix test_gdb under hash randomization

12 years agodon't rely on dict order here
Benjamin Peterson [Tue, 21 Feb 2012 02:47:54 +0000 (21:47 -0500)]
don't rely on dict order here

12 years agomerge 2.6 with hash randomization fix
Benjamin Peterson [Tue, 21 Feb 2012 02:44:56 +0000 (21:44 -0500)]
merge 2.6 with hash randomization fix

12 years agoWhitespace normalization
Barry Warsaw [Tue, 21 Feb 2012 01:44:15 +0000 (20:44 -0500)]
Whitespace normalization

12 years ago- Issue #13703: oCERT-2011-003: add -R command-line option and PYTHONHASHSEED
Barry Warsaw [Tue, 21 Feb 2012 01:42:21 +0000 (20:42 -0500)]
- Issue #13703: oCERT-2011-003: add -R command-line option and PYTHONHASHSEED
  environment variable, to provide an opt-in way to protect against denial of
  service attacks due to hash collisions within the dict and set types.  Patch
  by David Malcolm, based on work by Victor Stinner.

12 years agodon't rely on the order of module clearing
Benjamin Peterson [Mon, 20 Feb 2012 20:20:37 +0000 (15:20 -0500)]
don't rely on the order of module clearing

12 years agonull merge from 2.6
Barry Warsaw [Mon, 20 Feb 2012 19:45:45 +0000 (14:45 -0500)]
null merge from 2.6

12 years agonull merge from 2.6
Barry Warsaw [Mon, 20 Feb 2012 19:44:26 +0000 (14:44 -0500)]
null merge from 2.6

12 years agoBack port Python 2.7 fix for test_invalid_redirect() in test_urllib.py.
Barry Warsaw [Mon, 20 Feb 2012 19:43:22 +0000 (14:43 -0500)]
Back port Python 2.7 fix for test_invalid_redirect() in test_urllib.py.

12 years agologging: clarified documentation for Handler.handleError.
Vinay Sajip [Mon, 20 Feb 2012 18:34:07 +0000 (18:34 +0000)]
logging: clarified documentation for Handler.handleError.

12 years agoAdd missing “::” markup and wrap overlong lines
Éric Araujo [Mon, 20 Feb 2012 01:08:01 +0000 (02:08 +0100)]
Add missing “::” markup and wrap overlong lines

12 years agoFix typo
Éric Araujo [Mon, 20 Feb 2012 01:07:31 +0000 (02:07 +0100)]
Fix typo

12 years agodon't split 'Hye-Shik Chang' name; thanks to Sergey from docs@
Sandro Tosi [Sun, 19 Feb 2012 11:29:43 +0000 (12:29 +0100)]
don't split 'Hye-Shik Chang' name; thanks to Sergey from docs@

12 years agouse Py_CLEAR
Benjamin Peterson [Sun, 19 Feb 2012 06:11:56 +0000 (01:11 -0500)]
use Py_CLEAR

12 years agoFix Test for issue #13500
Jesus Cea [Sun, 19 Feb 2012 03:20:45 +0000 (04:20 +0100)]
Fix Test for issue #13500