]> granicus.if.org Git - python/log
python
22 years agouse os.path.realpath() instead of os.readlink()
Just van Rossum [Fri, 21 Mar 2003 22:22:19 +0000 (22:22 +0000)]
use os.path.realpath() instead of os.readlink()

22 years agoemail is at version 2.5 now
Barry Warsaw [Fri, 21 Mar 2003 21:14:48 +0000 (21:14 +0000)]
email is at version 2.5 now

22 years agoEmail version 2.5 -- I will now backport this to Python 2.2.3.
Barry Warsaw [Fri, 21 Mar 2003 18:57:59 +0000 (18:57 +0000)]
Email version 2.5 -- I will now backport this to Python 2.2.3.

22 years agoAdd PEP 307 section
Andrew M. Kuchling [Fri, 21 Mar 2003 18:32:43 +0000 (18:32 +0000)]
Add PEP 307 section

22 years agoAdd PEP305 section
Andrew M. Kuchling [Fri, 21 Mar 2003 18:10:12 +0000 (18:10 +0000)]
Add PEP305 section

22 years agoUpdate datetime section a bit
Andrew M. Kuchling [Fri, 21 Mar 2003 17:23:07 +0000 (17:23 +0000)]
Update datetime section a bit

22 years ago_PyFloat_Pack4(): Removed needless call of floor().
Tim Peters [Fri, 21 Mar 2003 17:10:03 +0000 (17:10 +0000)]
_PyFloat_Pack4():  Removed needless call of floor().

22 years agoGive a better error message when a string of the wrong size is
Jack Jansen [Fri, 21 Mar 2003 16:42:36 +0000 (16:42 +0000)]
Give a better error message when a string of the wrong size is
passed to RawBitMap.

22 years agoGenerate all the standard OSA suite packages. Has absolute pathname
Jack Jansen [Fri, 21 Mar 2003 16:30:53 +0000 (16:30 +0000)]
Generate all the standard OSA suite packages. Has absolute pathname
dependencies all over the place, but this is better than nothing, for now.

22 years agoGot rid of the "enum not found" interaction, and added code to allow
Jack Jansen [Fri, 21 Mar 2003 16:28:09 +0000 (16:28 +0000)]
Got rid of the "enum not found" interaction, and added code to allow
overriding the creator signature.

22 years agoAllow gensuitemodule to be run non-interactively, from the OSX command
Jack Jansen [Fri, 21 Mar 2003 16:07:39 +0000 (16:07 +0000)]
Allow gensuitemodule to be run non-interactively, from the OSX command
line. 90% of the work is done, missing enums still cause a dialog to appear.

22 years agoRename variables _seq to _it and seq to it, to emphasize that this is
Guido van Rossum [Fri, 21 Mar 2003 14:54:19 +0000 (14:54 +0000)]
Rename variables _seq to _it and seq to it, to emphasize that this is
an iterator (which can only be used once!).

22 years agoAdded _csv module, and getting rid of macfs.
Jack Jansen [Fri, 21 Mar 2003 12:56:27 +0000 (12:56 +0000)]
Added _csv module, and getting rid of macfs.

22 years agoGetting rid of macfs.
Jack Jansen [Fri, 21 Mar 2003 12:55:38 +0000 (12:55 +0000)]
Getting rid of macfs.

22 years agoAdding unicode filename support to FSRefs broke things on MacOS9. "Fixed" by disablin...
Jack Jansen [Fri, 21 Mar 2003 12:54:24 +0000 (12:54 +0000)]
Adding unicode filename support to FSRefs broke things on MacOS9. "Fixed" by disabling unicode filenames on OS9.

22 years agoPatch 702620 by Donovan Preston: Fix AE inheritance.
Jack Jansen [Fri, 21 Mar 2003 12:04:19 +0000 (12:04 +0000)]
Patch 702620 by Donovan Preston: Fix AE inheritance.

22 years agoonly set $PYTHONHOME when building a standalone app.
Just van Rossum [Fri, 21 Mar 2003 11:32:37 +0000 (11:32 +0000)]
only set $PYTHONHOME when building a standalone app.

