Georg Brandl
bffb0bc064
In stdlib, use hashlib instead of deprecated md5 and sha modules.
2006-04-30 08:57:35 +00:00
Ronald Oussoren
6c1074888e
This patches fixes a number of byteorder problems in MacOSX specific code.
2006-04-17 13:40:08 +00:00
Neal Norwitz
8142cb6f20
Damn another occurrence of using as as a keywordf
2006-03-22 07:13:30 +00:00
Jack Jansen
de540e2288
Got rid of byte-order dependencies.
2006-02-23 14:54:30 +00:00
Georg Brandl
08c02dbb85
[ 1243081 ] repair typos
2005-07-22 18:39:19 +00:00
Tim Peters
5a9fb3c415
Whitespace normalization.
2005-01-07 16:01:32 +00:00
Jack Jansen
1dd087cbad
Allow relative URLs for included databases and packages.
2005-01-07 13:43:31 +00:00
Jack Jansen
af304a6c16
- Added an "installer" flavor, which uses the "open" command to install
...
something (overridable through Install-command entry)
- Hidden status is now determined by flavor == hidden, not by
missing Download-URL. Hidden packages behave like installer packages.
- Made some error messages a bit more understandable.
Because there's new functionality the version has been upped to 0.5.
2005-01-03 15:44:18 +00:00
Jack Jansen
702af67d47
- getDefaultDatabase wasn't listed in __all__.
...
- using a different database for non-final releases should only be done
for X.Y.0. Non-final micro releases can use the default database just fine,
as they are required to be backward compatible.
2004-12-28 21:33:27 +00:00
Jack Jansen
c77f6dfd92
Fix for #1091468 : DESTROOTed frameworkinstalls fail. Added a --destroot
...
option to various tools, and do the right thing when we're doing a destroot
install.
Will backport to 2.4 and 2.3.
2004-12-27 15:51:03 +00:00
Just van Rossum
2dae7646c3
On second thought: "Errors should never pass silently", so barf when a
...
string contains control chars that are illegal for XML
2004-11-12 09:36:12 +00:00
Just van Rossum
b84330d368
- \f is not a valid XML character
...
- reformatted regex pattern, use r"" consistently
2004-11-12 08:14:49 +00:00
Just van Rossum
26e811abd5
reordered a couple of things
2004-11-12 08:02:35 +00:00
Just van Rossum
1f74ef0fa3
Made <data> output match Apple's exactly. To do that I had to add a custom
...
version of base64.encodestring() so I could control the line length of the
base64 output.
2004-10-26 10:30:55 +00:00
Just van Rossum
8b8decea21
also escape '>', to closer match Apple's plist output
2004-10-26 10:11:00 +00:00
Just van Rossum
368c0b22f8
Deprecating Dict class; going through a few hoops to get the warnings right.
2004-10-26 07:38:16 +00:00
Just van Rossum
7c9448755b
- Removed Date class. We don't really need it for b/w compatibility since
...
a) the functionality depended on PyXML before and b) hardly worked to
begin with.
- Instead, output and require upon input datetime.datetime objects.
2004-10-26 07:20:26 +00:00
Just van Rossum
c6fdd1b398
- added two more convenience functions: readPlistFromString() and
...
writePlistToString()
- use these two in the resource functions.
- Tweaked module doc string.
2004-10-26 06:50:50 +00:00
Just van Rossum
15cf4f0100
Updated doc strings.
2004-10-25 16:10:53 +00:00
Just van Rossum
86ca902eed
Deprecate Plist class
2004-10-25 16:09:10 +00:00
Just van Rossum
10e52dbe28
Removed superfluous **kwargs constructor cruft: this class predates
...
the dict(**kwargs) feature.
2004-10-25 16:04:20 +00:00
Just van Rossum
95387a1895
Patch from Bob Ippolito, slighly edited:
...
[ 1052399 ] plistlib: add plst resource functionality, fix bugs
2004-10-25 15:10:42 +00:00
Just van Rossum
2cdd608601
removed 2.2 support
2004-10-02 14:06:56 +00:00
Just van Rossum
4c3d054d3d
Which reminds me, I've had a much improved plistlib.py lying around for
...
ages. The main improvements are:
- a much more convenient API: readPlist() and writePlist()
- support non-dict top-level objects
2004-10-02 08:40:47 +00:00
Tim Peters
182b5aca27
Whitespace normalization, via reindent.py.
2004-07-18 06:16:08 +00:00