]> granicus.if.org Git - python/log
python
16 years agoMore improvements to pickle's documentation.
Alexandre Vassalotti [Fri, 24 Oct 2008 01:32:40 +0000 (01:32 +0000)]
More improvements to pickle's documentation.
Add "Restricting Globals" section.
Remove useless 'verbose' flag in the example dbpickle.py.

16 years agoMerged revisions 67005 via svnmerge from
Walter Dörwald [Thu, 23 Oct 2008 13:21:33 +0000 (13:21 +0000)]
Merged revisions 67005 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67005 | walter.doerwald | 2008-10-23 15:11:39 +0200 (Do, 23 Okt 2008) | 2 lines

  Use the correct names of the stateless codec functions (Fixes issue 4178).
........

16 years agoBlocked revisions 67002 via svnmerge
Hirokazu Yamamoto [Thu, 23 Oct 2008 00:51:26 +0000 (00:51 +0000)]
Blocked revisions 67002 via svnmerge

........
  r67002 | hirokazu.yamamoto | 2008-10-23 09:37:33 +0900 | 1 line

  Issue #4183: Some tests didn't run with pickle.HIGHEST_PROTOCOL.
........

16 years agoIssue #4183: Some tests didn't run with pickle.HIGHEST_PROTOCOL.
Hirokazu Yamamoto [Thu, 23 Oct 2008 00:38:15 +0000 (00:38 +0000)]
Issue #4183: Some tests didn't run with pickle.HIGHEST_PROTOCOL.
Reviewed by Benjamin Peterson.

16 years agodocument 'y(#)' format codes for Py_BuildValue
Benjamin Peterson [Tue, 21 Oct 2008 21:10:07 +0000 (21:10 +0000)]
document 'y(#)' format codes for Py_BuildValue

16 years agomake struct static
Benjamin Peterson [Mon, 20 Oct 2008 21:04:06 +0000 (21:04 +0000)]
make struct static

16 years agodocument changes to metaclasses
Benjamin Peterson [Sun, 19 Oct 2008 21:29:05 +0000 (21:29 +0000)]
document changes to metaclasses

16 years agorestore compilation on OpenBSD #4146
Benjamin Peterson [Sun, 19 Oct 2008 14:15:00 +0000 (14:15 +0000)]
restore compilation on OpenBSD #4146

16 years agoMerged revisions 66887,66891,66902-66903,66905-66906,66911-66913,66922,66927-66928...
Benjamin Peterson [Sun, 19 Oct 2008 14:07:49 +0000 (14:07 +0000)]
Merged revisions 66887,66891,66902-66903,66905-66906,66911-66913,66922,66927-66928,66936,66939-66940,66962,66964,66973 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

................
  r66887 | benjamin.peterson | 2008-10-13 16:51:40 -0500 (Mon, 13 Oct 2008) | 1 line

  document how to disable fixers
................
  r66891 | amaury.forgeotdarc | 2008-10-14 16:47:22 -0500 (Tue, 14 Oct 2008) | 5 lines

  #4122: On Windows, Py_UNICODE_ISSPACE cannot be used in an extension module:
  compilation fails with "undefined reference to _Py_ascii_whitespace"

  Will backport to 2.6.
................
  r66902 | skip.montanaro | 2008-10-15 06:49:10 -0500 (Wed, 15 Oct 2008) | 1 line

  easter egg
................
  r66903 | benjamin.peterson | 2008-10-15 15:34:09 -0500 (Wed, 15 Oct 2008) | 1 line

  don't recurse into directories that start with '.'
................
  r66905 | benjamin.peterson | 2008-10-15 16:05:55 -0500 (Wed, 15 Oct 2008) | 1 line

  support the optional line argument for idle
................
  r66906 | benjamin.peterson | 2008-10-15 16:58:46 -0500 (Wed, 15 Oct 2008) | 1 line

  add a much requested newline
................
  r66911 | benjamin.peterson | 2008-10-15 18:10:28 -0500 (Wed, 15 Oct 2008) | 41 lines

  Merged revisions 66805,66841,66860,66884-66886,66893,66907,66910 via svnmerge from
  svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

  ........
    r66805 | benjamin.peterson | 2008-10-04 20:11:02 -0500 (Sat, 04 Oct 2008) | 1 line

    mention what the fixes directory is for
  ........
    r66841 | benjamin.peterson | 2008-10-07 17:48:12 -0500 (Tue, 07 Oct 2008) | 1 line

    use assertFalse and assertTrue
  ........
    r66860 | benjamin.peterson | 2008-10-08 16:05:07 -0500 (Wed, 08 Oct 2008) | 1 line

    instead of abusing the pattern matcher, use start_tree to find a next binding
  ........
    r66884 | benjamin.peterson | 2008-10-13 15:50:30 -0500 (Mon, 13 Oct 2008) | 1 line

    don't print tokens to stdout when -v is given
  ........
    r66885 | benjamin.peterson | 2008-10-13 16:28:57 -0500 (Mon, 13 Oct 2008) | 1 line

    add the -x option to disable fixers
  ........
    r66886 | benjamin.peterson | 2008-10-13 16:33:53 -0500 (Mon, 13 Oct 2008) | 1 line

    cut down on some crud
  ........
    r66893 | benjamin.peterson | 2008-10-14 17:16:54 -0500 (Tue, 14 Oct 2008) | 1 line

    add an optional set literal fixer
  ........
    r66907 | benjamin.peterson | 2008-10-15 16:59:41 -0500 (Wed, 15 Oct 2008) | 1 line

    don't write backup files by default
  ........
    r66910 | benjamin.peterson | 2008-10-15 17:43:10 -0500 (Wed, 15 Oct 2008) | 1 line

    add the -n option; it stops backupfiles from being written
  ........
................
  r66912 | hirokazu.yamamoto | 2008-10-16 01:25:25 -0500 (Thu, 16 Oct 2008) | 2 lines

  removed unused _PyUnicode_FromFileSystemEncodedObject.
  made win32_chdir, win32_wchdir static.