22 years agoPatch #681927 from Robin Dunn: add option to add shared libraries or
Just van Rossum [Fri, 21 Mar 2003 09:26:59 +0000 (09:26 +0000)]
Patch #681927 from Robin Dunn: add option to add shared libraries or
frameworks to the bundle.

22 years agoGet locale module to build on aix4
Neal Norwitz [Fri, 21 Mar 2003 03:08:59 +0000 (03:08 +0000)]
Get locale module to build on aix4

22 years agoGet rid of warning on IRIX
Neal Norwitz [Fri, 21 Mar 2003 03:08:31 +0000 (03:08 +0000)]
Get rid of warning on IRIX

22 years agoChanged the DLL base-address assignment for _csv so it no longer
Tim Peters [Fri, 21 Mar 2003 02:02:02 +0000 (02:02 +0000)]
Changed the DLL base-address assignment for _csv so it no longer
obviously overlaps w/ datetime (but may -- no time for more here now).

22 years agoTeach the Windows build & installer about the new csv module + DLL.
Tim Peters [Fri, 21 Mar 2003 01:55:41 +0000 (01:55 +0000)]
Teach the Windows build & installer about the new csv module + DLL.

22 years agoAdd support for os.openpty() on AIX which uses /dev/ptc instead of /dev/ptmx.
Neal Norwitz [Fri, 21 Mar 2003 01:43:31 +0000 (01:43 +0000)]
Add support for os.openpty() on AIX which uses /dev/ptc instead of /dev/ptmx.

22 years ago/dev/ptmx doesn't exist on AIX, they had to be different and use /dev/ptc.
Neal Norwitz [Fri, 21 Mar 2003 01:42:58 +0000 (01:42 +0000)]
/dev/ptmx doesn't exist on AIX, they had to be different and use /dev/ptc.
Otherwise, the 2 devices seem to work the same for allocating a pseudo-tty.

22 years agoPrevent the pty test from hanging by setting an alarm.
Neal Norwitz [Fri, 21 Mar 2003 01:39:14 +0000 (01:39 +0000)]
Prevent the pty test from hanging by setting an alarm.
Currently, test_pty hangs on AIX & HPUX if run after test_openpty.

22 years agoSquash compiler wng about signed-vs-unsigned mismatch.
Tim Peters [Fri, 21 Mar 2003 01:35:28 +0000 (01:35 +0000)]
Squash compiler wng about signed-vs-unsigned mismatch.

22 years agoThe message "*** skipping leakage tests ***" was causing the test to
Guido van Rossum [Fri, 21 Mar 2003 01:15:58 +0000 (01:15 +0000)]
The message "*** skipping leakage tests ***" was causing the test to
fail in a non-debug build.  Only print this in verbose test mode.

22 years agoAdd new CSV module to doc dependancies
Neal Norwitz [Fri, 21 Mar 2003 00:28:30 +0000 (00:28 +0000)]
Add new CSV module to doc dependancies

22 years agoadd several people involved with PEP 305 and the csv package
Skip Montanaro [Thu, 20 Mar 2003 23:41:03 +0000 (23:41 +0000)]
add several people involved with PEP 305 and the csv package

22 years agoadd _csv build line
Skip Montanaro [Thu, 20 Mar 2003 23:37:24 +0000 (23:37 +0000)]
add _csv build line

22 years agoannounce csv package
Skip Montanaro [Thu, 20 Mar 2003 23:36:55 +0000 (23:36 +0000)]
announce csv package

22 years agoinclude the csv package during installation
Skip Montanaro [Thu, 20 Mar 2003 23:35:38 +0000 (23:35 +0000)]
include the csv package during installation

22 years agoinclude csv doc section - Fred, you may want to change the location
Skip Montanaro [Thu, 20 Mar 2003 23:35:00 +0000 (23:35 +0000)]
include csv doc section - Fred, you may want to change the location

