Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert r41662 and the part of 41552 that originally caused the problem | Neal Norwitz | 2005-12-15 | 6 | -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 time | Walter Dörwald | 2005-12-14 | 1 | -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 blurb | Fredrik Lundh | 2005-12-14 | 1 | -0/+3 |
| | |||||
* | added PSF licensing blurbs to relevant files | Fredrik Lundh | 2005-12-14 | 5 | -0/+15 |
| | |||||
* | fixed eol-style | Fredrik Lundh | 2005-12-14 | 0 | -0/+0 |
| | |||||
* | renamed to _elementtree (for Python 2.5) | Fredrik Lundh | 2005-12-14 | 1 | -4/+4 |
| | |||||
* | copied cElementTree 1.0.4 to Modules | Fredrik Lundh | 2005-12-14 | 1 | -0/+2720 |
| | |||||
* | added cElementTree/_elementtree build stuff and wrapper module | Fredrik Lundh | 2005-12-14 | 2 | -0/+14 |
| | |||||
* | Subversion settings: | Armin Rigo | 2005-12-14 | 5 | -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 Rigo | 2005-12-14 | 1 | -99/+99 |
| | | | | Supresses numerous pages of compiler warnings. | ||||
* | When regenerating files like Python-ast.h, take care that the generated | Armin Rigo | 2005-12-14 | 1 | -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 Lundh | 2005-12-14 | 1 | -1/+1 |
| | |||||
* | - remove leftover directory | Fred Drake | 2005-12-14 | 1 | -0/+20 |
| | | | | - add file I forgot to add in previous commit | ||||
* | move the xml package implementation to xmlcore, and adjust the tests to | Fred Drake | 2005-12-14 | 24 | -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 Lundh | 2005-12-13 | 2 | -8/+10 |
| | | | | added missing API hooks | ||||
* | renamed dispatch -> capi to match other CAPI implementations | Fredrik Lundh | 2005-12-13 | 2 | -27/+27 |
| | | | | (e.g. cStringIO, ucnhash, etc) | ||||
* | added cobject-based expat dispatch mechanism to pyexpat | Fredrik Lundh | 2005-12-13 | 2 | -0/+76 |
| | |||||
* | Fix test not to fail on FreeBSD. Directories work also as data | Hye-Shik Chang | 2005-12-13 | 1 | -0/+4 |
| | | | | files on the platform. | ||||
* | Add a workaround for file.ftell() to raise IOError for ttys. | Hye-Shik Chang | 2005-12-13 | 5 | -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. Kuchling | 2005-12-13 | 1 | -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 +0100 | Fredrik Lundh | 2005-12-12 | 1 | -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 +0100 | Fredrik Lundh | 2005-12-12 | 2 | -0/+28 |
| | | | | added xml.etree documentation stub | ||||
* | skip NIS entries, empty entries, etc | Fredrik Lundh | 2005-12-12 | 2 | -2/+4 |
| | |||||
* | skip nis entries, if not filtered out by getpwall itself | Fredrik Lundh | 2005-12-12 | 1 | -0/+2 |
| | |||||
* | added xml.etree test (enough of the ElementTree selftest to | Fredrik Lundh | 2005-12-12 | 1 | -0/+339 |
| | | | | make sure that all included components work) | ||||
* | r1068@spiff: Fredrik | 2005-12-12 19:50:30 +0100 | Fredrik Lundh | 2005-12-12 | 4 | -2/+19 |
| | | | | assorted xml.etree tweaks | ||||
* | added ElementTree core components to xml.etree | Fredrik Lundh | 2005-12-12 | 4 | -0/+1621 |
| | |||||
* | Bug #1290333: Added a workaround for cjkcodecs' _codecs_cn module | Hye-Shik Chang | 2005-12-12 | 2 | -0/+11 |
| | | | | build problem on AIX. | ||||
* | Remove background image | Andrew M. Kuchling | 2005-12-12 | 1 | -1/+1 |
| | |||||
* | SF #1373150, diffs in working copy after a build | Neal Norwitz | 2005-12-11 | 3 | -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 Norwitz | 2005-12-11 | 1 | -1/+0 |
| | |||||
* | SF #1377897, Bus error in ast | Neal Norwitz | 2005-12-11 | 2 | -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 Norwitz | 2005-12-11 | 1 | -2/+6 |
| | |||||
* | Add const to several API functions that take char *. | Jeremy Hylton | 2005-12-10 | 52 | -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 Chang | 2005-12-10 | 10 | -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 proxy | Andrew M. Kuchling | 2005-12-08 | 1 | -0/+27 |
| | |||||
* | add common usage example | Skip Montanaro | 2005-12-06 | 1 | -0/+17 |
| | |||||
* | Typo in a code example. | Armin Rigo | 2005-12-06 | 1 | -1/+1 |
| | |||||
* | Nobody on python-dev seemed particularly bothered that Hotshot generates half- | Armin Rigo | 2005-12-06 | 1 | -34/+2 |
| | | | | meaningless numbers, but I figured out I would fix that bug anyway. | ||||
* | Simplify logic for handling import * | Neal Norwitz | 2005-12-06 | 1 | -6/+3 |
| | |||||
* | Reduce scope of feature | Neal Norwitz | 2005-12-06 | 1 | -2/+1 |
| | |||||
* | Remove unused macro, check is done elsewhere | Neal Norwitz | 2005-12-06 | 1 | -1/+0 |
| | |||||
* | Remove unnecessary extern variable | Neal Norwitz | 2005-12-05 | 1 | -2/+0 |
| | |||||
* | mwh spotted a copied error message, make it unique (and correct) | Neal Norwitz | 2005-12-05 | 1 | -1/+1 |
| | |||||
* | Fix SF #1373161, r41552 broke test_file on OS X | Neal Norwitz | 2005-12-05 | 1 | -1/+1 |
| | | | | | You apparently can seek(0) on sys.stdin on OS X. But you can't go backwards, so seek(-1). | ||||
* | Fix bug | Michael W. Hudson | 2005-12-05 | 1 | -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 \versionadded | Andrew M. Kuchling | 2005-12-04 | 2 | -0/+4 |
| | |||||
* | [Bug #1281032] Pass encoding from the input source to pyexpat's ParserCreate() | Andrew M. Kuchling | 2005-12-04 | 1 | -2/+3 |
| | |||||
* | [Bug #1164912] Ensure Datetime wrapper class .value attribute is an 8-bit ↵ | Andrew M. Kuchling | 2005-12-04 | 2 | -0/+11 |
| | | | | string, not a Unicode string | ||||
* | [Bug #1041501] Fix example | Andrew M. Kuchling | 2005-12-04 | 1 | -1/+1 |
| |