]> granicus.if.org Git - python/log
python
16 years agoMerged revisions 62199 via svnmerge from
Martin v. Löwis [Mon, 7 Apr 2008 03:22:07 +0000 (03:22 +0000)]
Merged revisions 62199 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r62199 | martin.v.loewis | 2008-04-07 05:08:28 +0200 (Mo, 07 Apr 2008) | 2 lines

  Bug #2388: Fix gcc warnings when compiling with --enable-unicode=ucs4.
........

16 years agoMerged revisions 62177-62178,62180-62193 via svnmerge from
Martin v. Löwis [Mon, 7 Apr 2008 03:17:54 +0000 (03:17 +0000)]
Merged revisions 62177-62178,62180-62193 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r62177 | skip.montanaro | 2008-04-05 21:47:47 +0200 (Sa, 05 Apr 2008) | 2 lines

  Declare inittimezone static.
........
  r62180 | mark.hammond | 2008-04-06 03:42:06 +0200 (So, 06 Apr 2008) | 4 lines

  From issue 1753245 - better _winreg support for x64.
  Adds _winreg.DisableReflectionKey, EnableReflectionKey, QueryReflectionKey,
  KEY_WOW64_64KEY and KEY_WOW64_32KEY.
........
  r62187 | skip.montanaro | 2008-04-06 19:05:57 +0200 (So, 06 Apr 2008) | 1 line

  type
........
  r62193 | trent.nelson | 2008-04-06 22:51:23 +0200 (So, 06 Apr 2008) | 1 line

  Don't run kill_python as part of the build process.  Change the buildbots so they have to call it explicitly instead.
........

16 years agoMerged revisions 62179 via svnmerge from
Thomas Wouters [Mon, 7 Apr 2008 00:25:59 +0000 (00:25 +0000)]
Merged revisions 62179 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r62179 | thomas.wouters | 2008-04-06 01:39:15 +0200 (Sun, 06 Apr 2008) | 10 lines

  Fix test_distutils to not fail when running 'make test' from a Python build
  directory that is not the source directory (ie, one created using
  '/path/to/source/configure'.) Leaves this test very slightly degraded in
  that particular case, compared to the build-in-sourcedir case, but that case
  isn't a particularly strong test either: neither test the actual path that
  will be used after installing. There isn't a particularly good way to test
  this, and a poor test beats a failing test.
........

16 years agoDocstring fix.
Georg Brandl [Sun, 6 Apr 2008 20:27:02 +0000 (20:27 +0000)]
Docstring fix.

16 years agoConvert another %s to %ls.
Martin v. Löwis [Sun, 6 Apr 2008 17:57:16 +0000 (17:57 +0000)]
Convert another %s to %ls.

16 years agofix typo in doc string
Benjamin Peterson [Sun, 6 Apr 2008 16:47:13 +0000 (16:47 +0000)]
fix typo in doc string

16 years ago#2558: document pickle protocol version 3. Thanks to Guilherme Polo.
Georg Brandl [Sun, 6 Apr 2008 08:39:37 +0000 (08:39 +0000)]
#2558: document pickle protocol version 3. Thanks to Guilherme Polo.

16 years agoChange command line processing API to use wchar_t.
Martin v. Löwis [Sat, 5 Apr 2008 20:41:37 +0000 (20:41 +0000)]
Change command line processing API to use wchar_t.
Fixes #2128.

16 years agoRemove baseName argument from Tkapp_New, as it apparently
Martin v. Löwis [Sat, 5 Apr 2008 19:47:23 +0000 (19:47 +0000)]
Remove baseName argument from Tkapp_New, as it apparently
isn't used anymore.

16 years agoMerged revisions 61440-61441,61443,61445-61448,61451-61452,61455-61457,61459-61464...
Martin v. Löwis [Sat, 5 Apr 2008 18:58:09 +0000 (18:58 +0000)]
Merged revisions 61440-61441,61443,61445-61448,61451-61452,61455-61457,61459-61464,61466-61467,61469-61470,61476-61477,61479,61481-61482,61485,61487,61490,61493-61494,61497,61499-61502,61505-61506,61508,61511-61514,61519,61521-61522,61530-61531,61533-61537,61541-61555,61557-61558,61561-61562,61566-61569,61572-61574,61578-61579,61583-61584,61588-61589,61592,61594,61598-61601,61603-61604,61607-61612,61617,61619-61620,61624,61626,61628-61630,61635-61638,61640-61643,61645,61648,61653-61655,61659-61662,61664,61666,61668-61671,61673,61675,61679-61680,61682,61685-61686,61689-61695,61697-61699,61701-61703,61706,61710,61713,61717,61723,61726-61730,61736,61738,61740,61742,61745-61752,61754-61760,61762-61764,61768,61770-61772,61774-61775,61784-61787,61789-61792,61794-61795,61797-61806,61808-61809,61811-61812,61814-61819,61824,61826-61833,61835-61840,61843-61845,61848,61850,61854-61862,61865-61866,61868,61872-61873,61876-61877,61883-61888,61890-61891,61893-61899,61901-61903,61905-61912,61914,61917,61920-61921,61927,61930,61932-61934,61939,61941-61942,61944-61951,61955,61960-61963,61980,61982-61983,61991,61994-61996,62001-62003,62008-62010,62016-62017,62022,62024,62027,62031-62034,62041,62045-62046,62055-62058,62060-62066,62068-62074,62076-62079,62081-62083,62086-62089,62092-62094,62098,62101,62104,62106-62109,62115-62122,62124-62125,62128,62130,62132,62134-62135,62137,62139-62140,62144,62146,62151,62155,62157,62162-62174 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r62167 | martin.v.loewis | 2008-04-05 17:45:25 +0200 (Sa, 05 Apr 2008) | 1 line

  Extend sizes of various fields, to support the CRT90 merge module.
........
  r62168 | martin.v.loewis | 2008-04-05 17:48:36 +0200 (Sa, 05 Apr 2008) | 1 line

  Add two features to distinguish between private and SxS CRT.
........
  r62169 | martin.v.loewis | 2008-04-05 17:50:58 +0200 (Sa, 05 Apr 2008) | 1 line

  Add script to merge msvcr90.
........
  r62170 | andrew.kuchling | 2008-04-05 17:57:46 +0200 (Sa, 05 Apr 2008) | 1 line

  Markup fixes; write PEP 3118 section
........
  r62173 | georg.brandl | 2008-04-05 19:45:58 +0200 (Sa, 05 Apr 2008) | 2 lines

  Mention that the tuple returned by __reduce__ is pickled as normal.
........
  r62174 | andrew.kuchling | 2008-04-05 20:15:30 +0200 (Sa, 05 Apr 2008) | 1 line

  Write PEP 3119 section
........

16 years agoceil and floor return ints in 3k.
Georg Brandl [Sat, 5 Apr 2008 17:37:09 +0000 (17:37 +0000)]
ceil and floor return ints in 3k.

16 years agoAdded a test to make sure raw strings don't get unicode escapes
Benjamin Peterson [Sat, 5 Apr 2008 15:09:30 +0000 (15:09 +0000)]
Added a test to make sure raw strings don't get unicode escapes

16 years agoReverted r62128 on Guido's orders
Benjamin Peterson [Sat, 5 Apr 2008 14:49:54 +0000 (14:49 +0000)]
Reverted r62128 on Guido's orders

16 years agoChange \u which is causing a syntax error. I'm not sure if that should be, but
Neal Norwitz [Sat, 5 Apr 2008 06:16:50 +0000 (06:16 +0000)]
Change \u which is causing a syntax error.  I'm not sure if that should be, but
at least this should let the build get farther on amd64 machines.

