- 07 Mar, 2003 18 commits
-
-
Tim Peters authored
Evil.
-
Skip Montanaro authored
clear from recent discussions on c.l.py that people are a bit confused about the differences between the old bsddb, the new bssdb, the bsddb3/PyBSDDB package and changes to file formats. Tried to clarify the issues.
-
Barry Warsaw authored
long header lines is now (properly) in the Header class. So we no longer need _split_header() and we'll just defer to Header.encode() when we have a plain string.
-
Barry Warsaw authored
_encode_chunks(): Pass maxlinelen in instead of always using self._maxlinelen, so we can adjust for shorter initial lines. Pass this value through to _max_append(). encode(): Weave maxlinelen through to the _encode_chunks() call. _split_ascii(): When recursively splitting a line on spaces (i.e. lower level syntactic split), don't append the whole returned string. Instead, split it on linejoiners and extend the lines up to the last line (for proper packing). Calculate the linelen based on the last element in the this list.
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
-
Tim Peters authored
a fatal tab/space inconsistency under -tt.
-
Jack Jansen authored
Got PythonStandalone to work again, mainly for debugging purposes (it's much easier to debug GUSI errors in a static build).
-
Barry Warsaw authored
-
Guido van Rossum authored
classes defined by Python code using a class statement) is now exported from object.h as PyHeapTypeObject. (SF patch #696193.)
-
Fred Drake authored
-
Jack Jansen authored
Make tarfile raise ImportError on MacOS9. The pathname handling needs work, and I don't have time to fix it. I'll file a bug report.
-
Jack Jansen authored
-
Jack Jansen authored
- the test was sloppy about filenames: "0-REGTYPE-TEXT" was used where the archive held "/0-REGTYPE-TEXT". - tarfile extracts all files in binary mode, but the test expected to be able to read and compare text files in text mode. Use universal text mode.
-
Jack Jansen authored
-
Guido van Rossum authored
would have required refraining from using string methods -- too painful.) Changed the -s option so that multiple -s options are cumulative.
-
Skip Montanaro authored
-
- 06 Mar, 2003 22 commits
-
-
Raymond Hettinger authored
(contributed by Michael Stone.)
-
Tim Peters authored
-
Jack Jansen authored
resources before reverting to manually reading the resources. Unfortunately there is still a bug in here somewhere: it doesn't work for all applications.
-
Jack Jansen authored
-
Jack Jansen authored
to the Python style, etc.
-
Jack Jansen authored
in stead of manually getting the AETE/AEUT resource. Donated by Donovan Preston. This is his original code (but with the filename changed) checked in for reference only.
-
Neal Norwitz authored
Remove prototype and doc. Backport candidate.
-
Barry Warsaw authored
part itself is longer than maxlen, and we aren't already splitting on whitespace, then we recursively split the part on whitespace and append that to the this list.
-
Barry Warsaw authored
Received headers (first on semis then on whitespace), given by Jason Mastaler.
-
Raymond Hettinger authored
Kevin Jacobs found that the code simplification did not exactly match the semantics of the original. Regression test cases were requested.
-
Guido van Rossum authored
standard deviation. Also add an XXX comment wondering if we should refrain from using itertools.repeat().
-
Barry Warsaw authored
SF # 640110.
-
Barry Warsaw authored
preserve spaces in the encoded/unencoded word boundaries. RFC 2047 is ambiguous here, but most people expect the space to be preserved. Really closes SF bug # 640110.
-
Guido van Rossum authored
-
Sjoerd Mullender authored
-
Barry Warsaw authored
-
Barry Warsaw authored
previous unencoded chunk (e.g. when they appear on separate lines). Closes the 2nd bug in SF #640110 (the first one's already been fixed).
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
Update tests for email 2.5.
-
Barry Warsaw authored
_split(): New implementation of ASCII line splitting which should do a better job and not be subject to the various weird artifacts (bugs) reported. This should also do a better job of higher-level syntactic splits by trying first to split on semis, then commas, then whitespace. Use a Timbot-ly binary search for optimal non-ASCII split points for better packing of header lines. This also lets us remove one recursion call. Don't pass in firstline, but instead pass in the actual line length we're shooting for. Also pass in the list of split characters. encode(): Pass in the list of split characters so applications can have some control over what "higher level syntactic breaks" are. Also, decode_header(): Transform binascii.Errors which can occur when decoding a base64 RFC 2047 header with bogus data, into an email.Errors.HeaderParseError. Closes SF bug #696712.
-
Barry Warsaw authored
Rename a constant.
-