]> granicus.if.org Git - python/log
python
18 years agoPatch #1467770: Add Popen objects to _active only in __del__.
Martin v. Löwis [Mon, 10 Apr 2006 15:55:37 +0000 (15:55 +0000)]
Patch #1467770: Add Popen objects to _active only in __del__.
Introduce _child_active member to keep track on whether a child
needs to be waited for.
Backport candidate.

18 years agoPatch #1441452: Add more AST nodes.
Martin v. Löwis [Mon, 10 Apr 2006 12:43:55 +0000 (12:43 +0000)]
Patch #1441452: Add more AST nodes.

18 years agoPatch #1429775: Link Python modules to libpython on linux if
Martin v. Löwis [Mon, 10 Apr 2006 12:39:36 +0000 (12:39 +0000)]
Patch #1429775: Link Python modules to libpython on linux if
--enable-shared. Fixes #832799.

18 years agoPatch #1462222: Fix Tix.Grid. Closes #1036406.
Martin v. Löwis [Mon, 10 Apr 2006 08:34:21 +0000 (08:34 +0000)]
Patch #1462222: Fix Tix.Grid. Closes #1036406.

18 years agoFix warning about ptsname not being a prototype on Solaris. Is this prototype even...
Neal Norwitz [Mon, 10 Apr 2006 07:44:23 +0000 (07:44 +0000)]
Fix warning about ptsname not being a prototype on Solaris.  Is this prototype even necessary anymore?

18 years agoUse PyObject_* allocator since FutureFeatures is small
Neal Norwitz [Mon, 10 Apr 2006 06:57:06 +0000 (06:57 +0000)]
Use PyObject_* allocator since FutureFeatures is small

18 years agoSF patch #1467512, fix double free with triple quoted string in standard build.
Neal Norwitz [Mon, 10 Apr 2006 06:42:25 +0000 (06:42 +0000)]
SF patch #1467512, fix double free with triple quoted string in standard build.

This was the result of inconsistent use of PyMem_* and PyObject_* allocators.
By changing to use PyObject_* allocator almost everywhere, this removes
the inconsistency.

18 years agoGet rid of warnings about using chars as subscripts
Neal Norwitz [Mon, 10 Apr 2006 02:17:47 +0000 (02:17 +0000)]
Get rid of warnings about using chars as subscripts
on Alpha (and possibly other platforms) by using Py_CHARMASK().

18 years agoFix some warnings on HP-UX when using cc/aCC
Neal Norwitz [Mon, 10 Apr 2006 01:03:32 +0000 (01:03 +0000)]
Fix some warnings on HP-UX when using cc/aCC

18 years agoI wonder if we can be too graceful? One oughta be enough. :-)
Neal Norwitz [Mon, 10 Apr 2006 00:25:01 +0000 (00:25 +0000)]
I wonder if we can be too graceful?  One oughta be enough. :-)