22 years agobuild _csv extension module
Skip Montanaro [Thu, 20 Mar 2003 23:34:22 +0000 (23:34 +0000)]
build _csv extension module

22 years agoforgot Cliff's sniffer
Skip Montanaro [Thu, 20 Mar 2003 23:31:24 +0000 (23:31 +0000)]
forgot Cliff's sniffer

22 years agonew CSV file processing module - see PEP 305
Skip Montanaro [Thu, 20 Mar 2003 23:29:12 +0000 (23:29 +0000)]
new CSV file processing module - see PEP 305

22 years ago- added example of using a comparison function with list.sort(), and
Fred Drake [Thu, 20 Mar 2003 22:17:59 +0000 (22:17 +0000)]
- added example of using a comparison function with list.sort(), and
  explained the construction of a [(key, value), ...] list as an
  alternative
- note that support for cmpfunc=None was added in 2.3

22 years agoset $PYTHONHOME in the bootstrap script, for no good reason really,
Just van Rossum [Thu, 20 Mar 2003 21:37:05 +0000 (21:37 +0000)]
set $PYTHONHOME in the bootstrap script, for no good reason really,
except to avoid getpath.c giving unsollicited advice on stderr.

22 years agoNew private API functions _PyFloat_{Pack,Unpack}(4,8}. This is a
Tim Peters [Thu, 20 Mar 2003 20:53:32 +0000 (20:53 +0000)]
New private API functions _PyFloat_{Pack,Unpack}(4,8}.  This is a
refactoring to get all the duplicates of this delicate code out of the
cPickle and struct modules.

22 years agoSF bug 705836: struct.pack of floats in non-native endian order
Tim Peters [Thu, 20 Mar 2003 18:32:13 +0000 (18:32 +0000)]
SF bug 705836: struct.pack of floats in non-native endian order

pack_float, pack_double, save_float:  All the routines for creating
IEEE-format packed representations of floats and doubles simply ignored
that rounding can (in rare cases) propagate out of a long string of
1 bits.  At worst, the end-off carry can (by mistake) interfere with
the exponent value, and then unpacking yields a result wrong by a factor
of 2.  In less severe cases, it can end up losing more low-order bits
than intended, or fail to catch overflow *caused* by rounding.

Bugfix candidate, but I already backported this to 2.2.

In 2.3, this code remains in severe need of refactoring.

22 years ago- apply SF patch #700798: fixes and cleanups for descriptor info
Fred Drake [Thu, 20 Mar 2003 18:17:16 +0000 (18:17 +0000)]
- apply SF patch #700798: fixes and cleanups for descriptor info
- use a TeX "tie" to prevent word-wrapping in "section x.y"-like text

22 years agoadd descriptions of {get,set}defaulttimeout.
Skip Montanaro [Thu, 20 Mar 2003 17:58:12 +0000 (17:58 +0000)]
add descriptions of {get,set}defaulttimeout.

22 years ago- explain what a UNC path is in the makedirs() description, since
Fred Drake [Thu, 20 Mar 2003 17:39:38 +0000 (17:39 +0000)]
- explain what a UNC path is in the makedirs() description, since
  they're actually mentioned there
- remove some extraneous paragraph separations
- \versionadded --> \versionchanged in one place

22 years agoSkip the ioctl test if we can't open /dev/tty. This happens on
Neal Norwitz [Thu, 20 Mar 2003 04:33:16 +0000 (04:33 +0000)]
Skip the ioctl test if we can't open /dev/tty.  This happens on
Solaris (and probably other Unixes) when run without a terminal
(eg, from cron or at).

22 years agoGetCreatorAndType and SetCreatorAndType have been undeprecated. Spotted by
Jack Jansen [Wed, 19 Mar 2003 22:51:42 +0000 (22:51 +0000)]
GetCreatorAndType and SetCreatorAndType have been undeprecated. Spotted by
Just.