................
  r66913 | benjamin.peterson | 2008-10-16 13:52:14 -0500 (Thu, 16 Oct 2008) | 1 line

  document that deque indexing is O(n) #4123
................
  r66922 | benjamin.peterson | 2008-10-16 14:40:14 -0500 (Thu, 16 Oct 2008) | 1 line

  use new showwarnings signature for idle #3391
................
  r66927 | andrew.kuchling | 2008-10-16 15:15:47 -0500 (Thu, 16 Oct 2008) | 1 line

  Fix wording (2.6.1 backport candidate)
................
  r66928 | georg.brandl | 2008-10-16 15:20:56 -0500 (Thu, 16 Oct 2008) | 2 lines

  Add more TOC to the whatsnew index page.
................
  r66936 | georg.brandl | 2008-10-16 16:20:15 -0500 (Thu, 16 Oct 2008) | 2 lines

  #4131: FF3 doesn't write cookies.txt files.
................
  r66939 | georg.brandl | 2008-10-16 16:36:39 -0500 (Thu, 16 Oct 2008) | 2 lines

  part of #4012: kill off old name "processing".
................
  r66940 | georg.brandl | 2008-10-16 16:38:48 -0500 (Thu, 16 Oct 2008) | 2 lines

  #4083: add "as" to except handler grammar as per PEP 3110.
................
  r66962 | benjamin.peterson | 2008-10-17 15:01:01 -0500 (Fri, 17 Oct 2008) | 1 line

  clarify CALL_FUNCTION #4141
................
  r66964 | georg.brandl | 2008-10-17 16:41:49 -0500 (Fri, 17 Oct 2008) | 2 lines

  Fix duplicate word.
................
  r66973 | armin.ronacher | 2008-10-19 03:27:43 -0500 (Sun, 19 Oct 2008) | 3 lines

  Fixed #4067 by implementing _attributes and _fields for the AST root node.
................

16 years agoImprove pickle's documentation.
Alexandre Vassalotti [Sat, 18 Oct 2008 20:47:58 +0000 (20:47 +0000)]
Improve pickle's documentation.
Use double-space for ending a sentence.
Add dbpickle.py example.
Improve description about persistent IDs.

16 years agoImprove pickle's documentation.
Alexandre Vassalotti [Sat, 18 Oct 2008 19:25:07 +0000 (19:25 +0000)]
Improve pickle's documentation.

There is still much to be done, but I am committing my changes
incrementally to avoid losing them again (for a third time now).

16 years ago#3664: The pickle module could segfault if a Pickler instance is not correctly initia...
Amaury Forgeot d'Arc [Fri, 17 Oct 2008 20:15:53 +0000 (20:15 +0000)]
#3664: The pickle module could segfault if a Pickler instance is not correctly initialized:
when a subclass forgets to call the base __init__ method,
or when __init__ is called a second time with invalid parameters

Patch by Alexandre Vassalotti.

16 years agoIssue #3717: Fix Demo/embed/demo.c.
Martin v. Löwis [Fri, 17 Oct 2008 15:54:44 +0000 (15:54 +0000)]
Issue #3717: Fix Demo/embed/demo.c.
Reviewed by Benjamin Peterson.

16 years agoMerged revisions 66958 via svnmerge from
Martin v. Löwis [Fri, 17 Oct 2008 13:47:20 +0000 (13:47 +0000)]
Merged revisions 66958 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66958 | martin.v.loewis | 2008-10-17 15:43:01 +0200 (Fr, 17 Okt 2008) | 1 line

  Issue #4091: Install pythonxy.dll in system32 again.
........

16 years agoReally commit the patch for bug 4125; runtests.sh use -bb flag
Barry Warsaw [Fri, 17 Oct 2008 12:05:40 +0000 (12:05 +0000)]
Really commit the patch for bug 4125; runtests.sh use -bb flag

16 years agoLatin-1 source code was not being properly decoded when passed through
Brett Cannon [Fri, 17 Oct 2008 03:38:50 +0000 (03:38 +0000)]
Latin-1 source code was not being properly decoded when passed through
compile(). This was due to left-over special-casing before UTF-8 became the
default source encoding.

Closes issue #3574. Thanks to Victor Stinner for help with the patch.

16 years agoSTINNER Victor (haypo)'s patch for bug 3988, Byte warning mode and b'' != ''
Barry Warsaw [Fri, 17 Oct 2008 01:50:37 +0000 (01:50 +0000)]
STINNER Victor (haypo)'s patch for bug 3988, Byte warning mode and b'' != ''

Also, his patch to runtests.sh to pass the -bb option (issue 4125).

16 years agoBenjamin Peterson's patch to fix bug 3661, sys.call_tracing segfaults.
Barry Warsaw [Fri, 17 Oct 2008 01:29:56 +0000 (01:29 +0000)]
Benjamin Peterson's patch to fix bug 3661, sys.call_tracing segfaults.

16 years agoApply Martin's patch for bug 3685, Crash while compiling Python 3000 in
Barry Warsaw [Fri, 17 Oct 2008 01:15:29 +0000 (01:15 +0000)]
Apply Martin's patch for bug 3685, Crash while compiling Python 3000 in
OpenBSD 4.4.

16 years agoadd tests for PyInstanceMethod_Type
Benjamin Peterson [Thu, 16 Oct 2008 23:56:29 +0000 (23:56 +0000)]
add tests for PyInstanceMethod_Type

16 years agoBlocked revisions 66386 via svnmerge
Benjamin Peterson [Thu, 16 Oct 2008 23:52:53 +0000 (23:52 +0000)]
Blocked revisions 66386 via svnmerge

........
  r66386 | nick.coghlan | 2008-09-11 07:11:06 -0500 (Thu, 11 Sep 2008) | 1 line

  Issue #3781: Final cleanup of warnings.catch_warnings and its usage in the test suite. Closes issue w.r.t. 2.6 (R: Brett Cannon)
