- 06 Mar, 2003 5 commits
-
-
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 12 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",
-
Just van Rossum authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Just van Rossum authored
- Implement the behavior as specified in PEP 277, meaning os.listdir() will only return unicode strings if it is _called_ with a unicode argument. - And then return only unicode, don't attempt to convert to ASCII. - Don't switch on Py_FileSystemDefaultEncoding, but simply use the default encoding if Py_FileSystemDefaultEncoding is NULL. This means os.listdir() can now raise UnicodeDecodeError if the default encoding can't represent the directory entry. (This seems better than silcencing the error and fall back to a byte string.) - Attempted to decribe the above in Doc/lib/libos.tex. - Reworded the Misc/NEWS items to reflect the current situation. This checkin also fixes bug #696261, which was due to os.listdir() not using Py_FileSystemDefaultEncoding, like all file system calls are supposed to.
-
Ken Manheimer authored
introduced when shifting around some code, and added some redundancy to reduce chances of hitting the wrong source code. (This is experimental - it will improve the accuracy, but will reduce the ability of the user to deliberately select the buffer they want the buffer grubbing stuff to find. I think the accuracy improvement will be worth it, but am not sure, so may remove this.)
-
Jack Jansen authored
-
Jack Jansen authored
because we have no easy way to convert the python encoding string to a CF encoding parameter.
-
Jack Jansen authored
strings to CF strings. Fixes 682215.
-
Michael W. Hudson authored
[ 555817 ] Flawed fcntl.ioctl implementation. with my patch that allows for an array to be mutated when passed as the buffer argument to ioctl() (details complicated by backwards compatibility considerations -- read the docs!).
-