22 years agoFixed SF bug #663074. The codec system was using global static
Gustavo Niemeyer [Wed, 19 Mar 2003 00:35:36 +0000 (00:35 +0000)]
Fixed SF bug #663074. The codec system was using global static
variables to store internal data. As a result, any atempts to use the
unicode system with multiple active interpreters, or successive
interpreter executions, would fail.

Now that information is stored into members of the PyInterpreterState
structure.

22 years agoreplace obsolete 'exceptions' implicit by 'warnings'
Just van Rossum [Tue, 18 Mar 2003 18:48:17 +0000 (18:48 +0000)]
replace obsolete 'exceptions' implicit by 'warnings'

22 years agoFix SF bug #697556, test_posix fails: getlogin
Neal Norwitz [Tue, 18 Mar 2003 13:30:14 +0000 (13:30 +0000)]
Fix SF bug #697556, test_posix fails: getlogin

getlogin() can fail for too many reasons, so remove the test

22 years ago_encode_chunks(): Throw out empty chunks.
Barry Warsaw [Mon, 17 Mar 2003 20:36:20 +0000 (20:36 +0000)]
_encode_chunks(): Throw out empty chunks.

22 years agotest_long_lines_with_different_header(): Another test from Jason.
Barry Warsaw [Mon, 17 Mar 2003 20:35:14 +0000 (20:35 +0000)]
test_long_lines_with_different_header(): Another test from Jason.

22 years agoRenamed PyObject_GenericGetIter to PyObject_SelfIter
Raymond Hettinger [Mon, 17 Mar 2003 19:46:11 +0000 (19:46 +0000)]
Renamed PyObject_GenericGetIter to PyObject_SelfIter
to more accurately describe what the function does.

Suggested by Thomas Wouters.

22 years agotest_getaddresses_nasty(): A test for mimelib SF bug # 697641.
Barry Warsaw [Mon, 17 Mar 2003 18:36:37 +0000 (18:36 +0000)]
test_getaddresses_nasty(): A test for mimelib SF bug # 697641.