........

16 years agoforward port r66386
Benjamin Peterson [Thu, 16 Oct 2008 23:24:44 +0000 (23:24 +0000)]
forward port r66386

16 years agoUnblocked revisions 66386 via svnmerge
Benjamin Peterson [Thu, 16 Oct 2008 22:49:08 +0000 (22:49 +0000)]
Unblocked revisions 66386 via svnmerge

........
  r66386 | nick.coghlan | 2008-09-11 07:11:06 -0500 (Thu, 11 Sep 2008) | 1 line

  Issue #3781: Final cleanup of warnings.catch_warnings and its usage in the test suite. Closes issue w.r.t. 2.6 (R: Brett Cannon)
........

16 years agoMerged revisions 66938,66942 via svnmerge from
Benjamin Peterson [Thu, 16 Oct 2008 21:56:24 +0000 (21:56 +0000)]
Merged revisions 66938,66942 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66938 | benjamin.peterson | 2008-10-16 16:27:54 -0500 (Thu, 16 Oct 2008) | 1 line

  fix possible ref leak
........
  r66942 | benjamin.peterson | 2008-10-16 16:48:06 -0500 (Thu, 16 Oct 2008) | 1 line

  fix more possible ref leaks in _json and use Py_CLEAR
........

16 years agomerge r66932 and add a few py3k only checks
Benjamin Peterson [Thu, 16 Oct 2008 21:17:24 +0000 (21:17 +0000)]
merge r66932 and add a few py3k only checks

16 years agoremove some more references to __cmp__ #1717
Benjamin Peterson [Thu, 16 Oct 2008 19:34:46 +0000 (19:34 +0000)]
remove some more references to __cmp__ #1717

16 years agouse bytes throughout telnetlib docs
Benjamin Peterson [Wed, 15 Oct 2008 22:28:54 +0000 (22:28 +0000)]
use bytes throughout telnetlib docs

16 years agoVictor Stinner's patch to make telnetlib use bytes 3725
Benjamin Peterson [Wed, 15 Oct 2008 20:54:24 +0000 (20:54 +0000)]
Victor Stinner's patch to make telnetlib use bytes 3725

16 years agoIssue #4072: Restore build_py_2to3. Add a distutils demo for
Martin v. Löwis [Wed, 15 Oct 2008 05:58:17 +0000 (05:58 +0000)]
Issue #4072: Restore build_py_2to3. Add a distutils demo for
build_py_2to3.

16 years agocorrect changed import
Benjamin Peterson [Wed, 15 Oct 2008 03:09:45 +0000 (03:09 +0000)]
correct changed import

16 years agoMerged revisions 66894 via svnmerge from
Benjamin Peterson [Tue, 14 Oct 2008 23:07:40 +0000 (23:07 +0000)]
Merged revisions 66894 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66894 | benjamin.peterson | 2008-10-14 17:37:18 -0500 (Tue, 14 Oct 2008) | 1 line

  remove set compat cruft
........

16 years agoMerged revisions 66881 via svnmerge from
Martin v. Löwis [Mon, 13 Oct 2008 11:30:30 +0000 (11:30 +0000)]
Merged revisions 66881 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66881 | martin.v.loewis | 2008-10-13 13:23:35 +0200 (Mo, 13 Okt 2008) | 2 lines

  Issue #4018: Disable "for me" installations on Vista.
........

16 years agoremove a mention of backtick repr
Benjamin Peterson [Sun, 12 Oct 2008 12:51:12 +0000 (12:51 +0000)]
remove a mention of backtick repr

16 years agofix merge boo-boo
Benjamin Peterson [Sat, 11 Oct 2008 02:19:18 +0000 (02:19 +0000)]
fix merge boo-boo

16 years agomerge from trunk
Benjamin Peterson [Sat, 11 Oct 2008 00:49:57 +0000 (00:49 +0000)]
merge from trunk

16 years agoBlocked revisions 66822 via svnmerge
Benjamin Peterson [Fri, 10 Oct 2008 23:15:38 +0000 (23:15 +0000)]
Blocked revisions 66822 via svnmerge

........
  r66822 | skip.montanaro | 2008-10-06 20:55:20 -0500 (Mon, 06 Oct 2008) | 2 lines

  Simplify individual tests by defining setUp and tearDown methods.
........

16 years agoMerged revisions 66703,66708 via svnmerge from
Benjamin Peterson [Fri, 10 Oct 2008 22:20:52 +0000 (22:20 +0000)]
Merged revisions 66703,66708 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66703 | gregory.p.smith | 2008-09-30 15:41:13 -0500 (Tue, 30 Sep 2008) | 6 lines

  Works around issue3863: freebsd4/5/6 and os2emx are known to have OS bugs when
  calling fork() from a child thread.  This disables that unit test (with a note
  printed to stderr) on those platforms.

  A caveat about buggy platforms is added to the os.fork documentation.
........
  r66708 | andrew.macintyre | 2008-09-30 22:25:25 -0500 (Tue, 30 Sep 2008) | 9 lines

  fix for issue 3862: test_array fails FreeBSD 7 amd64

  FreeBSD 7's underlying malloc() is behaves differently to earlier versions
  and seriously overcommits available memory on amd64.  This may affect
  other 64bit platforms in some circumstances, so the scale of the
  problematic test is wound back.

  Patch by Mark Dickinson, reviewed by Martin von Loewis.
........

16 years agoIssues #2384 and #3975: Tracebacks were not correctly printed when the source file
Amaury Forgeot d'Arc [Thu, 9 Oct 2008 23:37:48 +0000 (23:37 +0000)]
Issues #2384 and #3975: Tracebacks were not correctly printed when the source file
contains a ``coding:`` header: the wrong line was displayed, and the encoding was not respected.

Patch by Victor Stinner.