18 years agoPython on OS X 10.3 and above now uses dlopen() (via dynload_shlib.c)
Anthony Baxter [Sun, 9 Apr 2006 15:07:40 +0000 (15:07 +0000)]
Python on OS X 10.3 and above now uses dlopen() (via dynload_shlib.c)
to load extension modules and now provides the dl module. As a result,
sys.setdlopenflags() now works correctly on these systems. (SF patch
#1454844)

18 years agoPatch #1466993: remove wrong comment in socket.py
Georg Brandl [Sun, 9 Apr 2006 14:28:13 +0000 (14:28 +0000)]
Patch #1466993: remove wrong comment in socket.py

18 years agoFix tests so they pass in -R mode
Neal Norwitz [Sun, 9 Apr 2006 08:36:46 +0000 (08:36 +0000)]
Fix tests so they pass in -R mode

18 years agoGet test_optparse to pass in -R mode by stop changing state (COLUMNS env var)
Neal Norwitz [Sun, 9 Apr 2006 06:26:12 +0000 (06:26 +0000)]
Get test_optparse to pass in -R mode by stop changing state (COLUMNS env var)

18 years agoConvert test_compare to use unittest. Hopefully we can find out
Neal Norwitz [Sun, 9 Apr 2006 04:50:18 +0000 (04:50 +0000)]
Convert test_compare to use unittest.  Hopefully we can find out
why this breaks on openbsd sometimes.

18 years agoFix problem (not checking return result) reported by Coverity
Neal Norwitz [Sun, 9 Apr 2006 04:07:39 +0000 (04:07 +0000)]
Fix problem (not checking return result) reported by Coverity

18 years agoFix a couple of strings that were no-ops. urllib.open_file was a docstring
Neal Norwitz [Sun, 9 Apr 2006 04:00:49 +0000 (04:00 +0000)]
Fix a couple of strings that were no-ops.  urllib.open_file was a docstring
in 2.4, so put it back.  The string in telnetlib looks like a comment.

18 years agoglob('anything*/') would fail because isdir is in os.path, not os.
Neal Norwitz [Sun, 9 Apr 2006 03:35:43 +0000 (03:35 +0000)]
glob('anything*/') would fail because isdir is in os.path, not os.

18 years agotest_timeout(): This test was added during Bug Day, but disabled
Tim Peters [Sat, 8 Apr 2006 12:05:15 +0000 (12:05 +0000)]
test_timeout():  This test was added during Bug Day, but disabled
soon after because the gmail address it connects to started timing
out on all the buildbot slaves.  Rewrote the test to produce a
warning message (instead of failing) when the address times out.

Also removed the special case for Windows -- this test started to
work on Windows as soon as bug 1462352 was fixed.

18 years agoDefine WIN32, to get proper struct alignment in WinSock2.h.
Martin v. Löwis [Sat, 8 Apr 2006 09:13:43 +0000 (09:13 +0000)]
Define WIN32, to get proper struct alignment in WinSock2.h.
Fixes #1462352. Will backport.

18 years agoFix bsddb.db.DBError derived exceptions so they can be unpickled.
Gregory P. Smith [Sat, 8 Apr 2006 07:10:51 +0000 (07:10 +0000)]
Fix bsddb.db.DBError derived exceptions so they can be unpickled.

Also adds some backwards compatibility when compiling _bsddb.c on earlier
python versions (needed for pybsddb).

18 years agoDon't try to build ctypes when configuration of libffi fails.
Thomas Heller [Fri, 7 Apr 2006 19:27:56 +0000 (19:27 +0000)]
Don't try to build ctypes when configuration of libffi fails.

18 years agoConfigure Modules/_ctypes/libffi just before building the _ctypes extension.
Thomas Heller [Fri, 7 Apr 2006 19:04:09 +0000 (19:04 +0000)]
Configure Modules/_ctypes/libffi just before building the _ctypes extension.
This avoids configuring it when it is not build by setup.py.

18 years agoFix a few XXX markers
Andrew M. Kuchling [Fri, 7 Apr 2006 12:46:06 +0000 (12:46 +0000)]
Fix a few XXX markers

18 years agoAdjust compileall -x option to Makefile.pre.in. Fixes #1465093.
Martin v. Löwis [Fri, 7 Apr 2006 10:02:25 +0000 (10:02 +0000)]
Adjust compileall -x option to Makefile.pre.in. Fixes #1465093.

18 years agoRegenerate.
Martin v. Löwis [Fri, 7 Apr 2006 06:26:31 +0000 (06:26 +0000)]
Regenerate.

18 years agomissing 'self' from TextCalendar.prweek.
Anthony Baxter [Fri, 7 Apr 2006 05:41:13 +0000 (05:41 +0000)]
missing 'self' from TextCalendar.prweek.

18 years agominor error in uudecode main error handling
Anthony Baxter [Fri, 7 Apr 2006 05:39:17 +0000 (05:39 +0000)]
minor error in uudecode main error handling

18 years agoPatch #1462080: Conditionalize some NETLINK defines.
Martin v. Löwis [Thu, 6 Apr 2006 22:29:33 +0000 (22:29 +0000)]
Patch #1462080: Conditionalize some NETLINK defines.

18 years agoWhitespace normalization.
Tim Peters [Thu, 6 Apr 2006 19:35:27 +0000 (19:35 +0000)]
Whitespace normalization.

18 years agoExpose RTLD_LOCAL and RTLD_GLOBAL always from the _ctypes extension module.
Thomas Heller [Thu, 6 Apr 2006 15:23:16 +0000 (15:23 +0000)]
Expose RTLD_LOCAL and RTLD_GLOBAL always from the _ctypes extension module.
If RTLD_LOCAL is not #defined in any header file (Windows), set it to 0.
If RTLD_GLOBAL is not #defined, set it equal to RTLD_LOCAL.

This should fix ctypes on cygwin.

18 years agoFix unfinished paragraph; markup fix
Andrew M. Kuchling [Thu, 6 Apr 2006 13:24:58 +0000 (13:24 +0000)]
Fix unfinished paragraph; markup fix

18 years agoExpand the PEP 353 section; various smaller changes
Andrew M. Kuchling [Thu, 6 Apr 2006 13:03:04 +0000 (13:03 +0000)]
Expand the PEP 353 section; various smaller changes

18 years agoBug #1464658: make clear that PyList_GetItem doesn't take negative indices.
Georg Brandl [Thu, 6 Apr 2006 12:45:51 +0000 (12:45 +0000)]
Bug #1464658: make clear that PyList_GetItem doesn't take negative indices.

18 years agoBug #1465619: rot13 codec decodes to a Unicode string.
Georg Brandl [Thu, 6 Apr 2006 11:25:33 +0000 (11:25 +0000)]
Bug #1465619: rot13 codec decodes to a Unicode string.

18 years agoBug #1465600: note encoding issue in ZipFile.write().
Georg Brandl [Thu, 6 Apr 2006 10:03:32 +0000 (10:03 +0000)]
Bug #1465600: note encoding issue in ZipFile.write().

18 years agoReplace a few more 'char' types with 'signed char', to fix test failures
Thomas Heller [Thu, 6 Apr 2006 09:02:58 +0000 (09:02 +0000)]
Replace a few more 'char' types with 'signed char', to fix test failures
on platforms (ppc debian) where 'char' is unsigned.

18 years agoThis change shouldn't have any functional effect. Coverity was
Neal Norwitz [Thu, 6 Apr 2006 08:43:16 +0000 (08:43 +0000)]
This change shouldn't have any functional effect.  Coverity was
complaining because it seemed like parameters_iter could be NULL.

18 years agoFix unchecked return result from Coverity.
Neal Norwitz [Thu, 6 Apr 2006 08:41:59 +0000 (08:41 +0000)]
Fix unchecked return result from Coverity.

18 years agoRemove dead code (reported by HP compiler).
Neal Norwitz [Thu, 6 Apr 2006 08:17:41 +0000 (08:17 +0000)]
Remove dead code (reported by HP compiler).

Can probably be backported if anyone cares.

18 years agoHandle ssize_t
Neal Norwitz [Thu, 6 Apr 2006 08:07:25 +0000 (08:07 +0000)]
Handle ssize_t

18 years agoHandle error conditions from PyString_ConcatAndDel().
Neal Norwitz [Thu, 6 Apr 2006 08:06:52 +0000 (08:06 +0000)]
Handle error conditions from PyString_ConcatAndDel().

18 years agoHandle ssize_t
Neal Norwitz [Thu, 6 Apr 2006 08:05:53 +0000 (08:05 +0000)]
Handle ssize_t
No need to INCREF then let PyString_ConcatAndDel() DECREF.  Just
use PyString_Concat().
Handle error condition if we can't concat.

18 years agoHopefully this makes test_urllib2 have inconsistent leak results
Neal Norwitz [Thu, 6 Apr 2006 08:00:20 +0000 (08:00 +0000)]
Hopefully this makes test_urllib2 have inconsistent leak results

18 years agoI don't think we know of any tests that really leak anymore
Neal Norwitz [Thu, 6 Apr 2006 07:58:59 +0000 (07:58 +0000)]
I don't think we know of any tests that really leak anymore
(other than those in leakers).

18 years agoFix for failure of test_urllib2 breaking test_mimetypes (SF bug 1464978)
Anthony Baxter [Thu, 6 Apr 2006 07:31:31 +0000 (07:31 +0000)]
Fix for failure of test_urllib2 breaking test_mimetypes (SF bug 1464978)
will backport.

18 years agoIn some environments (under screen, in a chroot) curses doesn't support
Anthony Baxter [Thu, 6 Apr 2006 07:12:39 +0000 (07:12 +0000)]
In some environments (under screen, in a chroot) curses doesn't support
mouse events. This makes the test fail. Catch that case and don't run
the tests. Should make the debian/ubuntu buildbots that run in a chroot
work again.

Will backport to release24-maint.

18 years agoBug #1451341: find fuzzy marks correctly.
Georg Brandl [Thu, 6 Apr 2006 06:44:33 +0000 (06:44 +0000)]
Bug #1451341: find fuzzy marks correctly.

18 years agoremove more cruft no longer needed
Fred Drake [Thu, 6 Apr 2006 01:32:26 +0000 (01:32 +0000)]
remove more cruft no longer needed

18 years agoremove much of the Python-version compatibility cruft; the minimum Python
Fred Drake [Thu, 6 Apr 2006 01:29:04 +0000 (01:29 +0000)]
remove much of the Python-version compatibility cruft; the minimum Python
version this should support is Python 2.3

18 years agorevert incomplete changes committed by accident
Fred Drake [Thu, 6 Apr 2006 00:18:28 +0000 (00:18 +0000)]
revert incomplete changes committed by accident

18 years agoupdate URL to reflect new website
Fred Drake [Thu, 6 Apr 2006 00:17:08 +0000 (00:17 +0000)]
update URL to reflect new website

18 years agoExplicitely use 'signed char', to avoid problems on platforms with unsigned char...
Thomas Heller [Wed, 5 Apr 2006 20:34:18 +0000 (20:34 +0000)]
Explicitely use 'signed char', to avoid problems on platforms with unsigned char type.

18 years agoExplicitely use 'signed char', to avoid problems on platforms with unsigned char...
Thomas Heller [Wed, 5 Apr 2006 19:51:19 +0000 (19:51 +0000)]
Explicitely use 'signed char', to avoid problems on platforms with unsigned char type.

18 years agoOne test still fails on the ia64 debian box.
Thomas Heller [Wed, 5 Apr 2006 19:01:35 +0000 (19:01 +0000)]
One test still fails on the ia64 debian box.

18 years agoFixed error in comment for new PY_SSIZE_T_MIN.
Tim Peters [Wed, 5 Apr 2006 18:43:30 +0000 (18:43 +0000)]
Fixed error in comment for new PY_SSIZE_T_MIN.

18 years agoupgrade to final version of pysqlite 2.2.0
Anthony Baxter [Wed, 5 Apr 2006 18:25:33 +0000 (18:25 +0000)]
upgrade to final version of pysqlite 2.2.0

18 years agoAdd PY_SSIZE_T_MIN, as suggested by Ralf W. Grosse-Kunstleve.
Martin v. Löwis [Wed, 5 Apr 2006 18:21:17 +0000 (18:21 +0000)]
Add PY_SSIZE_T_MIN, as suggested by Ralf W. Grosse-Kunstleve.

18 years agoUse 'ldd' to find the libc library to load. Based on an idea from Matthias Klose.
Thomas Heller [Wed, 5 Apr 2006 17:36:45 +0000 (17:36 +0000)]
Use 'ldd' to find the libc library to load.  Based on an idea from Matthias Klose.

18 years agowhitespace normalisation
Anthony Baxter [Wed, 5 Apr 2006 17:30:38 +0000 (17:30 +0000)]
whitespace normalisation

18 years agoblank spots for Misc/NEWS, post alpha1 (plus testing buildbot 0.7.2)
Anthony Baxter [Wed, 5 Apr 2006 14:51:42 +0000 (14:51 +0000)]
blank spots for Misc/NEWS, post alpha1 (plus testing buildbot 0.7.2)

18 years agoBump version number after alpha1 release
Andrew M. Kuchling [Wed, 5 Apr 2006 13:59:01 +0000 (13:59 +0000)]
Bump version number after alpha1 release

18 years agoFix refleak in __import__("") (probably the cause of the 2 refleaks in
Thomas Wouters [Wed, 5 Apr 2006 13:39:37 +0000 (13:39 +0000)]
Fix refleak in __import__("") (probably the cause of the 2 refleaks in
test_builtin.)

18 years agono-one but windows should expect startfile to work
Anthony Baxter [Wed, 5 Apr 2006 13:24:26 +0000 (13:24 +0000)]
no-one but windows should expect startfile to work

18 years agoTagging for release of Python 2.5a1
Anthony Baxter [Wed, 5 Apr 2006 02:35:33 +0000 (02:35 +0000)]
Tagging for release of Python 2.5a1

18 years agowe need os.path too for the normal run on windows v2.5a1
Neal Norwitz [Tue, 4 Apr 2006 19:29:29 +0000 (19:29 +0000)]
we need os.path too for the normal run on windows

18 years agoReference PEP 356
Andrew M. Kuchling [Tue, 4 Apr 2006 19:17:34 +0000 (19:17 +0000)]
Reference PEP 356

18 years agoAdd a paragraph about PEP 353; add a few more fixes
Andrew M. Kuchling [Tue, 4 Apr 2006 19:14:41 +0000 (19:14 +0000)]
Add a paragraph about PEP 353; add a few more fixes

18 years agoThe part checking for the sqlite DLL was looking at, and
Tim Peters [Tue, 4 Apr 2006 19:12:51 +0000 (19:12 +0000)]
The part checking for the sqlite DLL was looking at, and
copying to, a wrong location (it copied the DLL under the
Python directory, and gave it name 'PCbuild').

The Windows buildbots other than mine are probably hung
now, waiting for someone to press "OK" on a popup box
informing them that sqlite3.dll couldn't be found.

18 years agoTidy up the document in preparation for 2.5alpha1. Hope I didn't break the markup...
Andrew M. Kuchling [Tue, 4 Apr 2006 19:07:27 +0000 (19:07 +0000)]
Tidy up the document in preparation for 2.5alpha1.  Hope I didn't break the markup...

18 years agoChange the import statement so that the test is skipped when
Thomas Heller [Tue, 4 Apr 2006 18:52:27 +0000 (18:52 +0000)]
Change the import statement so that the test is skipped when
os.startfile is not present.

18 years agoPer Martins request, add empty.vbs to Tools\msi\msi.py.
Thomas Heller [Tue, 4 Apr 2006 18:41:13 +0000 (18:41 +0000)]
Per Martins request, add empty.vbs to Tools\msi\msi.py.
This file is used by test_startfile.py.

18 years agoAdd a simple test for os.startfile().
Thomas Heller [Tue, 4 Apr 2006 18:31:35 +0000 (18:31 +0000)]
Add a simple test for os.startfile().

18 years agoChange the example classes UnicodeReader and UnicodeWriter so
Walter Dörwald [Tue, 4 Apr 2006 17:32:49 +0000 (17:32 +0000)]
Change the example classes UnicodeReader and UnicodeWriter so
that they work with all encodings. For UnicodeReader the real
input stream is wrapped in a line iterator that reencodes the
input to UTF-8. For UnicodeWriter the UTF-8 encoded output is
written to a queue for where it is reencoded to the target
encoding and written to the real output stream.

18 years agoMake xrange more Py_ssize_t aware, by assuming a Py_ssize_t is always at
Thomas Wouters [Tue, 4 Apr 2006 17:28:12 +0000 (17:28 +0000)]
Make xrange more Py_ssize_t aware, by assuming a Py_ssize_t is always at
least as big as a long. I believe this to be a safe assumption that is being
made in many parts of CPython, but a check could be added.

len(xrange(sys.maxint)) works now, so fix the testsuite's odd exception for
64-bit platforms too. It also fixes 'zip(xrange(sys.maxint), it)' as a
portable-ish (if expensive) alternative to enumerate(it); since zip() now
calls len(), this was breaking on (real) 64-bit platforms. No additional
test was added for that behaviour.

18 years agodocstring tweak
Fredrik Lundh [Tue, 4 Apr 2006 16:51:13 +0000 (16:51 +0000)]
docstring tweak

18 years agoAdjust sqlite3 build process to Win64.
Martin v. Löwis [Tue, 4 Apr 2006 16:28:14 +0000 (16:28 +0000)]
Adjust sqlite3 build process to Win64.

18 years agoFix __import__("") to raise ValueError rather than return None.
Thomas Wouters [Tue, 4 Apr 2006 16:17:02 +0000 (16:17 +0000)]
Fix __import__("") to raise ValueError rather than return None.

18 years agoFix test_platform on cygwin. When running from build area, sys.executable
Anthony Baxter [Tue, 4 Apr 2006 15:52:00 +0000 (15:52 +0000)]
Fix test_platform on cygwin. When running from build area, sys.executable
is 'python'. But 'python' is actually a directory, 'python.exe' is the
executable.

18 years agosqlite on Windows:
Tim Peters [Tue, 4 Apr 2006 15:21:02 +0000 (15:21 +0000)]
sqlite on Windows:

- The buildbot "fetch it" step failed at the end, due to
  using Unix syntax in the final "copy the DLL" step.
  test_sqlite was skipped as a result.

- test_sqlite is no longer an expected skip on Windows.

18 years agoSF Bug #1448488 - make collectionsmodule build on Cygwin, using the same
Anthony Baxter [Tue, 4 Apr 2006 15:05:23 +0000 (15:05 +0000)]
SF Bug #1448488 - make collectionsmodule build on Cygwin, using the same
techniques as in Modules/xxsubtype.c

18 years agoupdate to correct version of pysqlite
Anthony Baxter [Tue, 4 Apr 2006 14:40:45 +0000 (14:40 +0000)]
update to correct version of pysqlite

18 years agoGenerate line number table entries for except handlers.
Jeremy Hylton [Tue, 4 Apr 2006 14:26:39 +0000 (14:26 +0000)]
Generate line number table entries for except handlers.

Re-enable all the tests in test_trace.py except one.  Still not sure that these tests test what they used to test, but they pass.  One failing test seems to be caused by undocumented line number table behavior in Python 2.4.

18 years agocygwin's curses support isn't up to scratch to run the tests.
Anthony Baxter [Tue, 4 Apr 2006 13:32:08 +0000 (13:32 +0000)]
cygwin's curses support isn't up to scratch to run the tests.

18 years agoRemove debugging prints.
Jeremy Hylton [Tue, 4 Apr 2006 12:48:33 +0000 (12:48 +0000)]
Remove debugging prints.

18 years agoaargh. Don't make last minute re-organisations before checkin!
Anthony Baxter [Tue, 4 Apr 2006 12:40:38 +0000 (12:40 +0000)]
aargh. Don't make last minute re-organisations before checkin!

18 years agoFix Debug, Itanium, AMD64 configurations
Martin v. Löwis [Tue, 4 Apr 2006 12:34:06 +0000 (12:34 +0000)]
Fix Debug, Itanium, AMD64 configurations

18 years agoPyAPI_FUNC() the PyArg_.*SizeT forms. Without this, cygwin has hysterics.
Anthony Baxter [Tue, 4 Apr 2006 12:27:20 +0000 (12:27 +0000)]
PyAPI_FUNC() the PyArg_.*SizeT forms. Without this, cygwin has hysterics.
(see buildbot)

18 years agoMake path calculation platform independent
Jeremy Hylton [Tue, 4 Apr 2006 12:11:12 +0000 (12:11 +0000)]
Make path calculation platform independent

18 years agoFix a couple of memory issues
Neal Norwitz [Tue, 4 Apr 2006 07:25:25 +0000 (07:25 +0000)]
Fix a couple of memory issues

18 years agoAdd sqlite3 to the Windows build process.
Martin v. Löwis [Tue, 4 Apr 2006 07:10:59 +0000 (07:10 +0000)]
Add sqlite3 to the Windows build process.

18 years agoDisable .DLL as an extension for extension modules.
Martin v. Löwis [Tue, 4 Apr 2006 07:04:07 +0000 (07:04 +0000)]
Disable .DLL as an extension for extension modules.

18 years agoUpdate to pysqlite 2.2.0
Anthony Baxter [Tue, 4 Apr 2006 06:29:05 +0000 (06:29 +0000)]
Update to pysqlite 2.2.0

18 years agoRevert 43615, fixing it properly through quadrigraphs.
Martin v. Löwis [Tue, 4 Apr 2006 06:03:50 +0000 (06:03 +0000)]
Revert 43615, fixing it properly through quadrigraphs.
Apparently, the code in #1416559 was not generated
through invoking autoconf.

18 years agoComment out the prints. These appear to be only for debugging purposes.
Neal Norwitz [Tue, 4 Apr 2006 05:44:36 +0000 (05:44 +0000)]
Comment out the prints.  These appear to be only for debugging purposes.
Jeremy, please fix this correctly after the alpha.

18 years agoMartin's change 43604 broke the Mac builds apparently due to an autoconf
Neal Norwitz [Tue, 4 Apr 2006 05:32:17 +0000 (05:32 +0000)]
Martin's change 43604 broke the Mac builds apparently due to an autoconf
bug.  I don't understand this at all, but Darwin/[78].* gets converted
to Darwin/78.* which is not correct.  Maybe I'm just clueless or overworked.
I can't see why in the original checkin this should have changed.

This hack gets the Mac build working again.  If someone figures out the
real problem, please revert this and fix for real.

Anthony is telling me that AC_PROG_CXX_WORKS which we use is broken.
I have no idea if that's related.

This change breaks up the case and fixes a typo.

18 years agoAdd lineno, col_offset to excephandler to enable future fix for
Jeremy Hylton [Tue, 4 Apr 2006 04:00:23 +0000 (04:00 +0000)]
Add lineno, col_offset to excephandler to enable future fix for
tracing/line number table in except blocks.

Reflow long lines introduced by col_offset changes.  Update test_ast
to handle new fields in excepthandler.

As note in Python.asdl says, we might want to rethink how attributes
are handled.  Perhaps they should be the same as other fields, with
the primary difference being how they are defined for all types within
a sum.

Also fix asdl_c so that constructors with int fields don't fail when
passed a zero value.

18 years agoadded another example of Unicode CSV parsing; reworked the example text a bit; correc...
David Goodger [Tue, 4 Apr 2006 03:05:44 +0000 (03:05 +0000)]
added another example of Unicode CSV parsing; reworked the example text a bit; corrected notice in the intro and added a link to the examples

18 years agoProperly support empty woperation in win32_startfile;
Martin v. Löwis [Mon, 3 Apr 2006 23:01:24 +0000 (23:01 +0000)]
Properly support empty woperation in win32_startfile;
correct arguments to ShellExecuteW.

18 years agoFix typos; enhance comments on patch for SF #1462485.
Phillip J. Eby [Mon, 3 Apr 2006 21:20:07 +0000 (21:20 +0000)]
Fix typos; enhance comments on patch for SF #1462485.
 --This line, and those below, will be ignored--

M    contextlib.py