22 years agogetaddrlist(): Make sure this consumes all the data, and if there is
Barry Warsaw [Mon, 17 Mar 2003 18:35:42 +0000 (18:35 +0000)]
getaddrlist(): Make sure this consumes all the data, and if there is
no address there (perhaps because of invalid characters, it appends
('', '') to the result set.

Closes mimelib SF bug # 697641.

22 years agoTest for UnicodeError instead of ImportError to determine whether
Martin v. Löwis [Mon, 17 Mar 2003 18:30:15 +0000 (18:30 +0000)]
Test for UnicodeError instead of ImportError to determine whether
the test file name can be encoded.

22 years agoGet rid of Mac.pth: plat-mac is now added through the normal mechanism.
Jack Jansen [Mon, 17 Mar 2003 15:45:38 +0000 (15:45 +0000)]
Get rid of Mac.pth: plat-mac is now added through the normal mechanism.

22 years agoAdded a define EXTRAMACHDEPPATH which can be used to add sys.path items
Jack Jansen [Mon, 17 Mar 2003 15:44:10 +0000 (15:44 +0000)]
Added a define EXTRAMACHDEPPATH which can be used to add sys.path items
for specific platforms. Use this to add plat-mac and
plat-mac/lib-scriptpackages on MacOSX. Also tested for not having adverse
effects on Linux, and I think this code isn't used on Windows anyway.

Fixes #661521.

22 years agoAdd Hye-Shik Chang for SF patch/bugreport #703471.
Thomas Wouters [Mon, 17 Mar 2003 11:34:01 +0000 (11:34 +0000)]
Add Hye-Shik Chang for SF patch/bugreport #703471.

22 years agobinascii_a2b_base64: Properly return an empty string if the input was all
Thomas Wouters [Mon, 17 Mar 2003 11:24:29 +0000 (11:24 +0000)]
binascii_a2b_base64: Properly return an empty string if the input was all
    invalid, rather than returning a string of random garbage of the
    estimated result length. Closes SF patch #703471 by Hye-Shik Chang.

Will backport to 2.2-maint (consider it done.)

22 years agoCapturing the exit status for the build process didn't work. Using
Jack Jansen [Mon, 17 Mar 2003 10:54:41 +0000 (10:54 +0000)]
Capturing the exit status for the build process didn't work. Using
popen2.Popen4() makes it work. Fixes #702180.

22 years agoCreated PyObject_GenericGetIter().
Raymond Hettinger [Mon, 17 Mar 2003 08:35:49 +0000 (08:35 +0000)]
Created PyObject_GenericGetIter().
Factors out the common case of returning self.

22 years agoCreated PyObject_GenericGetIter().
Raymond Hettinger [Mon, 17 Mar 2003 08:24:35 +0000 (08:24 +0000)]
Created PyObject_GenericGetIter().
Factors out the common case of returning self.

22 years agoThe MacPython introductory help is now called MacPython Help, and the
Jack Jansen [Sun, 16 Mar 2003 22:09:22 +0000 (22:09 +0000)]
The MacPython introductory help is now called MacPython Help, and the
optional full documentation Python Documentation.

22 years ago- Don't ask for bring-to-front when quitting through an appleevent.
Jack Jansen [Sun, 16 Mar 2003 21:04:50 +0000 (21:04 +0000)]
- Don't ask for bring-to-front when quitting through an appleevent.
- Changed checkbox labels as suggested by Kevin Ollivier.

22 years agoLots of textual changes suggested by Matthew Moelter.
Jack Jansen [Sun, 16 Mar 2003 20:41:58 +0000 (20:41 +0000)]
Lots of textual changes suggested by Matthew Moelter.

22 years agoEliminate data dependency in predict macro.
Raymond Hettinger [Sun, 16 Mar 2003 20:14:44 +0000 (20:14 +0000)]
Eliminate data dependency in predict macro.
Added two predictions:
  GET_ITER --> FOR_ITER
  FOR_ITER --> STORE_FAST or UNPACK_SEQUENCE

Improves timings on pybench and timeit.py. Pystone results are neutral.

22 years agoFix comment and whitespace.
Raymond Hettinger [Sun, 16 Mar 2003 15:41:11 +0000 (15:41 +0000)]
Fix comment and whitespace.

22 years agoIntroduced macros for a simple opcode prediction protocol.
Raymond Hettinger [Sun, 16 Mar 2003 03:11:04 +0000 (03:11 +0000)]
Introduced macros for a simple opcode prediction protocol.

Applied to common cases:
    COMPARE_OP is often followed by a JUMP_IF.
    JUMP_IF is usually followed by POP_TOP.

Shows improved timings on PyStone, PyBench, and specific tests
using timeit.py:
    python timeit.py -s "x=1" "if x==1: pass"
    python timeit.py -s "x=1" "if x==2: pass"
    python timeit.py -s "x=1" "if x: pass"
    python timeit.py -s "x=100" "while x!=1: x-=1"

Potential future candidates:
    GET_ITER predicts FOR_ITER
    FOR_ITER predicts STORE_FAST or UNPACK_SEQUENCE

Also, applied missing goto fast_next_opcode to DUP_TOPX.

22 years agoChange the default number of repetitions to 3, both in the Timer class
Guido van Rossum [Sat, 15 Mar 2003 12:25:00 +0000 (12:25 +0000)]
Change the default number of repetitions to 3, both in the Timer class
(from 10) and in main() (from 1).

Add a -v option that shows the raw times.  Repeating it cranks up the
display precision.

Always use the "best of N" form of output.

22 years agoIf time.tzset doesn't exist, don't test it.
Guido van Rossum [Sat, 15 Mar 2003 12:01:52 +0000 (12:01 +0000)]
If time.tzset doesn't exist, don't test it.

22 years ago- New function time.tzset() provides access to the C library tzet()
Guido van Rossum [Fri, 14 Mar 2003 21:51:36 +0000 (21:51 +0000)]
- New function time.tzset() provides access to the C library tzet()
  function, if supported.  (SF patch #675422, by Stuart Bishop.)

22 years agoImplement some recommendations from Raymond H:
Guido van Rossum [Fri, 14 Mar 2003 17:21:00 +0000 (17:21 +0000)]
Implement some recommendations from Raymond H:

- Make all local variables in the template start with an underscore,
  to prevent name conflicts with the timed code.

- Added a method to print a traceback that shows source lines from the
  expanded template.

- Use that method in main().

22 years agoAccept commas in unquoted attribute values.
Fred Drake [Fri, 14 Mar 2003 16:21:57 +0000 (16:21 +0000)]
Accept commas in unquoted attribute values.
This closes SF patch #669683.

22 years agoSF patch #701907: More use of fast_next_opcode
Raymond Hettinger [Fri, 14 Mar 2003 01:37:42 +0000 (01:37 +0000)]
SF patch #701907: More use of fast_next_opcode

My previous patches should have used fast_next_opcode
in a few places instead of continue.

Also, applied one PyInt_AS_LONG macro in a place where
the type had already been checked.

22 years agoTake out my (long since disabled) POSIX signal mask handling code.
Michael W. Hudson [Thu, 13 Mar 2003 13:56:53 +0000 (13:56 +0000)]
Take out my (long since disabled) POSIX signal mask handling code.

I'm not going to have the time or energy to get this working x-platform
-- anyone who does is welcome to the code!

22 years agoMove setting of ioready 'wait' earlier in call chain, to
Kurt B. Kaiser [Wed, 12 Mar 2003 20:52:00 +0000 (20:52 +0000)]
Move setting of ioready 'wait' earlier in call chain, to
rpc.SocketIO.main() and asyncreturn().  Improve comment.

22 years agoFilter out the depracation warning for macfs.
Jack Jansen [Wed, 12 Mar 2003 13:47:39 +0000 (13:47 +0000)]
Filter out the depracation warning for macfs.

22 years agoSF bug #699237: Tutorial uses omitted slice indices before explaining them
Raymond Hettinger [Wed, 12 Mar 2003 04:46:52 +0000 (04:46 +0000)]
SF bug #699237: Tutorial uses omitted slice indices before explaining them

Moved up the explanation of slice default arguments.

22 years agoSF bug #699934: Obscure error message
Raymond Hettinger [Wed, 12 Mar 2003 04:25:42 +0000 (04:25 +0000)]
SF bug #699934: Obscure error message

Clarify error message for mro conflicts.

22 years agoUpdate the package version number
Barry Warsaw [Wed, 12 Mar 2003 03:43:09 +0000 (03:43 +0000)]
Update the package version number

22 years agotest_whitespace_eater_unicode(): Make this test Python 2.1 compatible.
Barry Warsaw [Wed, 12 Mar 2003 03:14:11 +0000 (03:14 +0000)]
test_whitespace_eater_unicode(): Make this test Python 2.1 compatible.

22 years agoPython 2.1 doesn't have True and False
Barry Warsaw [Wed, 12 Mar 2003 02:54:17 +0000 (02:54 +0000)]
Python 2.1 doesn't have True and False

22 years agoAdd a simple Apple Help book to the framework.
Jack Jansen [Tue, 11 Mar 2003 23:07:08 +0000 (23:07 +0000)]
Add a simple Apple Help book to the framework.

22 years agoAdding MacPython online help. Only the basics are installed, with a
Jack Jansen [Tue, 11 Mar 2003 22:59:26 +0000 (22:59 +0000)]
Adding MacPython online help. Only the basics are installed, with a
placeholder for the full documentation (pointing to the online docs
and explaining you can also install them locally to make them
searchable, etc).

22 years agoM rpc.py
Kurt B. Kaiser [Tue, 11 Mar 2003 22:55:56 +0000 (22:55 +0000)]
M rpc.py
M run.py
1. Clarify that rpc.SocketIO._getresponse() currently blocks on socket.
2. Improve exception handling in subprocess when GUI terminates abruptly.

22 years agoThis file was terribly outdated. The example is still silly (and won't
Jack Jansen [Tue, 11 Mar 2003 21:50:21 +0000 (21:50 +0000)]
This file was terribly outdated. The example is still silly (and won't
work), but at least the rest of the text is okay now.

22 years agoAllow unicode pathnames where FSRefs are expected. Fixes 696253.
Jack Jansen [Tue, 11 Mar 2003 21:48:57 +0000 (21:48 +0000)]
Allow unicode pathnames where FSRefs are expected. Fixes 696253.

22 years agoFix spelling.
Raymond Hettinger [Tue, 11 Mar 2003 21:43:55 +0000 (21:43 +0000)]
Fix spelling.

22 years agoOpen with O_NONBLOCK to avoid hanging on open().
Greg Ward [Tue, 11 Mar 2003 16:53:13 +0000 (16:53 +0000)]
Open with O_NONBLOCK to avoid hanging on open().

22 years agoAdd 'audio' resource.
Guido van Rossum [Tue, 11 Mar 2003 14:46:48 +0000 (14:46 +0000)]
Add 'audio' resource.

ALERT! A month ago or so I made test_ossaudiodev.py require the
'audio' resource, but I didn't make the necessary changes to
regrtest.py.  This means that *nobody* has been testing the oss module
all that time!

22 years agoPatch by Andrew Straw: use urllib2 so proxie access works.
Jack Jansen [Tue, 11 Mar 2003 14:37:19 +0000 (14:37 +0000)]
Patch by Andrew Straw: use urllib2 so proxie access works.

22 years agoAdjust tests for no newline appending to MIMEText.__init__()'s _text
Barry Warsaw [Tue, 11 Mar 2003 05:10:46 +0000 (05:10 +0000)]
Adjust tests for no newline appending to MIMEText.__init__()'s _text
argument.

22 years agobeta 1
Barry Warsaw [Tue, 11 Mar 2003 05:05:21 +0000 (05:05 +0000)]
beta 1

22 years agoAdjust tests for no newline appending to MIMEText.__init__()'s _text
Barry Warsaw [Tue, 11 Mar 2003 05:04:54 +0000 (05:04 +0000)]
Adjust tests for no newline appending to MIMEText.__init__()'s _text
argument.

22 years ago__init__(): Don't add a newline to _text if it doesn't already end in
Barry Warsaw [Tue, 11 Mar 2003 05:04:09 +0000 (05:04 +0000)]
__init__(): Don't add a newline to _text if it doesn't already end in
one.  Possibly controversial.

22 years agoFor email 2.5b1, we no longer add a trailing newline to
Barry Warsaw [Tue, 11 Mar 2003 05:03:25 +0000 (05:03 +0000)]
For email 2.5b1, we no longer add a trailing newline to
MIMEText.__init__()'s _text argument if it doesn't already end in a
newline.  This may be controversial.

22 years agobody_line_iterator(): Accept optional decode argument, pass through to
Barry Warsaw [Tue, 11 Mar 2003 04:41:35 +0000 (04:41 +0000)]
body_line_iterator(): Accept optional decode argument, pass through to
Message.get_payload().

22 years agobody_line_iterator() now takes a decode argument.
Barry Warsaw [Tue, 11 Mar 2003 04:40:14 +0000 (04:40 +0000)]
body_line_iterator() now takes a decode argument.

22 years agoget_payload(): Teach this about various uunencoded
Barry Warsaw [Tue, 11 Mar 2003 04:33:30 +0000 (04:33 +0000)]
get_payload(): Teach this about various uunencoded
Content-Transfer-Encodings

22 years agotest_get_decoded_uu_payload(): A new test for
Barry Warsaw [Tue, 11 Mar 2003 04:31:37 +0000 (04:31 +0000)]
test_get_decoded_uu_payload(): A new test for
Content-Transfer-Encoding: x-uuencode

22 years agoM PyShell.py
Kurt B. Kaiser [Mon, 10 Mar 2003 20:42:24 +0000 (20:42 +0000)]
M PyShell.py
M rpc.py
Improve exception handing if peer process has terminated.