16 years agoSome more notes about bytes/string filename APIs.
Georg Brandl [Wed, 8 Oct 2008 16:34:57 +0000 (16:34 +0000)]
Some more notes about bytes/string filename APIs.

16 years agoThe #warning directive is a gcc extension to standard C,
Amaury Forgeot d'Arc [Tue, 7 Oct 2008 21:27:43 +0000 (21:27 +0000)]
The #warning directive is a gcc extension to standard C,
and Microsoft compilers spells it differently.

16 years ago#4004: Missing newline in some startup error messages.
Amaury Forgeot d'Arc [Tue, 7 Oct 2008 21:06:18 +0000 (21:06 +0000)]
#4004: Missing newline in some startup error messages.
Patch by Victor.

16 years agoIssue #3740: Null-initialize module state.
Martin v. Löwis [Tue, 7 Oct 2008 13:16:28 +0000 (13:16 +0000)]
Issue #3740: Null-initialize module state.
Reviewed by Benjamin Peterson.

16 years agoMore bytes vs. strings documentation.
Martin v. Löwis [Tue, 7 Oct 2008 07:03:04 +0000 (07:03 +0000)]
More bytes vs. strings documentation.

16 years agoPatch #3187 (file 11721): Document byte vs. string parameters
Martin v. Löwis [Tue, 7 Oct 2008 06:36:31 +0000 (06:36 +0000)]
Patch #3187 (file 11721): Document byte vs. string parameters
and results.

16 years agomerge from trunk
Skip Montanaro [Tue, 7 Oct 2008 02:51:48 +0000 (02:51 +0000)]
merge from trunk

16 years agoMerged revisions 66677,66700 via svnmerge from
Benjamin Peterson [Tue, 7 Oct 2008 02:32:59 +0000 (02:32 +0000)]
Merged revisions 66677,66700 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66677 | brett.cannon | 2008-09-28 22:41:21 -0500 (Sun, 28 Sep 2008) | 7 lines

  The _lsprof module could crash the interpreter if it was given an external
  timer that did not return a float and a timer was still running when the
  Profiler object was garbage collected.

  Fixes issue 3895.
  Code review by Benjamin Peterson.
........
  r66700 | brett.cannon | 2008-09-30 12:46:03 -0500 (Tue, 30 Sep 2008) | 5 lines

  Fix a refleak introduced by r66677.

  Fix suggested by Amaury Forgeot d'Arc.
  Closes issue #4003.
........

16 years agoUnblocked revisions 66677 via svnmerge
Benjamin Peterson [Tue, 7 Oct 2008 02:22:24 +0000 (02:22 +0000)]
Unblocked revisions 66677 via svnmerge

........
  r66677 | brett.cannon | 2008-09-28 22:41:21 -0500 (Sun, 28 Sep 2008) | 7 lines

  The _lsprof module could crash the interpreter if it was given an external
  timer that did not return a float and a timer was still running when the
  Profiler object was garbage collected.

  Fixes issue 3895.
  Code review by Benjamin Peterson.
........

16 years agoMerged revisions 66819 via svnmerge from
Brett Cannon [Mon, 6 Oct 2008 22:48:11 +0000 (22:48 +0000)]
Merged revisions 66819 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66819 | brett.cannon | 2008-10-06 15:44:37 -0700 (Mon, 06 Oct 2008) | 4 lines

  Add the 'patchcheck' build target to .PHONY.

  Re-closes issue 3758. Thanks to Ralph Corderoy for the catch.
........

16 years agoa trival fix to let test_profile pass if it runs after test_cprofile
Benjamin Peterson [Mon, 6 Oct 2008 22:05:00 +0000 (22:05 +0000)]
a trival fix to let test_profile pass if it runs after test_cprofile

16 years agounbreak test_cprofile
Benjamin Peterson [Mon, 6 Oct 2008 21:03:05 +0000 (21:03 +0000)]
unbreak test_cprofile

16 years agoMerged revisions 66814 via svnmerge from
Martin v. Löwis [Mon, 6 Oct 2008 15:19:21 +0000 (15:19 +0000)]
Merged revisions 66814 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66814 | martin.v.loewis | 2008-10-06 17:15:40 +0200 (Mo, 06 Okt 2008) | 3 lines

  Issue #4014: Don't claim that Python has an Alpha release status, in addition
  to claiming it is Mature.
........

16 years agoBlocked revisions 66809-66810 via svnmerge
Hirokazu Yamamoto [Mon, 6 Oct 2008 04:53:43 +0000 (04:53 +0000)]
Blocked revisions 66809-66810 via svnmerge

........
  r66809 | hirokazu.yamamoto | 2008-10-06 10:57:03 +0900 | 1 line

  Added the test for issue3762.
........
  r66810 | hirokazu.yamamoto | 2008-10-06 11:41:59 +0900 | 1 line

  More strict test. Consider the case sys.executable itself is symlink.
........

16 years agoAdded the test for issue3762.
Hirokazu Yamamoto [Mon, 6 Oct 2008 04:51:11 +0000 (04:51 +0000)]
Added the test for issue3762.

16 years agoIssue 3412: Mention fractions and decimal in the tutorial section on floating point.
Raymond Hettinger [Sun, 5 Oct 2008 17:57:52 +0000 (17:57 +0000)]
Issue 3412: Mention fractions and decimal in the tutorial section on floating point.

16 years agoIssue 3288: document as_integer_ratio(), fromhex(), and hex().
Raymond Hettinger [Sun, 5 Oct 2008 16:46:29 +0000 (16:46 +0000)]
Issue 3288: document as_integer_ratio(), fromhex(), and hex().

16 years agoFix [issue4038] py3k error in distutils file_copy exception handlers. r=martin.
Mark Hammond [Sun, 5 Oct 2008 09:00:28 +0000 (09:00 +0000)]
Fix [issue4038] py3k error in distutils file_copy exception handlers. r=martin.