16 years agoMerged revisions 61440-61441,61443,61445-61448,61451-61452,61455-61457,61459-61464...
Neal Norwitz [Sat, 5 Apr 2008 04:47:45 +0000 (04:47 +0000)]
Merged revisions 61440-61441,61443,61445-61448,61451-61452,61455-61457,61459-61464,61466-61467,61469-61470,61476-61477,61479,61481-61482,61485,61487,61490,61493-61494,61497,61499-61502,61505-61506,61508,61511-61514,61519,61521-61522,61530-61531,61533-61537,61541-61555,61557-61558,61561-61562,61566-61569,61572-61574,61578-61579,61583-61584,61588-61589,61592,61594,61598-61601,61603-61604,61607-61612,61617,61619-61620,61624,61626,61628-61630,61635-61638,61640-61643,61645,61648,61653-61655,61659-61662,61664,61666,61668-61671,61673,61675,61679-61680,61682,61685-61686,61689-61695,61697-61699,61701-61703,61706,61710,61713,61717,61723,61726-61730,61736,61738,61740,61742,61745-61752,61754-61760,61762-61764,61768,61770-61772,61774-61775,61784-61787,61789-61792,61794-61795,61797-61806,61808-61809,61811-61812,61814-61819,61824,61826-61833,61835-61840,61843-61845,61848,61850,61854-61862,61865-61866,61868,61872-61873,61876-61877,61883-61888,61890-61891,61893-61899,61901-61903,61905-61912,61914,61917,61920-61921,61927,61930,61932-61934,61939,61941-61942,61944-61951,61955,61960-61963,61980,61982-61983,61991,61994-61996,62001-62003,62008-62010,62016-62017,62022,62024,62027,62031-62034,62041,62045-62046,62055-62058,62060-62066,62068-62074,62076-62079,62081-62083,62086-62089,62092-62094,62098,62101,62104,62106-62109,62115-62122,62124-62125,62127-62128,62130,62132,62134-62137,62139-62142,62144,62146-62148,62150-62152,62155-62161 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r62127 | trent.nelson | 2008-04-03 08:39:17 -0700 (Thu, 03 Apr 2008) | 1 line

  Remove the building of Berkeley DB step; _bsddb44.vcproj takes care of this for us now.
........
  r62136 | amaury.forgeotdarc | 2008-04-03 16:07:55 -0700 (Thu, 03 Apr 2008) | 9 lines

  #1733757: the interpreter would hang on shutdown, if the function set by sys.settrace
  calls threading.currentThread.

  The correction somewhat improves the code, but it was close.
  Many thanks to the "with" construct, which turns python code into C calls.

  I wonder if it is not better to sys.settrace(None) just after
  running the __main__ module and before finalization.
........
  r62141 | jeffrey.yasskin | 2008-04-03 21:51:19 -0700 (Thu, 03 Apr 2008) | 5 lines

  Doh! os.read() raises an OSError, not an IOError when it's interrupted.

  And fix some flakiness in test_itimer_prof, which could detect that the timer
  had reached 0 before the signal arrived announcing that fact.
........
  r62142 | fred.drake | 2008-04-03 22:41:30 -0700 (Thu, 03 Apr 2008) | 4 lines

  - Issue #2385: distutils.core.run_script() makes __file__ available, so the
    controlled environment will more closely mirror the typical script
    environment.  This supports setup.py scripts that refer to data files.
........
  r62147 | fred.drake | 2008-04-04 04:31:14 -0700 (Fri, 04 Apr 2008) | 6 lines

  my previous change did what I said it should not: it changed the current
  directory to the directory in which the setup.py script lived (which made
  __file__ wrong)

  fixed, with test that the script is run in the current directory of the caller
........
  r62148 | fred.drake | 2008-04-04 04:38:51 -0700 (Fri, 04 Apr 2008) | 2 lines

  stupid, stupid, stupid!
........
  r62150 | jeffrey.yasskin | 2008-04-04 09:48:19 -0700 (Fri, 04 Apr 2008) | 2 lines

  Oops again. EINTR is in errno, not signal.
........
  r62158 | andrew.kuchling | 2008-04-04 19:42:20 -0700 (Fri, 04 Apr 2008) | 1 line

  Minor edits
........
  r62159 | andrew.kuchling | 2008-04-04 19:47:07 -0700 (Fri, 04 Apr 2008) | 1 line

  Markup fix; explain what interval timers do; typo fix
........
  r62160 | andrew.kuchling | 2008-04-04 20:38:39 -0700 (Fri, 04 Apr 2008) | 1 line

  Various edits
