Commit graph

33835 commits

Author SHA1 Message Date
Martin v. Löwis
c95dd9488a Disable .DLL as an extension for extension modules. 2006-04-04 07:04:07 +00:00
Anthony Baxter
72289a616c Update to pysqlite 2.2.0 2006-04-04 06:29:05 +00:00
Martin v. Löwis
a058836e96 Revert 43615, fixing it properly through quadrigraphs.
Apparently, the code in #1416559 was not generated
through invoking autoconf.
2006-04-04 06:03:50 +00:00
Neal Norwitz
a7a3cfe792 Comment out the prints. These appear to be only for debugging purposes.
Jeremy, please fix this correctly after the alpha.
2006-04-04 05:44:36 +00:00
Neal Norwitz
e8fb992f75 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.
2006-04-04 05:32:17 +00:00
Jeremy Hylton
2f327c14eb 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.
2006-04-04 04:00:23 +00:00
David Goodger
cb30f97bd3 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 2006-04-04 03:05:44 +00:00
Martin v. Löwis
5fe715f049 Properly support empty woperation in win32_startfile;
correct arguments to ShellExecuteW.
2006-04-03 23:01:24 +00:00
Phillip J. Eby
9388020b86 Fix typos; enhance comments on patch for SF #1462485.
--This line, and those below, will be ignored--

M    contextlib.py
2006-04-03 21:20:07 +00:00
Thomas Heller
cdab455f9a Try to fix the build on Mac OS X 10.3. The 'live_support' segment
attribute is not supported in this version.
2006-04-03 20:12:41 +00:00
Thomas Heller
fc9fc4764f ctypes.macholib is needed. 2006-04-03 20:10:50 +00:00
Phillip J. Eby
9444bd51c4 Fix SF#1462485: StopIteration raised in body of 'with' statement suppressed 2006-04-03 20:05:05 +00:00
Tim Peters
9161a0d8da Looks like someone renamed (or something) md5c.c to md5.c. 2006-04-03 19:54:07 +00:00
Martin v. Löwis
ff60023048 Set "not found" value for svnversion to not-found. Fixes #1463559. 2006-04-03 19:12:32 +00:00
Matthias Klose
739281148d - add missing chunk for patch #1117961 2006-04-03 16:59:32 +00:00
Skip Montanaro
353aa8772a Make needs to be told to install sqlite 2006-04-03 16:40:10 +00:00
Matthias Klose
d77f8b3bea - correct patch number 2006-04-03 16:34:56 +00:00
Matthias Klose
8e39ec78bc - Patch #360466: Replace the MD5 implementation from RSA Data Security Inc
with the implementation from http://sourceforge.net/projects/libmd5-rfc/.
2006-04-03 16:27:50 +00:00
Thomas Heller
db5483be64 Try to fix the tests on OpenBSD. Apparently OpenBSD passes
structure parameters differently than other posix-like systems.
2006-04-03 16:19:45 +00:00
Walter Dörwald
2a1b4a69b7 For backwards compatibility reasons the global function
setfirstweekday() still needs to do a range check.
2006-04-03 15:24:49 +00:00
Walter Dörwald
72d84af401 Always return firstweekday % 7 instead of complaining
on setting.
2006-04-03 15:21:59 +00:00
Walter Dörwald
aba10cf153 Turn firstweekday into a property. 2006-04-03 15:20:28 +00:00
Anthony Baxter
ebed3f629b preparation for 2.5a1 2006-04-03 15:03:44 +00:00
Anthony Baxter
70e079631f added sqlite3 section
expanded tabs
fixed a couple of typos
removed .cvsignore reference
2006-04-03 14:16:27 +00:00
Andrew M. Kuchling
af7ee99a49 Add sections for new modules; will write tutorial later 2006-04-03 12:41:37 +00:00
Georg Brandl
ad89dc8794 Bug #1451503: allow unicode filenames in os.startfile(). 2006-04-03 12:26:26 +00:00
Martin v. Löwis
59c3acc3cd Add check_soundcard.vbs. Will backport 2006-04-03 12:07:46 +00:00
Martin v. Löwis
54b42f185e Allow long integers in PySlice_GetIndices. 2006-04-03 11:38:08 +00:00
Martin v. Löwis
a8cd7a26d4 Add test case for #43581. 2006-04-03 11:05:39 +00:00
Martin v. Löwis
ea62d2535f Bug #1421664: Set sys.stderr.encoding 2006-04-03 10:56:49 +00:00
Anthony Baxter
cf0a2a8576 Deal with openbsd's different style of default /etc/hosts by forcing the fqdn
lookup to use the IP address returned by gethosbyname.
2006-04-03 08:10:33 +00:00
Anthony Baxter
93f5b93422 The email module's parsedate_tz function now sets the daylight savings
flag to -1 (unknown) since it can't tell from the date whether it should
be set.
patch from Aldo Cortesi
2006-04-03 08:05:07 +00:00
Neal Norwitz
9e5eb4ffbf I could have sworn this was part of the change to not abbreviate ABSOLUTE 2006-04-03 06:58:51 +00:00
Neal Norwitz
b0b20a10bc Get ctypes loader working on OSF1 (Tru64) 2006-04-03 06:52:43 +00:00
Neal Norwitz
cbce280d4f Don't abbreviate ABS, use long name ABSOLUTE. 2006-04-03 06:26:32 +00:00
Martin v. Löwis
f5af2aac38 Patch #1462700: Make _ctypes_test depend on _ctypes.
Use same GUID for pythoncore in project and solution.
2006-04-03 05:29:03 +00:00
Neal Norwitz
84c95b9407 Fix test_pty on OSF/1 (Tru64). The problem is that the newline gets
converted to CR CR NL.  There may be a way to fix this with tcsetattr,
but I couldn't find it.  There was a similar problem on IRIX.