16 years agoMerged revisions 66670,66681,66688,66696-66699 via svnmerge from
Benjamin Peterson [Sat, 4 Oct 2008 22:00:42 +0000 (22:00 +0000)]
Merged revisions 66670,66681,66688,66696-66699 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66670 | georg.brandl | 2008-09-28 15:01:36 -0500 (Sun, 28 Sep 2008) | 2 lines

  Don't show version in title.
........
  r66681 | georg.brandl | 2008-09-29 11:51:35 -0500 (Mon, 29 Sep 2008) | 2 lines

  Update nasm location.
........
  r66688 | jesse.noller | 2008-09-29 19:15:45 -0500 (Mon, 29 Sep 2008) | 2 lines

  issue3770: if SEM_OPEN is 0, disable the mp.synchronize module, rev. Nick Coghlan, Damien Miller
........
  r66696 | andrew.kuchling | 2008-09-30 07:31:07 -0500 (Tue, 30 Sep 2008) | 1 line

  Edits, and add markup
........
  r66697 | andrew.kuchling | 2008-09-30 08:00:34 -0500 (Tue, 30 Sep 2008) | 1 line

  Markup fix
........
  r66698 | andrew.kuchling | 2008-09-30 08:00:51 -0500 (Tue, 30 Sep 2008) | 1 line

  Markup fixes
........
  r66699 | andrew.kuchling | 2008-09-30 08:01:46 -0500 (Tue, 30 Sep 2008) | 1 line

  Markup fixes.  (optparse.rst probably needs an entire revision pass.)
........

16 years agoMerged revisions 66797 via svnmerge from
Benjamin Peterson [Sat, 4 Oct 2008 21:04:36 +0000 (21:04 +0000)]
Merged revisions 66797 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

................
  r66797 | benjamin.peterson | 2008-10-04 15:55:50 -0500 (Sat, 04 Oct 2008) | 19 lines

  Merged revisions 66707,66775,66782 via svnmerge from
  svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

  ........
    r66707 | benjamin.peterson | 2008-09-30 18:27:10 -0500 (Tue, 30 Sep 2008) | 1 line

    fix #4001: fix_imports didn't check for __init__.py before converting to relative imports
  ........
    r66775 | collin.winter | 2008-10-03 12:08:26 -0500 (Fri, 03 Oct 2008) | 4 lines

    Add an alternative iterative pattern matching system that, while slower, correctly parses files that cause the faster recursive pattern matcher to fail with a recursion error. lib2to3 falls back to the iterative matcher if the recursive one fails.

    Fixes http://bugs.python.org/issue2532. Thanks to Nick Edds.
  ........
    r66782 | benjamin.peterson | 2008-10-03 17:51:36 -0500 (Fri, 03 Oct 2008) | 1 line

    add Victor Stinner's fixer for os.getcwdu -> os.getcwd #4023
  ........
................

16 years ago#4029: fix typo.
Georg Brandl [Sat, 4 Oct 2008 18:37:20 +0000 (18:37 +0000)]
#4029: fix typo.

16 years ago#4000: fix several 2.x atavisms.
Georg Brandl [Sat, 4 Oct 2008 18:33:26 +0000 (18:33 +0000)]
#4000: fix several 2.x atavisms.

16 years agoIssue3187 for Macintosh platform:
Amaury Forgeot d'Arc [Fri, 3 Oct 2008 21:57:20 +0000 (21:57 +0000)]
Issue3187 for Macintosh platform:
macpath.py now accepts both unicode string and bytes as file names.
Also add more tests for these functions.

Reviewed by Benjamin.

16 years agoBlocked revisions 66714,66721,66763-66765 via svnmerge
Benjamin Peterson [Fri, 3 Oct 2008 21:35:48 +0000 (21:35 +0000)]
Blocked revisions 66714,66721,66763-66765 via svnmerge

........
  r66714 | barry.warsaw | 2008-10-01 16:46:40 -0500 (Wed, 01 Oct 2008) | 2 lines

  Bumping to 2.6 final.
........
  r66721 | barry.warsaw | 2008-10-01 22:33:51 -0500 (Wed, 01 Oct 2008) | 1 line

  Bump to 2.7a0
........
  r66763 | neal.norwitz | 2008-10-02 23:13:08 -0500 (Thu, 02 Oct 2008) | 1 line

  Update the version to 2.7.  Hopefully this fixes the test_distutils failure
........
  r66764 | martin.v.loewis | 2008-10-03 03:59:41 -0500 (Fri, 03 Oct 2008) | 2 lines

  Bump version to 2.7. Regenerate.
........
  r66765 | martin.v.loewis | 2008-10-03 05:59:55 -0500 (Fri, 03 Oct 2008) | 1 line

  Update version number to 2.7.
........

16 years agoIssue3187 again: test_ntpath failed when run with the -bb option
Amaury Forgeot d'Arc [Fri, 3 Oct 2008 20:32:33 +0000 (20:32 +0000)]
Issue3187 again: test_ntpath failed when run with the -bb option
(BytesWarning: Comparison between bytes and string)

16 years agoMake the test more robust in face of remaining files.
Amaury Forgeot d'Arc [Fri, 3 Oct 2008 19:34:30 +0000 (19:34 +0000)]
Make the test more robust in face of remaining files.

16 years agoSecond part of #3187, for windows:
Amaury Forgeot d'Arc [Fri, 3 Oct 2008 18:38:26 +0000 (18:38 +0000)]
Second part of #3187, for windows:
os and os.path functions now accept both unicode and byte strings for file names.

Reviewed by Guido.

16 years agoChange fnmatch.py to use separate caches for str and bytes keys.
Guido van Rossum [Fri, 3 Oct 2008 16:38:30 +0000 (16:38 +0000)]
Change fnmatch.py to use separate caches for str and bytes keys.
This is necessary to pass the tests with -bb.

16 years agoBlocked revisions 66768 via svnmerge
Hirokazu Yamamoto [Fri, 3 Oct 2008 16:16:20 +0000 (16:16 +0000)]
Blocked revisions 66768 via svnmerge

