- 06 Mar, 2003 14 commits
-
-
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.
-
Barry Warsaw authored
Remove a senseless comment.
-
Barry Warsaw authored
_handle_multipart(): Ensure that if the preamble exists but does not end in a newline, a newline is still added. Without this, the boundary separator will end up on the preamble line, breaking the MIME structure. _make_boundary(): Handle differences in the decimal point character based on the locale.
-
Barry Warsaw authored
Charset: Alias __repr__ to __str__ for debugging. header_encode(): When calling quopriMIME.header_encode(), set maxlinelen=None so that the lower level function doesn't (also) try to wrap/fold the line.
-
Barry Warsaw authored
_max_append(): Change the comparison so that the new string is concatenated if it's less than or equal to the max length. header_encode(): Allow for maxlinelen == None to mean, don't do any line splitting. This is because this module is mostly used by higher level abstractions (Header.py) which already ensures line lengths. We do this in a cheapo way by setting the max_encoding to some insanely <100k wink> large number.
-
Guido van Rossum authored
versions. Add -h/--help option to print doc string.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
- 05 Mar, 2003 14 commits
-
-
Guido van Rossum authored
Usable from the command line or from a program.
-
Jack Jansen authored
could be responsible for various unexplained problems with Python/OSA interaction over the years): - Enum values were passed as their string counterparts. Most applications don't seem to mind this, but some do (InDesign). - Attributes have never worked (!), as they were incorrectly passed as parameters. Apparently nobody uses them much:-)
-
Fred Drake authored
-
Just van Rossum authored
in packages correctly.
-
Jack Jansen authored
by putting the help book in an array. Somehow the fact that Python.app (and, hence, pythonw) got an automatic help menu messed up Tkinter's handling of the help menu.
-
Jack Jansen authored
-
Just van Rossum authored
- The applet logic has been replaced to bundlebuilder's bootstrap script - Due to Apple being extremely string about argv[0], we need a way to specify the actual executable name for use with sys.executable. See the comment embedded in the code.
-
Martin v. Löwis authored
and not as a side effect of setlocale. Expose it as sys.getfilesystemencoding. Adjust test case.
-
Jack Jansen authored
-
Jack Jansen authored
AppBuilder, and set the default type to BNDL (overridden in AppBuilder). This surfaced when trying to build help bundles.
-
Michael W. Hudson authored
out a month's worth of checkins to libstdtypes.tex (including my extended slice docs). I think this checkin merges them all back in, but if you make one of these checkins: revision 1.97 date: 2002/06/14 00:27:13; author: nnorwitz Use \code{True} (or False) instead of true/false. Not sure if code is correct, but that is what's in this file. I've seen \constant{True} in other places. ---------------------------- revision 1.95 date: 2002/05/22 20:39:43; author: bwarsaw Jack's documentation for the U mode character on the file() constructor, vetted by Barry. ---------------------------- revision 1.94 date: 2002/05/21 18:19:15; author: rhettinger Patch 543387. Document deprecation of complex %, //,and divmod(). ---------------------------- revision 1.93 date: 2002/05/15 15:45:25; author: rhettinger Added missing index entries for mapping methods. Closes patch #548693. some checking may be in order.
-
Michael W. Hudson authored
checking them in? Oh well, this fixes various obvious mistakes and changes a subsubsubsection (which doesn't exist) into a subsubsection (which does). I'm not sure this matches the intent, but it seems to read OK on a quick skim.
-
Martin v. Löwis authored
-
Jack Jansen authored
-
- 04 Mar, 2003 9 commits
-
-
Andrew M. Kuchling authored
-
Just van Rossum authored
fails, as discussed in patch #683592.
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Jack Jansen authored
of the older (and, according to some manpages, deprecated) "test -h".
-
Kurt B. Kaiser authored
breakpoints, which are not implemented in the shell
-
Kurt B. Kaiser authored
Modify subprocess to print a reasonable message upon receiving a 'quit' or 'exit'
-
Tim Peters authored
-
- 03 Mar, 2003 3 commits
-
-
Neal Norwitz authored
in addition to createfilehandler and creaetetimerhandler.
-
Andrew M. Kuchling authored
This patch makes it work again.
-
Kurt B. Kaiser authored
Eliminate extra blank line in shell output. Caused by stdout not being flushed upon completion of subprocess' Executive.runcode() when user code ends by outputting an unterminated line, e.g. print "test",
-