........
  r62161 | neal.norwitz | 2008-04-04 21:26:31 -0700 (Fri, 04 Apr 2008) | 9 lines

  Prevent test_sqlite from hanging on older versions of sqlite.
  The problem is that when trying to do the second insert, sqlite seems to sleep
  for a very long time.  Here is the output from strace:

    read(6, "SQLite format 3\0\4\0\1\1\0@  \0\0\0\1\0\0\0\0"..., 1024) = 1024
    nanosleep({4294, 966296000},  <unfinished ...>

  I don't know which version this was fixed in, but 3.2.1 definitely fails.
........

16 years agoIssue2221: in Idle, exec('xx') raised a SystemError('error return without exception...
Amaury Forgeot d'Arc [Fri, 4 Apr 2008 23:25:27 +0000 (23:25 +0000)]
Issue2221: in Idle, exec('xx') raised a SystemError('error return without exception set')
instead of the expected NameError

This happens when sys.stdout is redirected to something that cannot flush().
the flush_io() function must be exception-neutral: don't raise, and don't clear exceptions.

Next step: exec() is not supposed to flush sys.stdout...

16 years agoMerged revisions 62149, 62153, 62154 via svnmerge from
Thomas Heller [Fri, 4 Apr 2008 19:53:14 +0000 (19:53 +0000)]
Merged revisions 62149, 62153, 62154 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

Sync with files from the just released libffi 3.0.5 version.

More files from libffi 3.0.5.
Removed libffi.pc.in because it is not needed for ctypes.

News entry for: Sync with files from the just released libffi 3.0.5 version.

16 years agoMerged revisions 62145 via svnmerge from
Thomas Heller [Fri, 4 Apr 2008 10:18:23 +0000 (10:18 +0000)]
Merged revisions 62145 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r62145 | thomas.heller | 2008-04-04 12:07:55 +0200 (Fri, 04 Apr 2008) | 3 lines

  Issue #2544: On HP-UX systems, use 'gcc -shared' for linking when gcc
  is used as compiler.
........

16 years agoBlocked revisions 62143 via svnmerge
Thomas Heller [Fri, 4 Apr 2008 08:37:59 +0000 (08:37 +0000)]
Blocked revisions 62143 via svnmerge

........
  r62143 | thomas.heller | 2008-04-04 10:35:44 +0200 (Fr, 04 Apr 2008) | 1 line

  Issue #2543: Make ctypes compatible (again) with Python 2.3, 2.4, and 2.5.
........

16 years agoBlocked revisions 62138 via svnmerge
Benjamin Peterson [Fri, 4 Apr 2008 02:31:12 +0000 (02:31 +0000)]
Blocked revisions 62138 via svnmerge

........
  r62138 | barry.warsaw | 2008-04-03 20:34:41 -0500 (Thu, 03 Apr 2008) | 1 line

  post release updates
........

16 years agopost release updates
Barry Warsaw [Fri, 4 Apr 2008 01:36:36 +0000 (01:36 +0000)]
post release updates

16 years agoMerged revisions 62129,62131,62133 via svnmerge from
Trent Nelson [Thu, 3 Apr 2008 20:47:30 +0000 (20:47 +0000)]
Merged revisions 62129,62131,62133 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r62129 | trent.nelson | 2008-04-03 19:27:06 +0100 (Thu, 03 Apr 2008) | 16 lines

  Reimplement kill_python.  The existing version had a number of flaws, namely, it didn't work for x64 and it wasn't precise about which python_d.exe it was killing -- it just killed the first one it came across that happened to have 'pcbuild\python_d.exe' or 'build\python_d.exe' in it's path.  The new version has been rewritten from the ground up and now lives in PCbuild, instead of Tools\buildbot, and it has also been incorporated into the Visual Studio solution (pcbuild.sln) as 'kill_python'.  The solution has also been altered such that kill_python is called where necessary in the build process in order to prevent any linking errors due to open file locks.  In lieu of this, all of the existing bits and pieces in Tools\buildbot that called out to kill_python at various points have also been removed as they are now obsolete.  Tested on both Win32 and x64.

  Change set (included to improve usefulness of svnmerge log entry):
  M      PCbuild\pythoncore.vcproj
  M      PCbuild\pcbuild.sln
  M      PCbuild\release.vsprops
  A      PCbuild\kill_python.vcproj
  M      PCbuild\debug.vsprops
  A      PCbuild\kill_python.c
  D      Tools\buildbot\kill_python.bat
  D      Tools\buildbot\kill_python.mak
  M      Tools\buildbot\build.bat
  D      Tools\buildbot\Makefile
  M      Tools\buildbot\build-amd64.bat
  M      Tools\buildbot\buildmsi.bat
  D      Tools\buildbot\kill_python.c
........
  r62131 | trent.nelson | 2008-04-03 19:48:53 +0100 (Thu, 03 Apr 2008) | 1 line

  Add the correct OutputFile values for debug builds.  Fixes r62129's commit.
........
  r62133 | trent.nelson | 2008-04-03 21:00:08 +0100 (Thu, 03 Apr 2008) | 1 line

  Make kill_python a little more forgiving if it can't obtain a snapshot of module information for a given python[_d].exe process.  Failing here was too pessimistic; the python[_d].exe process may be owned by another user, which is the case in some buildbot environments.
........

16 years agoUnblock revision 62129.
Trent Nelson [Thu, 3 Apr 2008 20:44:03 +0000 (20:44 +0000)]
Unblock revision 62129.

16 years agoBlocked revisions 62123,62126 via svnmerge
Benjamin Peterson [Thu, 3 Apr 2008 19:48:41 +0000 (19:48 +0000)]
Blocked revisions 62123,62126 via svnmerge

........
  r62123 | barry.warsaw | 2008-04-02 23:10:02 -0500 (Wed, 02 Apr 2008) | 2 lines

  Updating for 2.6a2
........
  r62126 | barry.warsaw | 2008-04-02 23:14:19 -0500 (Wed, 02 Apr 2008) | 1 line

  Post tag version tweak
........

16 years ago[XXX: this is a temporary block, given the addition/deletion of new files I'll unbloc...
Trent Nelson [Thu, 3 Apr 2008 18:39:00 +0000 (18:39 +0000)]
[XXX: this is a temporary block, given the addition/deletion of new files I'll unblock and merge it to py3k myself once I've observed trunk buildbots' behaviour.]

Blocked revisions 62129 via svnmerge

........
  r62129 | trent.nelson | 2008-04-03 19:27:06 +0100 (Thu, 03 Apr 2008) | 16 lines

  Reimplement kill_python.  The existing version had a number of flaws, namely, it didn't work for x64 and it wasn't precise about which python_d.exe it was killing -- it just killed the first one it came across that happened to have 'pcbuild\python_d.exe' or 'build\python_d.exe' in it's path.  The new version has been rewritten from the ground up and now lives in PCbuild, instead of Tools\buildbot, and it has also been incorporated into the Visual Studio solution (pcbuild.sln) as 'kill_python'.  The solution has also been altered such that kill_python is called where necessary in the build process in order to prevent any linking errors due to open file locks.  In lieu of this, all of the existing bits and pieces in Tools\buildbot that called out to kill_python at various points have also been removed as they are now obsolete.  Tested on both Win32 and x64.

  Change set (included to improve usefulness of svnmerge log entry):
  M      PCbuild\pythoncore.vcproj
  M      PCbuild\pcbuild.sln
  M      PCbuild\release.vsprops
  A      PCbuild\kill_python.vcproj
  M      PCbuild\debug.vsprops
  A      PCbuild\kill_python.c
  D      Tools\buildbot\kill_python.bat
  D      Tools\buildbot\kill_python.mak
  M      Tools\buildbot\build.bat
  D      Tools\buildbot\Makefile
  M      Tools\buildbot\build-amd64.bat
  M      Tools\buildbot\buildmsi.bat
  D      Tools\buildbot\kill_python.c
........

16 years ago#2541 Allow unicode escapes in raw strings
Benjamin Peterson [Thu, 3 Apr 2008 16:27:27 +0000 (16:27 +0000)]
#2541 Allow unicode escapes in raw strings

16 years agoPost tag version tweak
Barry Warsaw [Thu, 3 Apr 2008 04:13:12 +0000 (04:13 +0000)]
Post tag version tweak

16 years agoTagging 3.0a4.
Barry Warsaw [Wed, 2 Apr 2008 23:47:54 +0000 (23:47 +0000)]
Tagging 3.0a4.

16 years agorelease.py induced and manual editing steps for 3.0a4. v3.0a4
Barry Warsaw [Wed, 2 Apr 2008 23:33:27 +0000 (23:33 +0000)]
release.py induced and manual editing steps for 3.0a4.

16 years agorelease.py wants to rename the spec file.
Barry Warsaw [Wed, 2 Apr 2008 22:51:13 +0000 (22:51 +0000)]
release.py wants to rename the spec file.

16 years agoFixed NEWS due to my bad merging skills
Benjamin Peterson [Wed, 2 Apr 2008 22:44:10 +0000 (22:44 +0000)]
Fixed NEWS due to my bad merging skills

16 years agoMerged revisions 62090-62091,62096,62100,62102,62110-62114 via svnmerge from
Benjamin Peterson [Wed, 2 Apr 2008 21:49:44 +0000 (21:49 +0000)]
Merged revisions 62090-62091,62096,62100,62102,62110-62114 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r62090 | brett.cannon | 2008-04-01 07:37:43 -0500 (Tue, 01 Apr 2008) | 3 lines

  Generalize test.test_support.test_stdout() with a base context manager so that
  it is easy to capture stderr if desired.
........
  r62091 | brett.cannon | 2008-04-01 07:46:02 -0500 (Tue, 01 Apr 2008) | 3 lines

  Add ``if __name__ == '__main__'`` to some test files where it didn't take a lot
  of effort to do so.
........
  r62096 | amaury.forgeotdarc | 2008-04-01 17:52:48 -0500 (Tue, 01 Apr 2008) | 4 lines

  Newly enabled test appears to leak:
  it registers the same codec on each iteration.
  Do it only once at load time.
........
  r62100 | amaury.forgeotdarc | 2008-04-01 19:55:04 -0500 (Tue, 01 Apr 2008) | 4 lines

  A DocTestSuite cannot run multiple times: it clears its globals dictionary after the first run.

  Rebuild the DocTestSuite on each iteration.
........
  r62102 | jeffrey.yasskin | 2008-04-01 23:07:44 -0500 (Tue, 01 Apr 2008) | 3 lines

  Try to make test_signal less flaky.  I still see some flakiness in
  test_itimer_prof.
........
  r62110 | vinay.sajip | 2008-04-02 16:09:27 -0500 (Wed, 02 Apr 2008) | 1 line

  Fix: #2315, #2316, #2317: TimedRotatingFileHandler - changed logic to better handle daylight savings time, deletion of old log files, and fixed a bug in calculating rollover when no logging occurs for a longer interval than the rollover period.
........
  r62111 | vinay.sajip | 2008-04-02 16:10:23 -0500 (Wed, 02 Apr 2008) | 1 line

  Added updates with respect to recent changes to TimedRotatingFileHandler.
........
  r62112 | vinay.sajip | 2008-04-02 16:17:25 -0500 (Wed, 02 Apr 2008) | 1 line

  Added updates with respect to recent changes to TimedRotatingFileHandler.
........
  r62113 | amaury.forgeotdarc | 2008-04-02 16:18:46 -0500 (Wed, 02 Apr 2008) | 2 lines

  Remove debug prints; the buildbot now passes the tests
........
  r62114 | benjamin.peterson | 2008-04-02 16:20:35 -0500 (Wed, 02 Apr 2008) | 2 lines

  Suggested proposed changes to Python be considered on some mailing lists first
........

16 years agoBlocked revisions 62097 via svnmerge
Benjamin Peterson [Wed, 2 Apr 2008 21:21:29 +0000 (21:21 +0000)]
Blocked revisions 62097 via svnmerge

........
  r62097 | guido.van.rossum | 2008-04-01 18:57:36 -0500 (Tue, 01 Apr 2008) | 3 lines

  Remove the advertising clause from the BSD license in timing.h.
  I have the email trail to prove that George Neville-Neil approved this.
........

16 years agoMerged revisions 62105 via svnmerge from
Trent Nelson [Wed, 2 Apr 2008 15:06:49 +0000 (15:06 +0000)]
Merged revisions 62105 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r62105 | trent.nelson | 2008-04-02 16:01:00 +0100 (Wed, 02 Apr 2008) | 1 line

  Update information pertaining to building external components, as well as notes on x64 builds.  This file now accurately describes the build process as is; however, there's still a lot of room for improvement, especially with regards to how we build Tcl/Tk, Tix, and OpenSSL.  Watch this space for further improvements.
........

16 years agoBlocked revisions 62103 via svnmerge
Neal Norwitz [Wed, 2 Apr 2008 07:06:14 +0000 (07:06 +0000)]
Blocked revisions 62103 via svnmerge

........
  r62103 | neal.norwitz | 2008-04-01 22:54:27 -0700 (Tue, 01 Apr 2008) | 3 lines

  Apply same patch from 3k branch to try and prevent this test from hanging
  on various platforms, most recently the Alpha Tru64.
........

16 years agoBlocked revisions 62095,62099 via svnmerge
Benjamin Peterson [Wed, 2 Apr 2008 02:27:22 +0000 (02:27 +0000)]
Blocked revisions 62095,62099 via svnmerge

........
  r62095 | amaury.forgeotdarc | 2008-04-01 17:37:33 -0500 (Tue, 01 Apr 2008) | 5 lines

  Fix and enable a skipped test:
  with python 2.6, enumerating bytes yields 1-char strings, not numbers.

  Don't merge this into the py3k branch.
........
  r62099 | amaury.forgeotdarc | 2008-04-01 19:25:14 -0500 (Tue, 01 Apr 2008) | 14 lines

  Correct the apparent refleak in test_io:
  When cls is an ABCMeta, every call to isinstance(x, cls)
  records type(x) in the cls._abc_cache of cls_abc_negative_cache.
  So we clear these caches at the end of the test.

  inspect.isabstract() is not the correct test for all ABCs, because there is no @abstractmethod in io.py (why?)
  isinstance(cls, ABCMeta) would be more exact, but it fails with an infinite recursion.
  So I used a hack to determine whether a class is an ABCMeta.

  The true correction would be to turn cls._abc_cache &co into a WeakSet, as py3k does.
  But classic classes are not weak referenceable...

  Of course, this change should not be merged into the py3k branch.
........

16 years agoPrevent test_queue from leaking: one worker thread was not stopped.
Amaury Forgeot d'Arc [Tue, 1 Apr 2008 21:23:34 +0000 (21:23 +0000)]
Prevent test_queue from leaking: one worker thread was not stopped.

The version in trunk/ is correct; the problem with 3.0 is that
None cannot be used as a marker in a PriorityQueue, because it cannot be compared with ints.

16 years agoFix refleak with nested classes. Fix originally by Amaury in r62015.
Neal Norwitz [Tue, 1 Apr 2008 08:08:09 +0000 (08:08 +0000)]
Fix refleak with nested classes.  Fix originally by Amaury in r62015.

16 years agoBe more forgiving if we get an error, there are lots of potential socket errors
Neal Norwitz [Tue, 1 Apr 2008 07:38:41 +0000 (07:38 +0000)]
Be more forgiving if we get an error, there are lots of potential socket errors

16 years agoFix a refleak
Neal Norwitz [Tue, 1 Apr 2008 07:37:58 +0000 (07:37 +0000)]
Fix a refleak

16 years agoMerged revisions 61440-61441,61443,61445-61448,61451-61452,61455-61457,61459-61464...
Martin v. Löwis [Tue, 1 Apr 2008 06:17:46 +0000 (06:17 +0000)]
Merged revisions 61440-61441,61443,61445-61448,61451-61452,61455-61457,61459-61464,61466-61467,61469-61470,61476-61477,61479,61481-61482,61485,61487,61490,61493-61494,61497,61499-61502,61505-61506,61508,61511-61514,61519,61521-61522,61530-61531,61533-61537,61541-61555,61557-61558,61561-61562,61566-61569,61572-61574,61578-61579,61583-61584,61588-61589,61592,61594,61598-61601,61603-61604,61607-61612,61617,61619-61620,61624,61626,61628-61630,61635-61638,61640-61643,61645,61648,61653-61655,61659-61662,61664,61666,61668-61671,61673,61675,61679-61680,61682,61685-61686,61689-61695,61697-61699,61701-61703,61706,61710,61713,61717,61723,61726-61730,61736,61738,61740,61742,61745-61752,61754-61760,61762-61764,61768,61770-61772,61774-61775,61784-61787,61789-61792,61794-61795,61797-61806,61808-61809,61811-61812,61814-61819,61824,61826-61833,61835-61840,61843-61845,61848,61850,61854-61862,61865-61866,61868,61872-61873,61876-61877,61883-61888,61890-61891,61893-61899,61901-61903,61905-61912,61914,61917,61920-61921,61927,61930,61932-61934,61939,61941-61942,61944-61951,61955,61960-61963,61980,61982-61983,61991,61994-61996,62001-62003,62008-62010,62016-62017,62022,62024,62027,62031-62034,62041,62045-62046,62055-62058,62060-62066,62068-62074,62076-62085 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

................
  r62080 | martin.v.loewis | 2008-03-31 07:20:55 +0200 (Mo, 31 Mär 2008) | 9 lines

  Merged revisions 61990-62079 via svnmerge from
  svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

  ........
    r62017 | david.wolever | 2008-03-28 21:54:37 +0100 (Fr, 28 Mär 2008) | 1 line

    Fixed an out-of-date comment.
  ........
................
  r62084 | benjamin.peterson | 2008-03-31 23:57:13 +0200 (Mo, 31 Mär 2008) | 2 lines

  PyErr_Warn is decrepated. Use PyErr_WarnEx
................
  r62085 | neal.norwitz | 2008-04-01 07:40:43 +0200 (Di, 01 Apr 2008) | 4 lines

  Be sure to close the file.  2 places were deleting the file, so it was probably
  fine, but the last change may be required for the test to pass on Windows.
  Should we always close the mmap too?
................

16 years agoThis was required on OS X to prevent the test from deadlocking. I'm not sure
Neal Norwitz [Mon, 31 Mar 2008 05:39:26 +0000 (05:39 +0000)]
This was required on OS X to prevent the test from deadlocking.  I'm not sure
if this is just a test problem or something deeper.  Hopefully the test will
stop hanging.

16 years agoMerged revisions 61440-61441,61443,61445-61448,61451-61452,61455-61457,61459-61464...
Neal Norwitz [Mon, 31 Mar 2008 05:29:39 +0000 (05:29 +0000)]
Merged revisions 61440-61441,61443,61445-61448,61451-61452,61455-61457,61459-61464,61466-61467,61469-61470,61476-61477,61479,61481-61482,61485,61487,61490,61493-61494,61497,61499-61502,61505-61506,61508,61511-61514,61519,61521-61522,61530-61531,61533-61537,61541-61555,61557-61558,61561-61562,61566-61569,61572-61574,61578-61579,61583-61584,61588-61589,61592,61594,61598-61601,61603-61604,61607-61612,61617,61619-61620,61624,61626,61628-61630,61635-61638,61640-61643,61645,61648,61653-61655,61659-61662,61664,61666,61668-61671,61673,61675,61679-61680,61682,61685-61686,61689-61695,61697-61699,61701-61703,61706,61710,61713,61717,61723,61726-61730,61736,61738,61740,61742,61745-61752,61754-61760,61762-61764,61768,61770-61772,61774-61775,61784-61787,61789-61792,61794-61795,61797-61806,61808-61809,61811-61812,61814-61819,61824,61826-61833,61835-61840,61843-61845,61848,61850,61854-61862,61865-61866,61868,61872-61873,61876-61877,61883-61888,61890-61891,61893-61899,61901-61903,61905-61912,61914,61917,61920-61921,61927,61930,61932-61934,61939,61941-61942,61944-61951,61955,61960-61963,61980,61982-61983,61991,61994-61996,62001-62003,62008-62010,62016-62017,62022,62024,62027,62031-62034,62041,62045-62046,62048,62050-62051,62055-62066,62068-62074,62076-62078 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r62048 | georg.brandl | 2008-03-29 23:53:55 -0700 (Sat, 29 Mar 2008) | 2 lines

  Adapt test_ast to the new ExceptHandler type.
........
  r62050 | georg.brandl | 2008-03-30 00:09:22 -0700 (Sun, 30 Mar 2008) | 2 lines

  Convert test_ast to unittest and add a test for r62049.
........
  r62051 | georg.brandl | 2008-03-30 12:00:49 -0700 (Sun, 30 Mar 2008) | 2 lines

  Make _fields attr for no fields consistent with _attributes attr.
........
  r62059 | georg.brandl | 2008-03-30 13:20:39 -0700 (Sun, 30 Mar 2008) | 2 lines

  Make AST nodes pickleable.
........

16 years agoMerged revisions 62047 via svnmerge from
Neal Norwitz [Mon, 31 Mar 2008 05:14:30 +0000 (05:14 +0000)]
Merged revisions 62047 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r62047 | georg.brandl | 2008-03-29 23:40:17 -0700 (Sat, 29 Mar 2008) | 2 lines

  Patch #2511: Give the "excepthandler" AST item proper attributes by making it a Sum.
........

16 years agoBlocked revisions 62075 via svnmerge
Neal Norwitz [Mon, 31 Mar 2008 04:47:25 +0000 (04:47 +0000)]
Blocked revisions 62075 via svnmerge

........
  r62075 | neal.norwitz | 2008-03-30 21:28:40 -0700 (Sun, 30 Mar 2008) | 1 line

  Use file.write instead of print to make it easier to merge with 3k.
........

16 years agoMerged revisions 62049,62054 via svnmerge from
Neal Norwitz [Mon, 31 Mar 2008 04:42:11 +0000 (04:42 +0000)]
Merged revisions 62049,62054 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r62049 | georg.brandl | 2008-03-30 00:01:47 -0700 (Sun, 30 Mar 2008) | 2 lines

  #2505: allow easier creation of AST nodes.
........
  r62054 | georg.brandl | 2008-03-30 12:43:27 -0700 (Sun, 30 Mar 2008) | 2 lines

  Fix error message -- "expects either 0 or 0 arguments"
........

16 years agoMerged revisions 62039-62042 via svnmerge from
Neal Norwitz [Mon, 31 Mar 2008 04:20:05 +0000 (04:20 +0000)]
Merged revisions 62039-62042 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r62039 | georg.brandl | 2008-03-29 06:24:23 -0700 (Sat, 29 Mar 2008) | 3 lines

  Properly check for consistency with the third argument of
  compile() when compiling an AST node.
........
  r62040 | amaury.forgeotdarc | 2008-03-29 06:47:05 -0700 (Sat, 29 Mar 2008) | 5 lines

  The buildbot "x86 W2k8 trunk" seems to hang in test_socket.
  http://www.python.org/dev/buildbot/trunk/x86%20W2k8%20trunk/builds/255/step-test/0

  Temporarily increase verbosity of this test.
........
  r62042 | amaury.forgeotdarc | 2008-03-29 07:53:05 -0700 (Sat, 29 Mar 2008) | 3 lines

  Still investigating on the hanging test_socket.
  the test itself doesn't do anything on windows, focus on setUp and tearDown.
........

16 years agoBlocked revisions 62020 via svnmerge
Neal Norwitz [Mon, 31 Mar 2008 03:02:08 +0000 (03:02 +0000)]
Blocked revisions 62020 via svnmerge

........
  r62020 | amaury.forgeotdarc | 2008-03-28 15:43:38 -0700 (Fri, 28 Mar 2008) | 5 lines

  One #ifdef too much, and I broke all windows buildbots:
  in pyconfig.h, NTDDI_WIN2KSP4 is not *yet* defined, but will be at some point on some modules.

  Let this line even for older SDKs, they don't use it anyway.
........

16 years agoRevert r62070 due to syntax errors
Neal Norwitz [Mon, 31 Mar 2008 02:56:33 +0000 (02:56 +0000)]
Revert r62070 due to syntax errors

16 years agoRevert r62070 due to syntax errors
Neal Norwitz [Mon, 31 Mar 2008 02:55:15 +0000 (02:55 +0000)]
Revert r62070 due to syntax errors

16 years agoRolled back revisions 62038 via svnmerge from
Benjamin Peterson [Mon, 31 Mar 2008 02:36:22 +0000 (02:36 +0000)]
Rolled back revisions 62038 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
This was incorrectly merged.

16 years agoMerged revisions 62021,62029,62035-62038,62043-62044,62052-62053 via svnmerge from
Benjamin Peterson [Mon, 31 Mar 2008 01:51:45 +0000 (01:51 +0000)]
Merged revisions 62021,62029,62035-62038,62043-62044,62052-62053 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r62021 | benjamin.peterson | 2008-03-28 18:11:01 -0500 (Fri, 28 Mar 2008) | 2 lines

  NIL => NULL
........
  r62029 | amaury.forgeotdarc | 2008-03-28 20:42:31 -0500 (Fri, 28 Mar 2008) | 3 lines

  Correctly call the base class tearDown();
  otherwise running test_logging twice produce the errors we see on all buildbots
........
  r62035 | raymond.hettinger | 2008-03-29 05:42:07 -0500 (Sat, 29 Mar 2008) | 1 line

  Be explicit about what efficient means.
........
  r62036 | georg.brandl | 2008-03-29 06:46:18 -0500 (Sat, 29 Mar 2008) | 2 lines

  Fix capitalization.
........
  r62037 | amaury.forgeotdarc | 2008-03-29 07:42:54 -0500 (Sat, 29 Mar 2008) | 5 lines

  lib2to3 should install a logging handler only when run as a main program,
  not when used as a library.

  This may please the buildbots, which fail when test_lib2to3 is run before test_logging.
........
  r62043 | benjamin.peterson | 2008-03-29 10:24:25 -0500 (Sat, 29 Mar 2008) | 3 lines

  #2503 make singletons compared with "is" not == or !=
  Thanks to Wummel for the patch
........
  r62044 | gerhard.haering | 2008-03-29 14:11:52 -0500 (Sat, 29 Mar 2008) | 2 lines

  Documented the lastrowid attribute.
........
  r62052 | benjamin.peterson | 2008-03-30 14:35:10 -0500 (Sun, 30 Mar 2008) | 2 lines

  Updated README regarding doc formats
........
  r62053 | georg.brandl | 2008-03-30 14:41:39 -0500 (Sun, 30 Mar 2008) | 2 lines

  The other download formats will be available for 2.6 too.
........

16 years agoBlocked revisions 62067 via svnmerge
Jeffrey Yasskin [Mon, 31 Mar 2008 00:38:53 +0000 (00:38 +0000)]
Blocked revisions 62067 via svnmerge

........
  r62067 | jeffrey.yasskin | 2008-03-30 17:35:53 -0700 (Sun, 30 Mar 2008) | 2 lines

  Block the sys.exc_clear -3 warning from threading.py.
........

16 years agoBlocked revisions 62023,62025,62028 via svnmerge
Neal Norwitz [Sun, 30 Mar 2008 22:49:52 +0000 (22:49 +0000)]
Blocked revisions 62023,62025,62028 via svnmerge

........
  r62023 | amaury.forgeotdarc | 2008-03-28 17:44:58 -0700 (Fri, 28 Mar 2008) | 5 lines

  Try to understand why most buildbots suddenly turned to red.
  Undo the only change that might have unexpected effects.

  To be followed.
........
  r62025 | amaury.forgeotdarc | 2008-03-28 17:49:07 -0700 (Fri, 28 Mar 2008) | 2 lines

  At least let the module compile
........
  r62028 | amaury.forgeotdarc | 2008-03-28 18:41:08 -0700 (Fri, 28 Mar 2008) | 2 lines

  Revert my experiment. I found one reason of failures in test_logging.
........

16 years agoBlocked revisions 62019 via svnmerge
Martin v. Löwis [Sun, 30 Mar 2008 20:45:26 +0000 (20:45 +0000)]
Blocked revisions 62019 via svnmerge

........
  r62019 | amaury.forgeotdarc | 2008-03-28 22:55:29 +0100 (Fr, 28 Mär 2008) | 7 lines

  Repair compilation for Visual Studio 2005.

  I applied the same changes manually to VS7.1 and VC6 files; completely untested.

  (Christian, don't try too hard merging this change into py3k.
  It will be easier to do the same work again on the branch)
........

16 years agoMerged revisions 62018 via svnmerge from
Martin v. Löwis [Sun, 30 Mar 2008 20:43:50 +0000 (20:43 +0000)]
Merged revisions 62018 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r62018 | benjamin.peterson | 2008-03-28 21:56:00 +0100 (Fr, 28 Mär 2008) | 2 lines

  #2498 modernized try, except, finally statments in bdb
........

16 years agoBlocked revisions 62015 via svnmerge
Martin v. Löwis [Sun, 30 Mar 2008 20:38:01 +0000 (20:38 +0000)]
Blocked revisions 62015 via svnmerge
This was apparently fixed in r54428 already
........
  r62015 | amaury.forgeotdarc | 2008-03-28 21:30:50 +0100 (Fr, 28 Mär 2008) | 5 lines

  Fix a reference leak found by Georg, when compiling a class nested in another class.
  Now "regrtest.py -R:: test_compile" is satisfied.

  Will backport.
........

16 years agoMerged revisions 62013-62014 via svnmerge from
Martin v. Löwis [Sun, 30 Mar 2008 20:29:36 +0000 (20:29 +0000)]
Merged revisions 62013-62014 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r62013 | amaury.forgeotdarc | 2008-03-28 21:17:51 +0100 (Fr, 28 Mär 2008) | 2 lines

  Silence a compilation warning
........
  r62014 | georg.brandl | 2008-03-28 21:22:56 +0100 (Fr, 28 Mär 2008) | 2 lines

  Silence compiler warning at the source.
........

16 years agoMerged revisions 62012 via svnmerge from
Martin v. Löwis [Sun, 30 Mar 2008 20:23:50 +0000 (20:23 +0000)]
Merged revisions 62012 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r62012 | gregory.p.smith | 2008-03-28 21:11:49 +0100 (Fr, 28 Mär 2008) | 2 lines

  These svn adds were forgotten in r62000
........
test/dump.py was already added in r62022,
so it was not merged.

16 years agoMerged revisions 62011 via svnmerge from
Martin v. Löwis [Sun, 30 Mar 2008 20:21:00 +0000 (20:21 +0000)]
Merged revisions 62011 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r62011 | gerhard.haering | 2008-03-28 21:08:36 +0100 (Fr, 28 Mär 2008) | 2 lines

  Update sqlite3 module to match current version of pysqlite.
........

16 years agoMerged revisions 62007 via svnmerge from
Martin v. Löwis [Sun, 30 Mar 2008 20:18:05 +0000 (20:18 +0000)]
Merged revisions 62007 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r62007 | georg.brandl | 2008-03-28 13:58:26 +0100 (Fr, 28 Mär 2008) | 2 lines

  #2502: add example how to do enum types with named tuples.
........

16 years agoBlock 62006, as that section was rewritten in 58038.
Martin v. Löwis [Sun, 30 Mar 2008 20:16:56 +0000 (20:16 +0000)]
Block 62006, as that section was rewritten in 58038.

16 years agoBlock 62005, as it applies only to the trunk.
Martin v. Löwis [Sun, 30 Mar 2008 20:09:13 +0000 (20:09 +0000)]
Block 62005, as it applies only to the trunk.

16 years agoMerged revisions 62004 via svnmerge from
Martin v. Löwis [Sun, 30 Mar 2008 20:03:44 +0000 (20:03 +0000)]
Merged revisions 62004 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r62004 | georg.brandl | 2008-03-28 13:11:56 +0100 (Fr, 28 Mär 2008) | 4 lines

  Patch #1810 by Thomas Lee, reviewed by myself:
  allow compiling Python AST objects into code objects
  in compile().
........

16 years agoDocumented lastrowid attribute in py3k branch.
Gerhard Häring [Sat, 29 Mar 2008 19:13:55 +0000 (19:13 +0000)]
Documented lastrowid attribute in py3k branch.

16 years agoMoved DECREF to correct place to get rid of leaked references.
Gerhard Häring [Sat, 29 Mar 2008 14:11:55 +0000 (14:11 +0000)]
Moved DECREF to correct place to get rid of leaked references.

16 years agoUpdate test_threading with a couple changes from trunk that got lost due, I
Jeffrey Yasskin [Sat, 29 Mar 2008 05:06:52 +0000 (05:06 +0000)]
Update test_threading with a couple changes from trunk that got lost due, I
presume, to merge conflicts.

16 years agoBlocked revisions 62030 via svnmerge
Georg Brandl [Sat, 29 Mar 2008 02:04:05 +0000 (02:04 +0000)]
Blocked revisions 62030 via svnmerge

........
  r62030 | georg.brandl | 2008-03-29 02:50:06 +0100 (Sat, 29 Mar 2008) | 2 lines

  Backport #1442: report exception when startup file cannot be run.
........

16 years agoBlocked revisions 62026 via svnmerge
Georg Brandl [Sat, 29 Mar 2008 02:00:47 +0000 (02:00 +0000)]
Blocked revisions 62026 via svnmerge

........
  r62026 | gerhard.haering | 2008-03-29 02:27:37 +0100 (Sat, 29 Mar 2008) | 3 lines

  Brought documentation for sqlite3 module up-to-date. Fixed Issue1625205 which
  complained about commit, rollback and close not being documented.
........

16 years agoSame documentation for sqlite3 module as in 2.6.
Gerhard Häring [Sat, 29 Mar 2008 01:32:44 +0000 (01:32 +0000)]
Same documentation for sqlite3 module as in 2.6.

16 years agoBring sqlite3 module up-to-date with what's now in 2.6. Almost. I intentionally
Gerhard Häring [Sat, 29 Mar 2008 00:45:29 +0000 (00:45 +0000)]
Bring sqlite3 module up-to-date with what's now in 2.6. Almost. I intentionally
left out the stuff about creating a connection object from a APSW connection.

16 years agoAdded missing files for new iterdump method.
Gerhard Häring [Sat, 29 Mar 2008 00:41:18 +0000 (00:41 +0000)]
Added missing files for new iterdump method.

16 years agoMerged revisions 61981,61984-61987,61992-61993,61997-62000 via svnmerge from
Christian Heimes [Fri, 28 Mar 2008 10:53:29 +0000 (10:53 +0000)]
Merged revisions 61981,61984-61987,61992-61993,61997-62000 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r61981 | amaury.forgeotdarc | 2008-03-28 01:21:34 +0100 (Fri, 28 Mar 2008) | 2 lines

  test_future3.py is a regular test file, and should be part of the test suite
........
  r61984 | jeffrey.yasskin | 2008-03-28 05:11:18 +0100 (Fri, 28 Mar 2008) | 6 lines

  Kill a race in test_threading in which the exception info in a thread finishing
  up after it was joined had a traceback pointing to that thread's (deleted)
  target attribute, while the test was trying to check that the target was
  destroyed. Big thanks to Antoine Pitrou for diagnosing the race and pointing
  out sys.exc_clear() to kill the exception early. This fixes issue 2496.
........
  r61985 | neal.norwitz | 2008-03-28 05:41:34 +0100 (Fri, 28 Mar 2008) | 1 line

  Allow use of other ports so the test can pass if 9091 is in use
........
  r61986 | jeffrey.yasskin | 2008-03-28 05:53:10 +0100 (Fri, 28 Mar 2008) | 2 lines

  Print more information the next time test_socket throws the wrong exception.
........
  r61987 | neal.norwitz | 2008-03-28 05:58:51 +0100 (Fri, 28 Mar 2008) | 5 lines

  Revert r61969 which added casts to Py_CHARMASK to avoid compiler warnings.
  Rather than sprinkle casts throughout the code, change Py_CHARMASK to
  always cast it's result to an unsigned char.  This should ensure we
  do the right thing when accessing an array with the result.
........
  r61992 | neal.norwitz | 2008-03-28 06:34:59 +0100 (Fri, 28 Mar 2008) | 2 lines

  Fix compiler warning about finite() missing on Solaris.
........
  r61993 | neal.norwitz | 2008-03-28 07:34:03 +0100 (Fri, 28 Mar 2008) | 11 lines

  Bug 1503: Get the test to pass on OSX.  This should make the test more
  reliable, but I'm not convinced it is the right solution.  We need
  to determine if this causes the test to hang on any platforms or do
  other bad things.

  Even if it gets the test to pass reliably, it might be that we want
  to fix this in socket.  The socket returned from accept() is different
  on different platforms (inheriting attributes or not) and we might
  want to ensure that the attributes (at least blocking) is the same
  across all platforms.
........
  r61997 | neal.norwitz | 2008-03-28 08:36:31 +0100 (Fri, 28 Mar 2008) | 1 line

  Name the main method correctly so the test is run
........
  r61998 | gregory.p.smith | 2008-03-28 09:00:44 +0100 (Fri, 28 Mar 2008) | 7 lines

  This patch moves some tests from test_urllib2_net to test_urllib2_localnet.
  The moved tests use a local server rather than going out to external servers.

  Accepts patch from issue2429.

  Contributed by Jerry Seutter & Michael Foord (fuzzyman) at PyCon 2008.
........
  r61999 | georg.brandl | 2008-03-28 09:06:56 +0100 (Fri, 28 Mar 2008) | 2 lines

  #2406: add examples to gzip docs.
........
  r62000 | gregory.p.smith | 2008-03-28 09:32:09 +0100 (Fri, 28 Mar 2008) | 4 lines

  Accept patch issue2426 by Paul Kippes (kippesp).

  Adds sqlite3.Connection.iterdump to allow dumping of databases.
........

16 years agoFixed an import
Christian Heimes [Fri, 28 Mar 2008 10:52:42 +0000 (10:52 +0000)]
Fixed an import

16 years agoMerged revisions 61988-61990 via svnmerge from
Martin v. Löwis [Fri, 28 Mar 2008 05:29:57 +0000 (05:29 +0000)]
Merged revisions 61988-61990 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

................
  r61988 | martin.v.loewis | 2008-03-28 06:25:36 +0100 (Fr, 28 Mär 2008) | 2 lines

  Disable test that depends on #2412 being fixed.
................
  r61989 | martin.v.loewis | 2008-03-28 06:26:10 +0100 (Fr, 28 Mär 2008) | 2 lines

  Run 2to3 tests.
................
  r61990 | martin.v.loewis | 2008-03-28 06:27:44 +0100 (Fr, 28 Mär 2008) | 13 lines

  Merged revisions 61825-61989 via svnmerge from
  svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

  ........
    r61899 | collin.winter | 2008-03-25 17:53:41 +0100 (Di, 25 Mär 2008) | 1 line

    Add a missing explicit fixer to test_all_fixers.
  ........
    r61983 | collin.winter | 2008-03-28 03:19:46 +0100 (Fr, 28 Mär 2008) | 2 lines

    Fix http://bugs.python.org/issue2453: support empty excepts in fix_except.
  ........
................

16 years agoMerged revisions 61964-61979 via svnmerge from
Christian Heimes [Fri, 28 Mar 2008 00:55:15 +0000 (00:55 +0000)]
Merged revisions 61964-61979 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r61964 | benjamin.peterson | 2008-03-27 01:25:33 +0100 (Thu, 27 Mar 2008) | 2 lines

  add commas for introductory clauses
........
  r61965 | christian.heimes | 2008-03-27 02:36:21 +0100 (Thu, 27 Mar 2008) | 1 line

  Hopefully added _fileio module to the Windows build system
........
  r61966 | christian.heimes | 2008-03-27 02:38:47 +0100 (Thu, 27 Mar 2008) | 1 line

  Revert commit accident
........
  r61967 | neal.norwitz | 2008-03-27 04:49:54 +0100 (Thu, 27 Mar 2008) | 3 lines

  Fix bytes so it works on 64-bit platforms.
  (Also remove some #if 0 code that is already handled in _getbytevalue.)
........
  r61968 | neal.norwitz | 2008-03-27 05:40:07 +0100 (Thu, 27 Mar 2008) | 1 line

  Fix memory leaks
........
  r61969 | neal.norwitz | 2008-03-27 05:40:50 +0100 (Thu, 27 Mar 2008) | 3 lines

  Fix warnings about using char as an array subscript.  This is not portable
  since char is signed on some platforms and unsigned on others.
........
  r61970 | neal.norwitz | 2008-03-27 06:02:57 +0100 (Thu, 27 Mar 2008) | 1 line

  Fix test_compiler after adding unicode_literals
........
  r61971 | neal.norwitz | 2008-03-27 06:03:11 +0100 (Thu, 27 Mar 2008) | 1 line

  Fix compiler warnings
........
  r61972 | neal.norwitz | 2008-03-27 07:52:01 +0100 (Thu, 27 Mar 2008) | 1 line

  Pluralss only need one s, not 2 (intss -> ints)
........
  r61973 | christian.heimes | 2008-03-27 10:02:33 +0100 (Thu, 27 Mar 2008) | 1 line

  Quick 'n dirty hack: Increase the magic by 2 to force a rebuild of pyc/pyo files on the build bots
........
  r61974 | eric.smith | 2008-03-27 10:42:35 +0100 (Thu, 27 Mar 2008) | 3 lines

  Added test cases for single quoted strings, both forms of triple quotes,
   and some string concatenations.
  Removed unneeded __future__ print_function import.
........
  r61975 | christian.heimes | 2008-03-27 11:35:52 +0100 (Thu, 27 Mar 2008) | 1 line

  Build bots are working again - removing the hack
........
  r61976 | christian.heimes | 2008-03-27 12:46:37 +0100 (Thu, 27 Mar 2008) | 2 lines

  Fixed tokenize tests
  The tokenize module doesn't understand __future__.unicode_literals yet
........
  r61977 | georg.brandl | 2008-03-27 14:27:31 +0100 (Thu, 27 Mar 2008) | 2 lines

  #2248: return result of QUIT from quit().
........
  r61978 | georg.brandl | 2008-03-27 14:34:59 +0100 (Thu, 27 Mar 2008) | 2 lines

  The bug for which there was a test in outstanding_bugs.py was agreed not to be a bug.
........
  r61979 | amaury.forgeotdarc | 2008-03-28 00:23:54 +0100 (Fri, 28 Mar 2008) | 5 lines

  Issue2495: tokenize.untokenize did not insert space between two consecutive string literals:
  "" "" => """", which is invalid code.

  Will backport
........

16 years agoMerged revisions 61958-61959 via svnmerge from
Christian Heimes [Wed, 26 Mar 2008 23:25:24 +0000 (23:25 +0000)]
Merged revisions 61958-61959 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r61958 | amaury.forgeotdarc | 2008-03-27 00:07:43 +0100 (Thu, 27 Mar 2008) | 2 lines

  C89 compliance: Microsoft compilers want variable declarations at the top
........

16 years agoMerged revisions 61954,61956-61957 via svnmerge from
Christian Heimes [Wed, 26 Mar 2008 23:24:27 +0000 (23:24 +0000)]
Merged revisions 61954,61956-61957 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r61954 | christian.heimes | 2008-03-26 23:20:26 +0100 (Wed, 26 Mar 2008) | 1 line

  Surround p_flags access with #ifdef PY_PARSER_REQUIRES_FUTURE_KEYWORD
........
  r61956 | christian.heimes | 2008-03-26 23:51:58 +0100 (Wed, 26 Mar 2008) | 1 line

  Initialize PyCompilerFlags cf_flags with 0
........
  r61957 | christian.heimes | 2008-03-26 23:55:31 +0100 (Wed, 26 Mar 2008) | 1 line

  I forgot to svn add the future test
........

16 years agoMerged revisions 61952-61953 via svnmerge from
Christian Heimes [Wed, 26 Mar 2008 22:34:47 +0000 (22:34 +0000)]
Merged revisions 61952-61953 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r61952 | mark.dickinson | 2008-03-26 22:41:36 +0100 (Wed, 26 Mar 2008) | 2 lines

  Typo: "objects reference count" -> "object's reference count"
........
  r61953 | christian.heimes | 2008-03-26 23:01:37 +0100 (Wed, 26 Mar 2008) | 4 lines

  Patch #2477: Added from __future__ import unicode_literals

  The new PyParser_*Ex() functions are based on Neal's suggestion and initial patch. The new __future__ feature makes all '' and r'' unicode strings. b'' and br'' stay (byte) strings.
........

16 years agoCorrect Issue#1561: test_mailbox failed on Windows.
Amaury Forgeot d'Arc [Wed, 26 Mar 2008 19:49:26 +0000 (19:49 +0000)]
Correct Issue#1561: test_mailbox failed on Windows.
Open all text files with newline='', this is the only way to have consistent offsets.

16 years agoMerged revisions 61913,61915-61916,61918-61919,61922-61926,61928-61929,61931,61935...
Christian Heimes [Wed, 26 Mar 2008 13:45:42 +0000 (13:45 +0000)]
Merged revisions 61913,61915-61916,61918-61919,61922-61926,61928-61929,61931,61935,61938,61943 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r61913 | benjamin.peterson | 2008-03-25 22:14:42 +0100 (Tue, 25 Mar 2008) | 2 lines

  Merged the ACKS from py3k
........
  r61915 | thomas.heller | 2008-03-25 22:18:39 +0100 (Tue, 25 Mar 2008) | 1 line

  Make _ctypes.c PY_SSIZE_T_CLEAN.
........
  r61916 | benjamin.peterson | 2008-03-25 22:55:50 +0100 (Tue, 25 Mar 2008) | 3 lines

  Opps! I merged the revisions, but forgot to add
  the header to ACKS
........
  r61918 | andrew.kuchling | 2008-03-26 01:16:50 +0100 (Wed, 26 Mar 2008) | 1 line

  Minor docstring typos
........
  r61919 | andrew.kuchling | 2008-03-26 01:30:02 +0100 (Wed, 26 Mar 2008) | 1 line

  Add various items
........
  r61922 | neal.norwitz | 2008-03-26 05:55:51 +0100 (Wed, 26 Mar 2008) | 6 lines

  Try to get this test to be less flaky.  It was failing sometimes because
  the connect would succeed before the timeout occurred.  Try using an
  address and port that hopefully doesn't exist to ensure we get no response.
  If this doesn't work, we can use a public address close to python.org
  and hopefully that address never gets taken.
........
  r61923 | jerry.seutter | 2008-03-26 06:03:03 +0100 (Wed, 26 Mar 2008) | 1 line

  Changed test so it no longer runs as a side effect of importing.
........
  r61924 | neal.norwitz | 2008-03-26 06:19:41 +0100 (Wed, 26 Mar 2008) | 5 lines

  Ensure that the mailbox is closed to prevent problems on Windows with removing
  an open file.  This doesn't seem to be a problem in 2.6, but that appears
  to be somewhat accidental (specific to reference counting).  When this
  gets merged to 3.0, it will make the 3.0 code simpler.
........
  r61925 | jerry.seutter | 2008-03-26 06:32:51 +0100 (Wed, 26 Mar 2008) | 1 line

  Changed test so it no longer runs as a side effect of importing.
........
  r61926 | jerry.seutter | 2008-03-26 06:58:14 +0100 (Wed, 26 Mar 2008) | 1 line

  Changed test so it no longer runs as a side effect of importing.
........
  r61928 | georg.brandl | 2008-03-26 10:04:36 +0100 (Wed, 26 Mar 2008) | 2 lines

  Add Josiah.
........
  r61929 | georg.brandl | 2008-03-26 10:32:46 +0100 (Wed, 26 Mar 2008) | 2 lines

  Add an example for an RFC 822 continuation.
........
  r61931 | benjamin.peterson | 2008-03-26 12:57:47 +0100 (Wed, 26 Mar 2008) | 2 lines

  Added help options to PDB
........
  r61935 | christian.heimes | 2008-03-26 13:32:49 +0100 (Wed, 26 Mar 2008) | 1 line

  Prepare integration of bytearray backport branch
........
  r61938 | christian.heimes | 2008-03-26 13:50:43 +0100 (Wed, 26 Mar 2008) | 3 lines

  Removed merge tracking for "svnmerge" for
  svn+ssh://pythondev@svn.python.org/python/branches/trunk-bytearray
........
  r61943 | georg.brandl | 2008-03-26 13:57:47 +0100 (Wed, 26 Mar 2008) | 2 lines

  Fix and simplify error handling, silencing a compiler warning.
........

16 years agoBlock correct revision
Christian Heimes [Wed, 26 Mar 2008 13:00:06 +0000 (13:00 +0000)]
Block correct revision

16 years agoblock backport of bytearray and io infrastructure
Christian Heimes [Wed, 26 Mar 2008 12:56:21 +0000 (12:56 +0000)]
block backport of bytearray and io infrastructure

16 years agoMerged revisions 61892,61900 via svnmerge from
Christian Heimes [Wed, 26 Mar 2008 12:55:56 +0000 (12:55 +0000)]
Merged revisions 61892,61900 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r61892 | mark.dickinson | 2008-03-25 15:33:23 +0100 (Tue, 25 Mar 2008) | 3 lines

  Issue #2478: Decimal(sqrt(0)) failed when the decimal context
  was not explicitly supplied.
........
  r61900 | georg.brandl | 2008-03-25 18:36:43 +0100 (Tue, 25 Mar 2008) | 2 lines

  Add Benjamin.
........

16 years ago#2484: remove duplicate variable definition.
Georg Brandl [Wed, 26 Mar 2008 09:00:12 +0000 (09:00 +0000)]
#2484: remove duplicate variable definition.

16 years agoGet the test to pass on space Ubuntu/Debian and ppc. It was failing
Neal Norwitz [Wed, 26 Mar 2008 04:23:27 +0000 (04:23 +0000)]
Get the test to pass on space Ubuntu/Debian and ppc.  It was failing
to decode 'Journ\xc3\xa9es Python' as ASCII.

16 years agoMerged the ACKS from 2.6
Benjamin Peterson [Tue, 25 Mar 2008 21:14:46 +0000 (21:14 +0000)]
Merged the ACKS from 2.6

16 years agoblock r61904
Mark Dickinson [Tue, 25 Mar 2008 18:49:36 +0000 (18:49 +0000)]
block r61904

16 years agoFix duplicated paragraph.
Georg Brandl [Tue, 25 Mar 2008 15:33:31 +0000 (15:33 +0000)]
Fix duplicated paragraph.

16 years agoMerged revisions 61834,61841-61842,61851-61853,61863-61864,61869-61870,61874,61889...
Christian Heimes [Tue, 25 Mar 2008 14:56:36 +0000 (14:56 +0000)]
Merged revisions 61834,61841-61842,61851-61853,61863-61864,61869-61870,61874,61889 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r61834 | raymond.hettinger | 2008-03-24 07:07:49 +0100 (Mon, 24 Mar 2008) | 1 line

  Tighten documentation for Random.triangular.
........
  r61841 | raymond.hettinger | 2008-03-24 09:17:39 +0100 (Mon, 24 Mar 2008) | 1 line

  Issue 2460: Make Ellipsis objects copyable.
........
  r61842 | georg.brandl | 2008-03-24 10:34:34 +0100 (Mon, 24 Mar 2008) | 2 lines

  #1700821: add a note to audioop docs about signedness of sample formats.
........
  r61851 | christian.heimes | 2008-03-24 20:57:42 +0100 (Mon, 24 Mar 2008) | 1 line

  Added quick hack for bzr
........
  r61852 | christian.heimes | 2008-03-24 20:58:17 +0100 (Mon, 24 Mar 2008) | 1 line

  Added quick hack for bzr
........
  r61853 | amaury.forgeotdarc | 2008-03-24 22:04:10 +0100 (Mon, 24 Mar 2008) | 4 lines

  Issue2469: Correct a typo I introduced at r61793: compilation error with UCS4 builds.

  All buildbots compile with UCS2...
........
  r61863 | neal.norwitz | 2008-03-25 05:17:38 +0100 (Tue, 25 Mar 2008) | 2 lines

  Fix a bunch of UnboundLocalErrors when the tests fail.
........
  r61864 | neal.norwitz | 2008-03-25 05:18:18 +0100 (Tue, 25 Mar 2008) | 2 lines

  Try to fix a bunch of compiler warnings on Win64.
........
  r61869 | neal.norwitz | 2008-03-25 07:35:10 +0100 (Tue, 25 Mar 2008) | 3 lines

  Don't try to close a non-open file.
  Don't let file removal cause the test to fail.
........
  r61870 | neal.norwitz | 2008-03-25 08:00:39 +0100 (Tue, 25 Mar 2008) | 7 lines

  Try to get this test to be more stable:
   * disable gc during the test run because we are spawning objects and there
     was an exception when calling Popen.__del__
   * Always set an alarm handler so the process doesn't exit if the test fails
     (should probably add assertions on the value of hndl_called in more places)
   * Using a negative time causes Linux to treat it as zero, so disable that test.
........
  r61874 | gregory.p.smith | 2008-03-25 08:31:28 +0100 (Tue, 25 Mar 2008) | 2 lines

  Use a 32-bit unsigned int here, a long is not needed.
........
  r61889 | georg.brandl | 2008-03-25 12:59:51 +0100 (Tue, 25 Mar 2008) | 2 lines

  Move declarations to block start.
........

16 years agoBlock revisions 61878-61881 aka Georgs py3k warnings
Christian Heimes [Tue, 25 Mar 2008 14:17:23 +0000 (14:17 +0000)]
Block revisions 61878-61881 aka Georgs py3k warnings

16 years agoBlock the mere addition of a versionadded tag.
Georg Brandl [Tue, 25 Mar 2008 08:40:58 +0000 (08:40 +0000)]
Block the mere addition of a versionadded tag.

16 years agoMerge the table type change to save space on LP64 platforms from trunk r61875.
Gregory P. Smith [Tue, 25 Mar 2008 07:51:12 +0000 (07:51 +0000)]
Merge the table type change to save space on LP64 platforms from trunk r61875.

16 years agoi'll merge this revision by hand since its a mix of cleanup and 2.x specifics
Gregory P. Smith [Tue, 25 Mar 2008 07:48:30 +0000 (07:48 +0000)]
i'll merge this revision by hand since its a mix of cleanup and 2.x specifics

16 years agoBlocked revisions 61871 via svnmerge
Georg Brandl [Tue, 25 Mar 2008 07:22:15 +0000 (07:22 +0000)]
Blocked revisions 61871 via svnmerge

........
  r61871 | georg.brandl | 2008-03-25 08:20:15 +0100 (Tue, 25 Mar 2008) | 2 lines

  #868845: document <...> reprs.
........

16 years ago#868845: document <...> reprs.
Georg Brandl [Tue, 25 Mar 2008 07:21:32 +0000 (07:21 +0000)]
#868845: document <...> reprs.

16 years ago61867 not needed in 3k
Gregory P. Smith [Tue, 25 Mar 2008 06:16:18 +0000 (06:16 +0000)]
61867 not needed in 3k

16 years agoMerged revisions 61849 via svnmerge from
Martin v. Löwis [Mon, 24 Mar 2008 14:05:07 +0000 (14:05 +0000)]
Merged revisions 61849 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r61849 | martin.v.loewis | 2008-03-24 14:54:23 +0100 (Mo, 24 Mär 2008) | 2 lines

  Conditionalize sys/time.h inclusion.
........

16 years agoMerged revisions 61846-61847 via svnmerge from
Martin v. Löwis [Mon, 24 Mar 2008 13:39:54 +0000 (13:39 +0000)]
Merged revisions 61846-61847 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r61846 | martin.v.loewis | 2008-03-24 13:57:53 +0100 (Mo, 24 Mär 2008) | 2 lines

  Install 2to3 script.
........
  r61847 | martin.v.loewis | 2008-03-24 14:31:16 +0100 (Mo, 24 Mär 2008) | 2 lines

  Patch #2240: Implement signal.setitimer and signal.getitimer.
........

16 years agoRemove the dl module per PEP 3108.
Neal Norwitz [Mon, 24 Mar 2008 06:22:57 +0000 (06:22 +0000)]
Remove the dl module per PEP 3108.