........
  r66768 | hirokazu.yamamoto | 2008-10-04 01:07:28 +0900 | 1 line

  Follows to python's version change (VC6)
........

16 years agoIssue #3187: Add sys.setfilesystemencoding.
Martin v. Löwis [Fri, 3 Oct 2008 16:09:28 +0000 (16:09 +0000)]
Issue #3187: Add sys.setfilesystemencoding.

16 years agoupdate pydoc-topics
Benjamin Peterson [Thu, 2 Oct 2008 21:02:27 +0000 (21:02 +0000)]
update pydoc-topics

16 years agoBlocked revisions 66756 via svnmerge
Benjamin Peterson [Thu, 2 Oct 2008 20:52:36 +0000 (20:52 +0000)]
Blocked revisions 66756 via svnmerge

........
  r66756 | benjamin.peterson | 2008-10-02 15:46:58 -0500 (Thu, 02 Oct 2008) | 1 line

  update pydoc topics
........

16 years agoAdd UUID for 3.0b4.
Martin v. Löwis [Thu, 2 Oct 2008 20:10:40 +0000 (20:10 +0000)]
Add UUID for 3.0b4.

16 years agoAdd UUID for 3.1.
Martin v. Löwis [Thu, 2 Oct 2008 20:09:47 +0000 (20:09 +0000)]
Add UUID for 3.1.

16 years agoMerged revisions 66752 via svnmerge from
Martin v. Löwis [Thu, 2 Oct 2008 20:09:01 +0000 (20:09 +0000)]
Merged revisions 66752 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66752 | martin.v.loewis | 2008-10-02 22:04:47 +0200 (Do, 02 Okt 2008) | 2 lines

  Add UUID for 2.7.
........

16 years agoMerged revisions 66748 via svnmerge from
Christian Heimes [Thu, 2 Oct 2008 19:56:01 +0000 (19:56 +0000)]
Merged revisions 66748 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66748 | christian.heimes | 2008-10-02 21:47:50 +0200 (Thu, 02 Oct 2008) | 1 line

  Fixed a couple more C99 comments and one occurence of inline.
........

+ another // comment in bytesobject

16 years agoBlocked revisions 66744 via svnmerge
Benjamin Peterson [Thu, 2 Oct 2008 19:10:18 +0000 (19:10 +0000)]
Blocked revisions 66744 via svnmerge

........
  r66744 | benjamin.peterson | 2008-10-02 14:00:31 -0500 (Thu, 02 Oct 2008) | 1 line

  we're in 2.7 now
........

16 years agoIssue #3187: Better support for "undecodable" filenames. Code by Victor
Guido van Rossum [Thu, 2 Oct 2008 18:55:37 +0000 (18:55 +0000)]
Issue #3187: Better support for "undecodable" filenames.  Code by Victor
Stinner, with small tweaks by GvR.

16 years agoMerged revisions 66739 via svnmerge from
Christian Heimes [Thu, 2 Oct 2008 18:38:11 +0000 (18:38 +0000)]
Merged revisions 66739 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66739 | christian.heimes | 2008-10-02 20:33:41 +0200 (Thu, 02 Oct 2008) | 1 line

  Fixed a comment to C89 style as of http://drj11.wordpress.com/2008/10/02/python-and-bragging-about-c89/
........

16 years agoFix svn:ignore properties on these two directories.
Guido van Rossum [Thu, 2 Oct 2008 16:57:05 +0000 (16:57 +0000)]
Fix svn:ignore properties on these two directories.

16 years agoMerged revisions 66722 via svnmerge from
Martin v. Löwis [Thu, 2 Oct 2008 11:46:09 +0000 (11:46 +0000)]
Merged revisions 66722 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66722 | martin.v.loewis | 2008-10-02 13:44:17 +0200 (Do, 02 Okt 2008) | 1 line

  Use CRT 9 policy files.
........

16 years agoMerged revisions 66710 via svnmerge from
Martin v. Löwis [Wed, 1 Oct 2008 11:22:32 +0000 (11:22 +0000)]
Merged revisions 66710 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66710 | martin.v.loewis | 2008-10-01 13:19:50 +0200 (Mi, 01 Okt 2008) | 2 lines

  Bug #3989: Package the 2to3 script (as 2to3.py) in the Windows
  installer.
........

16 years agoFix a probable merge glitch in r66695:
Amaury Forgeot d'Arc [Tue, 30 Sep 2008 20:22:44 +0000 (20:22 +0000)]
Fix a probable merge glitch in r66695:
a redundant check that actually belongs to another function.

16 years agocheck for errors after PyLong_Ssize_t
Benjamin Peterson [Tue, 30 Sep 2008 02:22:04 +0000 (02:22 +0000)]
check for errors after PyLong_Ssize_t

patch from Victor Stinner #3977
reviewed by Amaury

16 years agoMerged revisions 66693 via svnmerge from
Benjamin Peterson [Tue, 30 Sep 2008 02:18:09 +0000 (02:18 +0000)]
Merged revisions 66693 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66693 | benjamin.peterson | 2008-09-29 21:11:07 -0500 (Mon, 29 Sep 2008) | 4 lines

  Victor Stinner's patches to check the return result of PyLong_Ssize_t

  reviewed by Amaury
........

16 years agoremove a trace of the cmp argument for list.sort
Benjamin Peterson [Tue, 30 Sep 2008 02:08:36 +0000 (02:08 +0000)]
remove a trace of the cmp argument for list.sort

16 years agoBlocked revisions 66676,66682,66689 via svnmerge
Benjamin Peterson [Tue, 30 Sep 2008 01:53:10 +0000 (01:53 +0000)]
Blocked revisions 66676,66682,66689 via svnmerge

........
  r66676 | jesus.cea | 2008-09-28 18:24:19 -0500 (Sun, 28 Sep 2008) | 1 line

  bsddb4.7.3pre9 renamed to 4.7.3
