summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* [Patch #1039083] Add 'encoding' parameter to SimpleXMLRPCServerAndrew M. Kuchling2005-12-043-18/+28
|
* Use boolean nameAndrew M. Kuchling2005-12-041-1/+1
|
* [Patch #893642] Add optional allow_none argument to SimpleXMLRPCServer, ↵Andrew M. Kuchling2005-12-043-8/+16
| | | | CGIXMLRPCRequestHandler
* [Bug #1372836] Remove unused codeAndrew M. Kuchling2005-12-041-4/+0
|
* Add placeholder section on old and new-style classesAndrew M. Kuchling2005-12-041-0/+13
|
* [Bug #792570] Under Windows, socket.read() seems to run into trouble whenAndrew M. Kuchling2005-12-042-2/+16
| | | | | | | | | | asked to read tens of megabytes of data. On my Mac, it hits MemoryErrors when reading around 15Mb in one chunk. The fix is to read the body in several parts, not as one big piece. It would be nice to fix the underlying socket.read() problem, too. 2.4 bugfix candidate.
* [Bug #1222790] Set reuse-address and close-on-exec flags on the HTTP ↵Andrew M. Kuchling2005-12-042-1/+14
| | | | listening socket
* Bug #1368481: python.dir refers to whatsnew23Georg Brandl2005-12-021-1/+1
|
* set expectations appropriately. ;)Anthony Baxter2005-12-011-1/+1
|