Fredrik Lundh
b80775ecf1
Fixed reference counting error when using the entity dictionary
...
(reported by Chris Olds). Backported from the 1.0.6 development
branch.
2005-12-17 08:33:21 +00:00
Hye-Shik Chang
835b243c71
Bug #1379994 : Fix *unicode_escape codecs to encode r'\' as r'\\'
...
just like string codecs.
2005-12-17 04:38:31 +00:00
Tim Peters
e3547fd2f7
More text about the pragmatic significance of hashlib.
2005-12-16 23:13:57 +00:00
Brett Cannon
3cbd0380f3
Add the missing mention of the hashlib module.
2005-12-16 22:49:23 +00:00
Fredrik Lundh
8911ca3d70
added encoding tests to ElementTree/cElementTree tests
2005-12-16 22:07:17 +00:00
Fredrik Lundh
6d52b55c56
updating to cElementTree 1.0.5 (step 3 of 3)
2005-12-16 22:06:43 +00:00
Fredrik Lundh
8c8836b406
updating to cElementTree 1.0.5 (step 2 of 3)
2005-12-16 22:06:06 +00:00
Fredrik Lundh
7cfe6eee0d
updating to cElementTree 1.0.5
2005-12-16 22:05:40 +00:00
Georg Brandl
6ee6952eb2
Patch #1360443 : Make SimpleHTTPServer display unencoded directory names.
2005-12-16 19:36:08 +00:00
Georg Brandl
08caadcce3
Patch #1377848 : typo in pyexpat docs
2005-12-16 19:23:33 +00:00
Georg Brandl
071ae4cfca
Patch #1376914 : traceback.format_exc() has no "file" argument
2005-12-16 19:21:05 +00:00
Trent Mick
ea2625be0f
Set props on _elementtree project file as per pyexpat.vcproj.
2005-12-15 22:16:49 +00:00
Trent Mick
e97e5a7227
Add build support for _elementtree on Windows.
2005-12-15 22:08:46 +00:00
Georg Brandl
07f159de86
Bug #1378455 : a problem of urllib using open_local_file
2005-12-15 21:59:00 +00:00
Georg Brandl
6ee339109f
Remove reference to the "t" open() mode as it is platform dependent.
2005-12-15 21:34:29 +00:00
Walter Dörwald
3b287702dd
Add two tests for the script interface.
2005-12-15 20:17:20 +00:00
Fredrik Lundh
9235ea4f26
added cElementTree tests
2005-12-15 18:41:22 +00:00
Neal Norwitz
6f0d479c78
Fix an int/long mismatch identified here:
...
http://www.tortall.net/mu/blog/2005/12/01
Pointed out from SF #1365916 .
Backport candidate.
2005-12-15 06:40:36 +00:00
Neal Norwitz
a716eabca7
Revert r41662 and the part of 41552 that originally caused the problem
...
(calling ftell(stdin) doesn't seem defined). So we won't test errors
from ftell unless we can do it portably.
2005-12-15 05:25:09 +00:00
Walter Dörwald
b197543680
If quopri uses the implementations from binascii do the tests a second time
...
using the Python implementations of the functions. This imcreases code
coverage and makes sure that both implementations do the same thing.
2005-12-14 23:32:22 +00:00
Fredrik Lundh
c97ba7064e
added PSG licensing blurb
2005-12-14 22:30:36 +00:00
Fredrik Lundh
63168a52f4
added PSF licensing blurbs to relevant files
2005-12-14 22:29:34 +00:00
Fredrik Lundh
16fd9026d9
fixed eol-style
2005-12-14 21:47:54 +00:00
Fredrik Lundh
14b4feac6a
renamed to _elementtree (for Python 2.5)
2005-12-14 21:46:41 +00:00
Fredrik Lundh
0c53bfd374
copied cElementTree 1.0.4 to Modules
2005-12-14 21:45:58 +00:00
Fredrik Lundh
4c86ec651e
added cElementTree/_elementtree build stuff and wrapper module
2005-12-14 18:46:16 +00:00
Armin Rigo
9ed7306031
Subversion settings:
...
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.
2005-12-14 18:10:45 +00:00
Armin Rigo
5c8cc2543b
Added the 'ULL' prefix to the unsigned long long literal constants.
...
Supresses numerous pages of compiler warnings.
2005-12-14 18:05:44 +00:00
Armin Rigo
6b1793ff88
When regenerating files like Python-ast.h, take care that the generated
...
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.
2005-12-14 18:05:14 +00:00
Fredrik Lundh
d39683396b
fixed installation of xmlcore libraries (including xmlcore.etree)
2005-12-14 17:36:36 +00:00
Fred Drake
7316ad224d
- remove leftover directory
...
- add file I forgot to add in previous commit
2005-12-14 06:26:11 +00:00
Fred Drake
c6730e1772
move the xml package implementation to xmlcore, and adjust the tests to
...
test that package, not the xmlcore/PyXML switcheroo fiasco in the xml
module/package
2005-12-14 06:20:35 +00:00
Fredrik Lundh
cc117dbb9d
moved magic into structure (mainly to simplify the client code)
...
added missing API hooks
2005-12-13 21:55:36 +00:00
Fredrik Lundh
d7a42881db
renamed dispatch -> capi to match other CAPI implementations
...
(e.g. cStringIO, ucnhash, etc)
2005-12-13 20:43:04 +00:00
Fredrik Lundh
c3345040df
added cobject-based expat dispatch mechanism to pyexpat
2005-12-13 19:49:55 +00:00
Hye-Shik Chang
e2f8e3c14f
Fix test not to fail on FreeBSD. Directories work also as data
...
files on the platform.
2005-12-13 17:06:45 +00:00
Hye-Shik Chang
e237d50390
Add a workaround for file.ftell() to raise IOError for ttys.
...
ftell(3) on BSD doesn't set errno even for ttys and returns useless
values.
2005-12-13 16:44:02 +00:00
Andrew M. Kuchling
50f8169fb6
From a suggestion on c.l.py: modernize the introduction to the tutorial.
...
* 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.
2005-12-13 15:49:37 +00:00
Fredrik Lundh
af57fa13f4
r1077@spiff: Fredrik | 2005-12-12 22:58:44 +0100
...
make sure xml.etree can be used even if PyXML is present
(solution proposed by Philip J. Eby)
2005-12-12 21:59:52 +00:00
Fredrik Lundh
245c619e86
r1076@spiff: Fredrik | 2005-12-12 22:32:28 +0100
...
added xml.etree documentation stub
2005-12-12 21:59:44 +00:00
Fredrik Lundh
0e664e15ef
skip NIS entries, empty entries, etc
2005-12-12 20:53:40 +00:00
Fredrik Lundh
80768f8635
skip nis entries, if not filtered out by getpwall itself
2005-12-12 20:46:31 +00:00
Fredrik Lundh
2a60d9ac2d
added xml.etree test (enough of the ElementTree selftest to
...
make sure that all included components work)
2005-12-12 20:19:44 +00:00
Fredrik Lundh
7e0aef0e75
r1068@spiff: Fredrik | 2005-12-12 19:50:30 +0100
...
assorted xml.etree tweaks
2005-12-12 18:54:55 +00:00
Fredrik Lundh
075854fcc5
added ElementTree core components to xml.etree
2005-12-12 15:10:44 +00:00
Hye-Shik Chang
c5c57e6d98
Bug #1290333 : Added a workaround for cjkcodecs' _codecs_cn module
...
build problem on AIX.
2005-12-12 11:48:32 +00:00
Andrew M. Kuchling
e569fb5d71
Remove background image
2005-12-12 02:02:24 +00:00
Neal Norwitz
897ff817d5
SF #1373150 , diffs in working copy after a build
...
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.
2005-12-11 21:18:22 +00:00
Neal Norwitz
ba2fa637d6
en_sit will be freed when en is DECREF'd. Don't double free.
2005-12-11 20:55:10 +00:00
Neal Norwitz
f8d403dd97
SF #1377897 , Bus error in ast
...
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.
2005-12-11 20:12:40 +00:00