........
  r66682 | bill.janssen | 2008-09-29 13:56:38 -0500 (Mon, 29 Sep 2008) | 1 line

  fix for release blocker 3910, 2.6 regression in socket.ssl method
........
  r66689 | benjamin.peterson | 2008-09-29 20:31:49 -0500 (Mon, 29 Sep 2008) | 5 lines

  fix security issue 2: imageop's poor validation of arguments could result in segfaults

  patch by Victor Stinner
  reviewed by myself and Brett
........

16 years agoMerged revisions 66686 via svnmerge from
Martin v. Löwis [Mon, 29 Sep 2008 22:19:08 +0000 (22:19 +0000)]
Merged revisions 66686 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66686 | martin.v.loewis | 2008-09-30 00:09:07 +0200 (Di, 30 Sep 2008) | 5 lines

  Issue #3965: Allow repeated calls to turtle.Screen, by making it a
  true singleton object.

  Reviewed by Gregor Lingl.
........

16 years agoMerged revisions 66683 via svnmerge from
Thomas Heller [Mon, 29 Sep 2008 20:03:53 +0000 (20:03 +0000)]
Merged revisions 66683 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66683 | thomas.heller | 2008-09-29 21:56:24 +0200 (Mo, 29 Sep 2008) | 1 line

  Fix issue #3547 for MingW, update comments.
........

16 years ago#3993: fix old-style print statements.
Georg Brandl [Mon, 29 Sep 2008 06:43:45 +0000 (06:43 +0000)]
#3993: fix old-style print statements.

16 years agoBlocked revisions 66677 via svnmerge.
Brett Cannon [Mon, 29 Sep 2008 04:05:23 +0000 (04:05 +0000)]
Blocked revisions 66677 via svnmerge.

Should be merged once test_cProfile is no longer flagged as broken.

........
  r66677 | brett.cannon | 2008-09-28 20:41:21 -0700 (Sun, 28 Sep 2008) | 7 lines

  The _lsprof module could crash the interpreter if it was given an external
  timer that did not return a float and a timer was still running when the
  Profiler object was garbage collected.

  Fixes issue 3895.
  Code review by Benjamin Peterson.
........

16 years agoMerged revisions 66673 via svnmerge from
Benjamin Peterson [Sun, 28 Sep 2008 21:00:42 +0000 (21:00 +0000)]
Merged revisions 66673 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66673 | benjamin.peterson | 2008-09-28 15:57:21 -0500 (Sun, 28 Sep 2008) | 1 line

  merge in the fix for test_ftplib on some bots [reviewed by Georg]
........

16 years ago#3983: typo fix.
Georg Brandl [Sun, 28 Sep 2008 09:08:27 +0000 (09:08 +0000)]
#3983: typo fix.

16 years agoMerged revisions 66667 via svnmerge from
Georg Brandl [Sun, 28 Sep 2008 08:38:49 +0000 (08:38 +0000)]
Merged revisions 66667 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66667 | georg.brandl | 2008-09-28 10:34:31 +0200 (Sun, 28 Sep 2008) | 2 lines

  No downloads for RCs.
........

16 years agoDevil merge!
Benjamin Peterson [Sun, 28 Sep 2008 02:06:32 +0000 (02:06 +0000)]
Devil merge!

Merged revisions 66561,66564,66580,66610,66614,66618,66624-66625,66628-66629,66643,66645,66660-66665 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66561 | benjamin.peterson | 2008-09-22 17:13:29 -0500 (Mon, 22 Sep 2008) | 1 line

  clean up docs for platform's linux_distribution and dist functions
........
  r66564 | benjamin.peterson | 2008-09-23 08:32:46 -0500 (Tue, 23 Sep 2008) | 1 line

  mention how to override boolean evaluation
........
  r66580 | georg.brandl | 2008-09-24 04:47:55 -0500 (Wed, 24 Sep 2008) | 2 lines

  Indentation normalization.
........
  r66610 | andrew.kuchling | 2008-09-24 12:27:55 -0500 (Wed, 24 Sep 2008) | 1 line

  Improve wording
........
  r66614 | benjamin.peterson | 2008-09-24 17:11:59 -0500 (Wed, 24 Sep 2008) | 4 lines

  #3950 fix missing scale factors in turtle.py

  reviewers: Georg, Benjamin
........
  r66618 | benjamin.peterson | 2008-09-25 15:35:45 -0500 (Thu, 25 Sep 2008) | 1 line

  add a NEWs entry for r66614
........
  r66624 | raymond.hettinger | 2008-09-25 18:31:52 -0500 (Thu, 25 Sep 2008) | 1 line

  Fix namedtuple bug reported by Glenn Linderman.  Template did not form correctly if the field names were input in Unicode.
........
  r66625 | benjamin.peterson | 2008-09-25 21:58:36 -0500 (Thu, 25 Sep 2008) | 1 line

  add the beginnings of a C-API 2 -> 3 porting guide
........
  r66628 | benjamin.peterson | 2008-09-26 15:52:06 -0500 (Fri, 26 Sep 2008) | 1 line

  add an 'other options' section
........
  r66629 | georg.brandl | 2008-09-26 16:15:21 -0500 (Fri, 26 Sep 2008) | 2 lines

  typos.
........
  r66643 | andrew.kuchling | 2008-09-27 09:12:33 -0500 (Sat, 27 Sep 2008) | 1 line

  Add a last bunch of items
........
  r66645 | benjamin.peterson | 2008-09-27 11:23:55 -0500 (Sat, 27 Sep 2008) | 1 line

  2to3's api should be considered unstable
........
  r66660 | andrew.kuchling | 2008-09-27 17:54:08 -0500 (Sat, 27 Sep 2008) | 1 line

  #3510: future-proof text
........
  r66661 | benjamin.peterson | 2008-09-27 18:28:43 -0500 (Sat, 27 Sep 2008) | 1 line

  clarify a few things