Just normalize the output and compare that.

Will backport.
2006-04-03 05:28:31 +00:00
Neal Norwitz
9cdfa4c98c Skip the test for sys.stdin.seek(-1) on OSF/1 (Tru64) since it does Bad Things
like cause the interpreter to exit abruptly.  If there's a way to fix this,
it would be good to really fix it.  It could just be the operation of the
std C library and we just aren't supposed to do that.

When the test case is skipped, we print a message so the user can check
for themselves.
2006-04-03 05:27:05 +00:00
Neal Norwitz
3e1ec3aa22 Remove some duplicated code for handling Mac modules. No functional change (intended). Also stoped setting srcdir twice. 2006-04-03 04:52:05 +00:00
Neal Norwitz
19379f18a6 * Fix a refleak of *_attributes.
* Cleanup formatting a bit (add spaces).
* Move static var initialized inside init_types() since that's the only place
  it's used.
2006-04-03 04:50:58 +00:00
Neal Norwitz
92e212f7d9 Accept keyword arguments for __import__ and doc the addition of the level param from PEP 328. 2006-04-03 04:48:37 +00:00
Neal Norwitz
92a6be4318 Whitespace: break long line 2006-04-03 04:46:28 +00:00
Neal Norwitz
d08eaf4d1b Use Py_ssize_t in slices 2006-04-03 04:46:04 +00:00
Neal Norwitz
b902f4e401 Use absolute imports 2006-04-03 04:45:34 +00:00
Tim Peters
480725d4c5 Whitespace normalization. 2006-04-03 02:46:44 +00:00
Anthony Baxter
3dc6bb3c25 cleaned up setup.py code for sqlite3, based on patch from Gerhard Haering. 2006-04-03 02:20:49 +00:00
Walter Dörwald
04ee87097c Always use firstweekday module 7. 2006-04-02 22:11:10 +00:00
Georg Brandl
5f284da2d4 Document recent fdopen() change. 2006-04-02 21:18:27 +00:00
Georg Brandl
7fff58c097 Readd urllib.quote import as it doesn't cause any harm. 2006-04-02 21:13:13 +00:00
Georg Brandl
4696ffbf09 Remove "disgusting hack" in favour of closure (patch #1462235) 2006-04-02 21:09:51 +00:00