summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Revert r41662 and the part of 41552 that originally caused the problemNeal Norwitz2005-12-156-104/+1
| | | | | (calling ftell(stdin) doesn't seem defined). So we won't test errors from ftell unless we can do it portably.
* If quopri uses the implementations from binascii do the tests a second timeWalter Dörwald2005-12-141-10/+35
| | | | | using the Python implementations of the functions. This imcreases code coverage and makes sure that both implementations do the same thing.
* added PSG licensing blurbFredrik Lundh2005-12-141-0/+3
|
* added PSF licensing blurbs to relevant filesFredrik Lundh2005-12-145-0/+15
|
* fixed eol-styleFredrik Lundh2005-12-140-0/+0
|
* renamed to _elementtree (for Python 2.5)Fredrik Lundh2005-12-141-4/+4
|
* copied cElementTree 1.0.4 to ModulesFredrik Lundh2005-12-141-0/+2720
|
* added cElementTree/_elementtree build stuff and wrapper moduleFredrik Lundh2005-12-142-0/+14
|
* Subversion settings:Armin Rigo2005-12-145-1960/+1960
| | | | | | | | | svn:ignore *.pyc *.pyo svn:eol-style native The .py files appear to have been checked in with Windows or inconsistent line endings. The current check-in disrupts the 'svn blame', but hopefully it is irrelevant for freshly imported code.
* Added the 'ULL' prefix to the unsigned long long literal constants.Armin Rigo2005-12-141-99/+99
| | | | Supresses numerous pages of compiler warnings.
* When regenerating files like Python-ast.h, take care that the generatedArmin Rigo2005-12-141-3/+2
| | | | | | | comment based on 'sys.args[0]' does not depend on the path. For Python builds from a remote directory ("/path/to/configure; make") the previous logic used to include the "/path/to" portion in Python-ast.h. Then svn would consider this file to be locally modified.
* fixed installation of xmlcore libraries (including xmlcore.etree)Fredrik Lundh2005-12-141-1/+1
|
* - remove leftover directoryFred Drake2005-12-141-0/+20
| | | | - add file I forgot to add in previous commit
* move the xml package implementation to xmlcore, and adjust the tests toFred Drake2005-12-1424-194/+196
| | | | | test that package, not the xmlcore/PyXML switcheroo fiasco in the xml module/package
* moved magic into structure (mainly to simplify the client code)Fredrik Lundh2005-12-132-8/+10
| | | | added missing API hooks
* renamed dispatch -> capi to match other CAPI implementationsFredrik Lundh2005-12-132-27/+27
| | | | (e.g. cStringIO, ucnhash, etc)
* added cobject-based expat dispatch mechanism to pyexpatFredrik Lundh2005-12-132-0/+76
|
* Fix test not to fail on FreeBSD. Directories work also as dataHye-Shik Chang2005-12-131-0/+4
| | | | files on the platform.
* Add a workaround for file.ftell() to raise IOError for ttys.Hye-Shik Chang2005-12-135-1/+97
| | | | | ftell(3) on BSD doesn't set errno even for ttys and returns useless values.
* From a suggestion on c.l.py: modernize the introduction to the tutorial.Andrew M. Kuchling2005-12-131-32/+40
| | | | | | | | * Remove talk of shell scripting, replacing it by some more current examples * Mention C++ and Java as well as C Raymond H., please feel free to rewrite or revert as you see fit. If the changes are OK, they could be backported to the 2.4-maint branch.
* r1077@spiff: Fredrik | 2005-12-12 22:58:44 +0100Fredrik Lundh2005-12-121-0/+1
| | | | | make sure xml.etree can be used even if PyXML is present (solution proposed by Philip J. Eby)
* r1076@spiff: Fredrik | 2005-12-12 22:32:28 +0100Fredrik Lundh2005-12-122-0/+28
| | | | added xml.etree documentation stub
* skip NIS entries, empty entries, etcFredrik Lundh2005-12-122-2/+4
|
* skip nis entries, if not filtered out by getpwall itselfFredrik Lundh2005-12-121-0/+2
|
* added xml.etree test (enough of the ElementTree selftest toFredrik Lundh2005-12-121-0/+339
| | | | make sure that all included components work)
* r1068@spiff: Fredrik | 2005-12-12 19:50:30 +0100Fredrik Lundh2005-12-124-2/+19
| | | | assorted xml.etree tweaks
* added ElementTree core components to xml.etreeFredrik Lundh2005-12-124-0/+1621
|
* Bug #1290333: Added a workaround for cjkcodecs' _codecs_cn moduleHye-Shik Chang2005-12-122-0/+11
| | | | build problem on AIX.
* Remove background imageAndrew M. Kuchling2005-12-121-1/+1
|
* SF #1373150, diffs in working copy after a buildNeal Norwitz2005-12-113-3/+7
| | | | | | | | Strip off leading dots and slash so the generated files are the same regardless of whether you configure in the checkout directory or build. If anyone configures in a different directory, we might want a cleaner approach using os.path.*(). Hopefully this is good enough.
* en_sit will be freed when en is DECREF'd. Don't double free.Neal Norwitz2005-12-111-1/+0
|
* SF #1377897, Bus error in astNeal Norwitz2005-12-112-0/+9
| | | | | | If a line had multiple semi-colons and ended with a semi-colon, we would loop too many times and access a NULL node. Exit the loop early if there are no more children.
* SF #1370197, memory leak - ast_error_finish (in error conditions).Neal Norwitz2005-12-111-2/+6
|
* Add const to several API functions that take char *.Jeremy Hylton2005-12-1052-255/+272
| | | | | | | | | | | | | | | | | | | In C++, it's an error to pass a string literal to a char* function without a const_cast(). Rather than require every C++ extension module to put a cast around string literals, fix the API to state the const-ness. I focused on parts of the API where people usually pass literals: PyArg_ParseTuple() and friends, Py_BuildValue(), PyMethodDef, the type slots, etc. Predictably, there were a large set of functions that needed to be fixed as a result of these changes. The most pervasive change was to make the keyword args list passed to PyArg_ParseTupleAndKewords() to be a const char *kwlist[]. One cast was required as a result of the changes: A type object mallocs the memory for its tp_doc slot and later frees it. PyTypeObject says that tp_doc is const char *; but if the type was created by type_new(), we know it is safe to cast to char *.
* Patch #1276356: Implement new resource "urlfetch" for regrtest.Hye-Shik Chang2005-12-1010-74/+29
| | | | | This enables even impatient people to run tests that require remote files such as test_normalization and test_codecmaps_*.
* [Bug #1349316] Show how to use XML-RPC through a proxyAndrew M. Kuchling2005-12-081-0/+27
|
* add common usage exampleSkip Montanaro2005-12-061-0/+17
|
* Typo in a code example.Armin Rigo2005-12-061-1/+1
|
* Nobody on python-dev seemed particularly bothered that Hotshot generates half-Armin Rigo2005-12-061-34/+2
| | | | meaningless numbers, but I figured out I would fix that bug anyway.
* Simplify logic for handling import *Neal Norwitz2005-12-061-6/+3
|
* Reduce scope of featureNeal Norwitz2005-12-061-2/+1
|
* Remove unused macro, check is done elsewhereNeal Norwitz2005-12-061-1/+0
|
* Remove unnecessary extern variableNeal Norwitz2005-12-051-2/+0
|
* mwh spotted a copied error message, make it unique (and correct)Neal Norwitz2005-12-051-1/+1
|
* Fix SF #1373161, r41552 broke test_file on OS XNeal Norwitz2005-12-051-1/+1
| | | | | You apparently can seek(0) on sys.stdin on OS X. But you can't go backwards, so seek(-1).
* Fix bugMichael W. Hudson2005-12-051-5/+13
| | | | | | | | [ 1346144 ] Segfaults from unaligned loads in floatobject.c by using memcpy and not just blinding casting char* to double*. Thanks to Rune Holm for the report.
* [Patch #1372995] Add \versionaddedAndrew M. Kuchling2005-12-042-0/+4
|
* [Bug #1281032] Pass encoding from the input source to pyexpat's ParserCreate()Andrew M. Kuchling2005-12-041-2/+3
|
* [Bug #1164912] Ensure Datetime wrapper class .value attribute is an 8-bit ↵Andrew M. Kuchling2005-12-042-0/+11
| | | | string, not a Unicode string
* [Bug #1041501] Fix exampleAndrew M. Kuchling2005-12-041-1/+1
|