........
  r66662 | andrew.kuchling | 2008-09-27 19:15:27 -0500 (Sat, 27 Sep 2008) | 1 line

  #1579477: mention necessity to flush output before exec'ing
........
  r66663 | andrew.kuchling | 2008-09-27 20:08:47 -0500 (Sat, 27 Sep 2008) | 1 line

  #1415508: Document two functions
........
  r66664 | benjamin.peterson | 2008-09-27 20:51:36 -0500 (Sat, 27 Sep 2008) | 1 line

  better grammar
........
  r66665 | benjamin.peterson | 2008-09-27 20:53:29 -0500 (Sat, 27 Sep 2008) | 1 line

  note the 2to3 -d could be useful for other refactoring
........

16 years agoMerged revisions 66653-66654 via svnmerge from
Benjamin Peterson [Sat, 27 Sep 2008 22:17:35 +0000 (22:17 +0000)]
Merged revisions 66653-66654 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

................
  r66653 | benjamin.peterson | 2008-09-27 16:09:10 -0500 (Sat, 27 Sep 2008) | 49 lines

  Merged revisions 66511,66548-66549,66644,66646-66652 via svnmerge from
  svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

  ........
    r66511 | benjamin.peterson | 2008-09-18 21:49:27 -0500 (Thu, 18 Sep 2008) | 1 line

    remove a  useless if __name__ == '__main__'
  ........
    r66548 | benjamin.peterson | 2008-09-21 21:14:14 -0500 (Sun, 21 Sep 2008) | 1 line

    avoid the perils of mutable default arguments
  ........
    r66549 | benjamin.peterson | 2008-09-21 21:26:11 -0500 (Sun, 21 Sep 2008) | 1 line

    some places in RefactoringTool should raise an error instead of logging it
  ........
    r66644 | benjamin.peterson | 2008-09-27 10:45:10 -0500 (Sat, 27 Sep 2008) | 1 line

    fix doctest refactoring
  ........
    r66646 | benjamin.peterson | 2008-09-27 11:40:13 -0500 (Sat, 27 Sep 2008) | 1 line

    don't print to stdout when 2to3 is used as a library
  ........
    r66647 | benjamin.peterson | 2008-09-27 12:28:28 -0500 (Sat, 27 Sep 2008) | 1 line

    let fixer modules and classes have different prefixes
  ........
    r66648 | benjamin.peterson | 2008-09-27 14:02:13 -0500 (Sat, 27 Sep 2008) | 1 line

    raise errors when 2to3 is used as a library
  ........
    r66649 | benjamin.peterson | 2008-09-27 14:03:38 -0500 (Sat, 27 Sep 2008) | 1 line

    fix docstring
  ........
    r66650 | benjamin.peterson | 2008-09-27 14:22:21 -0500 (Sat, 27 Sep 2008) | 1 line

    make use of enumerate
  ........
    r66651 | benjamin.peterson | 2008-09-27 14:24:13 -0500 (Sat, 27 Sep 2008) | 1 line

    revert last revision; it breaks things
  ........
    r66652 | benjamin.peterson | 2008-09-27 16:03:06 -0500 (Sat, 27 Sep 2008) | 1 line

    add tests for lib2to3.refactor
  ........
................
  r66654 | benjamin.peterson | 2008-09-27 16:12:20 -0500 (Sat, 27 Sep 2008) | 1 line

  enable refactor tests
................

16 years agoBlocked revisions 66657 via svnmerge
Benjamin Peterson [Sat, 27 Sep 2008 22:10:28 +0000 (22:10 +0000)]
Blocked revisions 66657 via svnmerge

........
  r66657 | benjamin.peterson | 2008-09-27 17:08:12 -0500 (Sat, 27 Sep 2008) | 1 line

  backport r66656 so people using -Qnew aren't affected
........

16 years ago#3911 FTP.makeport was giving bad port numbers
Benjamin Peterson [Sat, 27 Sep 2008 22:04:16 +0000 (22:04 +0000)]
#3911 FTP.makeport was giving bad port numbers

reviewed by Benjamin and Antoine

16 years agoMerged revisions 66634 via svnmerge from
Benjamin Peterson [Sat, 27 Sep 2008 21:49:47 +0000 (21:49 +0000)]
Merged revisions 66634 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66634 | benjamin.peterson | 2008-09-26 21:49:54 -0500 (Fri, 26 Sep 2008) | 7 lines

  give ftplib a real test suite

  A asyncore based mock ftp server is used to test the protocol.
  This is all thanks to Giampaolo Rodola #3939

  (Barry gave me permission to do this before final on IRC.)
........

16 years agoMerged revisions 66631 via svnmerge from
Amaury Forgeot d'Arc [Fri, 26 Sep 2008 22:48:41 +0000 (22:48 +0000)]
Merged revisions 66631 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66631 | amaury.forgeotdarc | 2008-09-27 00:34:08 +0200 (sam., 27 sept. 2008) | 7 lines

  #3967: Correct a crash in count() and find() methods of string-like objects.
  For example:
     "".count("xxxx", sys.maxint, 0)

  Reviewed by Benjamin Peterson.
  Will port to 2.5 and 3.0.
........

16 years ago#3946 fix PyObject_CheckBuffer on a memoryview object
Benjamin Peterson [Fri, 26 Sep 2008 21:49:22 +0000 (21:49 +0000)]
#3946 fix PyObject_CheckBuffer on a memoryview object

reviewed by Antoine

16 years agoBlocked revisions 66568 via svnmerge
Amaury Forgeot d'Arc [Thu, 25 Sep 2008 22:55:06 +0000 (22:55 +0000)]
Blocked revisions 66568 via svnmerge

........
  r66568 | jesus.cea | 2008-09-23 20:54:08 +0200 (mar., 23 sept. 2008) | 1 line

  Bugfix for issue3885 and 'DB.verify()' crash
........