]> granicus.if.org Git - python/log
python
20 years agoFix copy & paste error in comments.
Walter Dörwald [Tue, 14 Dec 2004 21:28:07 +0000 (21:28 +0000)]
Fix copy & paste error in comments.

20 years agoSF bug #1084457: ossaudiodev no longer undocumented
Raymond Hettinger [Tue, 14 Dec 2004 07:19:22 +0000 (07:19 +0000)]
SF bug #1084457:  ossaudiodev no longer undocumented

20 years agoCorrect mapping of Python codec name to C encoding name for UTF-8 (the C lib
Marc-André Lemburg [Mon, 13 Dec 2004 19:56:01 +0000 (19:56 +0000)]
Correct mapping of Python codec name to C encoding name for UTF-8 (the C lib
doesn't seem to like "UTF-8").

Removed the UTF-8 aliases since these should be available for all locales.

20 years agoCheck in missing png version of pyfav.gif.
Johannes Gijsbers [Mon, 13 Dec 2004 13:07:59 +0000 (13:07 +0000)]
Check in missing png version of pyfav.gif.

20 years agorewrote the bsddb module BerkeleyDB library and include file locating
Gregory P. Smith [Mon, 13 Dec 2004 12:01:24 +0000 (12:01 +0000)]
rewrote the bsddb module BerkeleyDB library and include file locating
code.  This version is much cleaner and makes a proper attempt at
pairing up the correct header file and library.

20 years agonote for amk
Anthony Baxter [Mon, 13 Dec 2004 11:39:33 +0000 (11:39 +0000)]
note for amk

20 years agothe bsddb module now also works with BerkeleyDB 4.3.
Gregory P. Smith [Mon, 13 Dec 2004 09:57:32 +0000 (09:57 +0000)]
the bsddb module now also works with BerkeleyDB 4.3.

20 years ago* Adds support for building against BerkeleyDB 4.3.21
Gregory P. Smith [Mon, 13 Dec 2004 09:51:23 +0000 (09:51 +0000)]
* Adds support for building against BerkeleyDB 4.3.21
* bumped the module version number up to 4.3.0

20 years agoPatch #1080684: typo repair. Thanks George Yoshida!
Johannes Gijsbers [Sun, 12 Dec 2004 16:52:40 +0000 (16:52 +0000)]
Patch #1080684: typo repair. Thanks George Yoshida!

- Doc/lib/libbase64.tex
s/algorith/algorithm

- Doc/lib/libpickle.tex
s/interchangable/interchangeable

- Doc/lib/libxmlrpclib.tex
s/{_cmp__}/{__cmp__}

leading underscore needs to be double, not single.

- Doc/ref/ref6.tex
0/1 => False/True

20 years agoPatch #1011890: fix inspect.getsource breaking with line-continuation &
Johannes Gijsbers [Sun, 12 Dec 2004 16:46:28 +0000 (16:46 +0000)]
Patch #1011890: fix inspect.getsource breaking with line-continuation &
more. Thanks to Simon Percivall!

The patch makes changes to inspect.py in two places:

* the pattern to match against functions at line 436 is
modified: lambdas should be matched even if not
preceded by whitespace, as long as "lambda" isn't part
of another word.

* the BlockFinder class is heavily modified. Changes are:
- checking for "def", "class" or "lambda" names
before setting self.started to True. Then checking the
same line for word characters after the colon (if the
colon is on that line). If so, and the line does not
end with a line continuation marker, raise EndOfBlock
immediately.
- adding self.passline to show that the line is to be
included and no more checking is necessary on that
line. Since a NEWLINE token is not generated when a
line continuation marker exists, this allows getsource
to continue with these functions even if the following
line would not be indented.

Also add a bunch of
'quite-unlikely-to-occur-in-real-life-but-working-anyway' tests.

20 years agoPatch #736962: port test_inspect to unittest. As part of this, move out
Johannes Gijsbers [Sun, 12 Dec 2004 16:20:22 +0000 (16:20 +0000)]
Patch #736962: port test_inspect to unittest. As part of this, move out
the fodder modules to separate files to get rid of the imp.load_source()
trickery.

20 years agoUse os.geteuid() for checking whether we are root, as suggested by
Johannes Gijsbers [Sun, 12 Dec 2004 15:52:57 +0000 (15:52 +0000)]
Use os.geteuid() for checking whether we are root, as suggested by
Michael Hudson.

20 years agoReplace VB with VC.
Martin v. Löwis [Sun, 12 Dec 2004 15:29:21 +0000 (15:29 +0000)]
Replace VB with VC.

20 years agoOS/2 specific fixes related to SF bug # 1003471.
Andrew MacIntyre [Sun, 12 Dec 2004 08:30:51 +0000 (08:30 +0000)]
OS/2 specific fixes related to SF bug # 1003471.

Also revise a related function to minimise file handle/pipe leakage
and improve reliability.

20 years agoOS/2 specific fixes related to SF bug # 1003471
Andrew MacIntyre [Sun, 12 Dec 2004 08:28:11 +0000 (08:28 +0000)]
OS/2 specific fixes related to SF bug # 1003471

20 years agoSetting textwrap.TextWrapper().expand_tabs to True calls expandtabs, not
Brett Cannon [Sat, 11 Dec 2004 09:53:52 +0000 (09:53 +0000)]
Setting textwrap.TextWrapper().expand_tabs to True calls expandtabs, not
expand_tabs, on the object being wrapped.

20 years agoSF bug #1083202L UnboundLocalError raised by atexit module
Raymond Hettinger [Sat, 11 Dec 2004 02:49:40 +0000 (02:49 +0000)]
SF bug #1083202L  UnboundLocalError raised by atexit module

The sys module could be called before being imported.

20 years agolocale.py now uses an updated locale alias table (built using
Marc-André Lemburg [Fri, 10 Dec 2004 21:58:14 +0000 (21:58 +0000)]
locale.py now uses an updated locale alias table (built using
Tools/i18n/makelocalealias.py, a tool to parse the X11 locale
alias file); the encoding lookup was enhanced to use Python's
encoding alias table

As sige-effect, this fixes SF bug [ 1080864 ] locale.py doesn't recognize
valid locale setting.

20 years agoRearranged mappings to value sorting order.
Marc-André Lemburg [Fri, 10 Dec 2004 21:54:35 +0000 (21:54 +0000)]
Rearranged mappings to value sorting order.

20 years agoSF bug #1082944: Incorrect docs for PyUnicode_TailMatch
Raymond Hettinger [Fri, 10 Dec 2004 17:12:32 +0000 (17:12 +0000)]
SF bug #1082944:  Incorrect docs for PyUnicode_TailMatch

* Note correct return type is int.
* Note that -1 returned on failure.

20 years agoWhitespace normalization.
Tim Peters [Tue, 7 Dec 2004 21:17:46 +0000 (21:17 +0000)]
Whitespace normalization.

20 years agoremove the other half of one of the regsub-related comments; the other
Fred Drake [Tue, 7 Dec 2004 14:08:24 +0000 (14:08 +0000)]
remove the other half of one of the regsub-related comments; the other
half was removed in revision 1.25

20 years agoCombined several entries.
Raymond Hettinger [Tue, 7 Dec 2004 12:02:02 +0000 (12:02 +0000)]
Combined several entries.

20 years agoRemove reference to old pickle feature.
Raymond Hettinger [Tue, 7 Dec 2004 08:26:10 +0000 (08:26 +0000)]
Remove reference to old pickle feature.

20 years agoRemove outdated references to the regsub module.
Raymond Hettinger [Tue, 7 Dec 2004 07:55:07 +0000 (07:55 +0000)]
Remove outdated references to the regsub module.

20 years agoEliminate the deprecated option to return None instead of a tuple of arguments in...
Raymond Hettinger [Tue, 7 Dec 2004 07:05:57 +0000 (07:05 +0000)]
Eliminate the deprecated option to return None instead of a tuple of arguments in __reduce__().

20 years agoChange code in setup.py for parsing LDFLAGS and CPPFLAGS to use optparse
Brett Cannon [Tue, 7 Dec 2004 03:25:18 +0000 (03:25 +0000)]
Change code in setup.py for parsing LDFLAGS and CPPFLAGS to use optparse
instead of getopt.  Required making use of gettext._ as optional (optparse
changed OK'ed by Greg Ward in private email).

20 years agosetup.py now uses the library directories specified in LDFLAGS (``-L``
Brett Cannon [Tue, 7 Dec 2004 00:42:59 +0000 (00:42 +0000)]
setup.py now uses the library directories specified in LDFLAGS (``-L``
directories) and the include directories specified in CPPFLAGS (``-I``
directories) for compiling the extension modules.

This has led to the core being compiled with the values in the shell's
CPPFLAGS.  It has also removed the need for special casing to use Fink and
DarwinPorts under darwin since the needed directories can now be specified in
LDFLAGS and CPPFLAGS (e.g., DarwinPorts users can now do
``LDFLAGS=-L/opt/local/lib; CPPFLAGS=-I/opt/local/include; ./configure`` for
everything to work properly).

Parsing the values in the environment variables is done with getopt.  While optparse
would have been a nicer solution it cannot be used because of dependency issues
at execution time; optparse uses gettext which uses struct which will not have
been compiled when the code is imported.  If optparse ever makes its
importation of gettext optional by catching ImportError and setting _() to an
identity function then it can be used.

20 years agoPut parentheses around the assignment in the 'while' loop conditional
Brett Cannon [Tue, 7 Dec 2004 00:25:35 +0000 (00:25 +0000)]
Put parentheses around the assignment in the 'while' loop conditional
expression in min_max() to shut gcc up.

20 years agoPatch #1075928: AUTH PLAIN in smtplib.
Johannes Gijsbers [Mon, 6 Dec 2004 21:25:26 +0000 (21:25 +0000)]
Patch #1075928: AUTH PLAIN in smtplib.

smtplib can not log in to some server using command AUTH PLAIN, it sends
``user\0user\0pass'' to the server, but ``\0user\0pass'' has better
compatibility.

20 years agoSF bug #1076467: don't run test_on_error as root, as the permission
Johannes Gijsbers [Mon, 6 Dec 2004 20:50:15 +0000 (20:50 +0000)]
SF bug #1076467: don't run test_on_error as root, as the permission
errors don't get provoked that way. Also add a bunch of cross-references
to bugs.

20 years agoRemove deprecated xmllib from inclusion in the docs.
Raymond Hettinger [Mon, 6 Dec 2004 12:29:56 +0000 (12:29 +0000)]
Remove deprecated xmllib from inclusion in the docs.

20 years agoFix for SF bug #947894: calendar.weekheader() undocumented
Walter Dörwald [Mon, 6 Dec 2004 07:58:14 +0000 (07:58 +0000)]
Fix for SF bug #947894: calendar.weekheader() undocumented

20 years agoHave test_mkalias_relative check that sys.prefix already exists; otherwise test
Brett Cannon [Mon, 6 Dec 2004 06:08:59 +0000 (06:08 +0000)]
Have test_mkalias_relative check that sys.prefix already exists; otherwise test
is pointless.

Also add a note to the docs for the 'test' package that test cases should check
first that any conditions needed in the operating system are met before having
a test run.

Closes bug #1077302.  THanks, Ian Holsman.

20 years agoVery minor grammatical fix and removal of a tab.
Brett Cannon [Mon, 6 Dec 2004 06:01:13 +0000 (06:01 +0000)]
Very minor grammatical fix and removal of a tab.

20 years agoChanged signature of call function to avoid confusion: this 'args' is not the same...
Peter Astrand [Sun, 5 Dec 2004 20:15:36 +0000 (20:15 +0000)]
Changed signature of call function to avoid confusion: this 'args' is not the same as the one to the Popen constructor

20 years agoRemoved deprecated tzparse module.
Raymond Hettinger [Sun, 5 Dec 2004 11:38:18 +0000 (11:38 +0000)]
Removed deprecated tzparse module.

20 years agoAdded optional None arguments to itertools.islice().
Raymond Hettinger [Sun, 5 Dec 2004 09:25:51 +0000 (09:25 +0000)]
Added optional None arguments to itertools.islice().

20 years agoremove dependencies that are no longer used for the library reference
Fred Drake [Sun, 5 Dec 2004 07:00:30 +0000 (07:00 +0000)]
remove dependencies that are no longer used for the library reference

20 years agoRemove the deprecated statcache module.
Raymond Hettinger [Sun, 5 Dec 2004 05:29:51 +0000 (05:29 +0000)]
Remove the deprecated statcache module.

20 years agoRemoved the deprecated bin parameter from the pickle module.
Raymond Hettinger [Sun, 5 Dec 2004 05:20:42 +0000 (05:20 +0000)]
Removed the deprecated bin parameter from the pickle module.

20 years agoRemove the deprecated statcache module.
Raymond Hettinger [Sun, 5 Dec 2004 04:55:14 +0000 (04:55 +0000)]
Remove the deprecated statcache module.

20 years agoRemoved deprecated method arguments from the shelve module.
Raymond Hettinger [Sun, 5 Dec 2004 03:58:17 +0000 (03:58 +0000)]
Removed deprecated method arguments from the shelve module.

20 years agoFixes for SF #1076485, which I'll apply to the CVS head too. The problem was
Barry Warsaw [Sun, 5 Dec 2004 03:45:42 +0000 (03:45 +0000)]
Fixes for SF #1076485, which I'll apply to the CVS head too.  The problem was
caused by a self._input.readline() call that wasn't checking for the
NeedsMoreData marker.

msg_43.txt contains a message that illustrates the problem, when
email.message_from_*() is called.  That interface uses the Parser API, which
splits reads into 8192 byte chunks.  It so happens that for the test message,
the 8192 chunk falls inside a message/delivery-status, which is where in the
FeedParser the readline() call was that didn't check for NeedsMoreData.

I also added an assert to unreadline() so it'll be more evident if an attempt
to push back NeedsMoreData ever happens again.

Bump the email package version number.

20 years agoRemoved deprecated method from pstats.
Raymond Hettinger [Sun, 5 Dec 2004 03:28:00 +0000 (03:28 +0000)]
Removed deprecated method from pstats.

20 years agoRemoved deprecated use_statcache argument.
Raymond Hettinger [Sun, 5 Dec 2004 01:58:09 +0000 (01:58 +0000)]
Removed deprecated use_statcache argument.

20 years agoSF bug #1078905: Docs for unittest run() methods are misleading
Raymond Hettinger [Sat, 4 Dec 2004 21:21:53 +0000 (21:21 +0000)]
SF bug #1078905: Docs for unittest run() methods are misleading

20 years agoFor the benefit of historians . . .
Raymond Hettinger [Sat, 4 Dec 2004 20:07:30 +0000 (20:07 +0000)]
For the benefit of historians . . .

20 years agoRemove the deprecated whrandom module.
Raymond Hettinger [Sat, 4 Dec 2004 10:50:51 +0000 (10:50 +0000)]
Remove the deprecated whrandom module.

20 years agoAdd item
Andrew M. Kuchling [Fri, 3 Dec 2004 15:16:40 +0000 (15:16 +0000)]
Add item

20 years agoHyphenate 'one-argument'
Andrew M. Kuchling [Fri, 3 Dec 2004 14:59:09 +0000 (14:59 +0000)]
Hyphenate 'one-argument'

20 years agoAAdd item. (And so it beegins again.)
Andrew M. Kuchling [Fri, 3 Dec 2004 14:57:21 +0000 (14:57 +0000)]
AAdd item.  (And so it beegins again.)

20 years agoFill in various bits of the template
Andrew M. Kuchling [Fri, 3 Dec 2004 13:54:09 +0000 (13:54 +0000)]
Fill in various bits of the template

20 years agoRemove PyRange_New().
Raymond Hettinger [Fri, 3 Dec 2004 11:45:13 +0000 (11:45 +0000)]
Remove PyRange_New().

20 years agoAcknowledge contribution of a thorough tutorial review.
Raymond Hettinger [Fri, 3 Dec 2004 08:33:32 +0000 (08:33 +0000)]
Acknowledge contribution of a thorough tutorial review.

20 years agoSF patch #1077353: add key= argument to min and max
Raymond Hettinger [Fri, 3 Dec 2004 08:30:39 +0000 (08:30 +0000)]
SF patch #1077353: add key= argument to min and max

(First draft of patch contributed by Steven Bethard.)

20 years agoFixed errors reported in SF bug #1074693
Vinay Sajip [Thu, 2 Dec 2004 21:27:42 +0000 (21:27 +0000)]
Fixed errors reported in SF bug #1074693

20 years agoRestore Python 2.1 compatibility (os.extsep was introduced in Python 2.2).
Marc-André Lemburg [Thu, 2 Dec 2004 20:14:16 +0000 (20:14 +0000)]
Restore Python 2.1 compatibility (os.extsep was introduced in Python 2.2).

20 years agoFixing bug #1072259 in SRE.
Gustavo Niemeyer [Thu, 2 Dec 2004 16:15:39 +0000 (16:15 +0000)]
Fixing bug #1072259 in SRE.

20 years agoAdd key= argument to heapq.nsmallest() and heapq.nlargest().
Raymond Hettinger [Thu, 2 Dec 2004 08:59:14 +0000 (08:59 +0000)]
Add key= argument to heapq.nsmallest() and heapq.nlargest().

20 years agoUpdate the MSC6 pythoncore projects to compile for Py2.5
Raymond Hettinger [Thu, 2 Dec 2004 08:53:14 +0000 (08:53 +0000)]
Update the MSC6 pythoncore projects to compile for Py2.5

20 years agoFix typo.
Raymond Hettinger [Thu, 2 Dec 2004 08:31:41 +0000 (08:31 +0000)]
Fix typo.

20 years agoSF bug #1076955: Tutorial corrections Part II
Raymond Hettinger [Thu, 2 Dec 2004 07:29:43 +0000 (07:29 +0000)]
SF bug #1076955: Tutorial corrections  Part II

20 years agoSF bug #1076955: Tutorial corrections Part I
Raymond Hettinger [Thu, 2 Dec 2004 06:08:42 +0000 (06:08 +0000)]
SF bug #1076955:  Tutorial corrections Part I
(Submitted by some anonymous person with an amazing eye for grammer nits.)

20 years agoAdd all readme files in Tools.
Martin v. Löwis [Wed, 1 Dec 2004 21:46:35 +0000 (21:46 +0000)]
Add all readme files in Tools.

20 years agoRecompiled binaries after source changes.
Thomas Heller [Wed, 1 Dec 2004 19:43:34 +0000 (19:43 +0000)]
Recompiled binaries after source changes.

20 years agoprintf format code for integers is %d not %s.
Thomas Heller [Wed, 1 Dec 2004 19:43:02 +0000 (19:43 +0000)]
printf format code for integers is %d not %s.

Will backport.

20 years agoUpdate the filenames in the MSVC project file for Python 2.5.
Thomas Heller [Wed, 1 Dec 2004 19:40:45 +0000 (19:40 +0000)]
Update the filenames in the MSVC project file for Python 2.5.

20 years agoUpdate import library name on windows.
Thomas Heller [Wed, 1 Dec 2004 19:39:52 +0000 (19:39 +0000)]
Update import library name on windows.

20 years agoMake the example server code clearer; add the corresponding example client. [Bugfix...
Andrew M. Kuchling [Wed, 1 Dec 2004 18:34:11 +0000 (18:34 +0000)]
Make the example server code clearer; add the corresponding example client.  [Bugfix candidate]

20 years agoRunning the pre-install or post-install script did not work when
Thomas Heller [Wed, 1 Dec 2004 18:18:08 +0000 (18:18 +0000)]
Running the pre-install or post-install script did not work when
Python was installed with the 'only for me' option. The registry key
had a hardcoded '2.3' in it where the python version chosen for
installation should be used instead.

Will backport myself.

20 years ago- fix up internal hyperlink generation in PDF formatting so that links at
Fred Drake [Wed, 1 Dec 2004 06:30:31 +0000 (06:30 +0000)]
- fix up internal hyperlink generation in PDF formatting so that links at
  the beginning of a paragraph do not generate errors; this affected
  things like \refmodule when it came first in a paragraph
- clean up the .sty file to separate out the treatment of the start
  of a new paragraph

20 years ago- bump version number for "What's New" document
Fred Drake [Wed, 1 Dec 2004 05:55:47 +0000 (05:55 +0000)]
- bump version number for "What's New" document
- don't create .tgz version of doc source package, since we're not
  generating that for the other formats either

20 years agoContinue the post-release mechanics; we need a "What's New" document
Fred Drake [Wed, 1 Dec 2004 05:05:47 +0000 (05:05 +0000)]
Continue the post-release mechanics; we need a "What's New" document
so the docs can be built.

20 years agoFix nit.
Raymond Hettinger [Wed, 1 Dec 2004 04:22:38 +0000 (04:22 +0000)]
Fix nit.

20 years agoMention getservbyport(). There's no patch number in the CVS log, so I assume Barry...
Andrew M. Kuchling [Wed, 1 Dec 2004 00:57:12 +0000 (00:57 +0000)]
Mention getservbyport().  There's no patch number in the CVS log, so I assume Barry wrote the code.

20 years agoBump version number
Andrew M. Kuchling [Wed, 1 Dec 2004 00:46:33 +0000 (00:46 +0000)]
Bump version number

20 years agoRemove mention of Template being a subclass of unicode
Andrew M. Kuchling [Wed, 1 Dec 2004 00:45:15 +0000 (00:45 +0000)]
Remove mention of Template being a subclass of unicode

20 years ago[Patch #1076365] Correction of name of Template class; add contributor
Andrew M. Kuchling [Wed, 1 Dec 2004 00:42:41 +0000 (00:42 +0000)]
[Patch #1076365] Correction of name of Template class; add contributor

20 years agoBump version number to 2.5.
Martin v. Löwis [Tue, 30 Nov 2004 22:09:37 +0000 (22:09 +0000)]
Bump version number to 2.5.
Fix term.h check so that HAVE_TERM_H is actually generated.

20 years agoRaise TypeError if bufsize argument is not an integer. Patch 1071755, slightly modified.
Peter Astrand [Tue, 30 Nov 2004 21:04:45 +0000 (21:04 +0000)]
Raise TypeError if bufsize argument is not an integer. Patch 1071755, slightly modified.

20 years agoCorrected example for replacing shell pipeline. Fixes bug 1073790.
Peter Astrand [Tue, 30 Nov 2004 18:06:42 +0000 (18:06 +0000)]
Corrected example for replacing shell pipeline. Fixes bug 1073790.

20 years agoUpdate release date.
Andrew M. Kuchling [Tue, 30 Nov 2004 14:42:24 +0000 (14:42 +0000)]
Update release date.

20 years agoHear the #error: change the default value of the mutable_arg argument
Michael W. Hudson [Tue, 30 Nov 2004 14:31:54 +0000 (14:31 +0000)]
Hear the #error: change the default value of the mutable_arg argument
to ioctl() and remove the warning when it is not supplied.

20 years agopost 2.4 release machinations
Anthony Baxter [Tue, 30 Nov 2004 13:16:15 +0000 (13:16 +0000)]
post 2.4 release machinations

20 years agowhoops!
Anthony Baxter [Tue, 30 Nov 2004 11:53:10 +0000 (11:53 +0000)]
whoops!

20 years agoThis commit was manufactured by cvs2svn to create tag 'r24'. v2.4
cvs2svn [Tue, 30 Nov 2004 01:49:18 +0000 (01:49 +0000)]
This commit was manufactured by cvs2svn to create tag 'r24'.

20 years agoupdate gcc ref
Anthony Baxter [Tue, 30 Nov 2004 01:49:18 +0000 (01:49 +0000)]
update gcc ref

20 years agodoodedoodedoo on the way to 2.4 final
Anthony Baxter [Tue, 30 Nov 2004 01:28:55 +0000 (01:28 +0000)]
doodedoodedoo on the way to 2.4 final

20 years agoREVERT revision 1.260; the trunk is FROZEN.
Fred Drake [Mon, 29 Nov 2004 13:12:44 +0000 (13:12 +0000)]
REVERT revision 1.260; the trunk is FROZEN.
This change can be made on the trunk and release24-maint branch after
the trunk is unfrozen.

20 years agoBump buildno for 2.4 release
Martin v. Löwis [Mon, 29 Nov 2004 09:57:14 +0000 (09:57 +0000)]
Bump buildno for 2.4 release

20 years agoFix a nit.
Raymond Hettinger [Mon, 29 Nov 2004 08:53:14 +0000 (08:53 +0000)]
Fix a nit.

20 years agoFix argument order in pure python version of nsmallest() and nlargest().
Raymond Hettinger [Mon, 29 Nov 2004 05:54:48 +0000 (05:54 +0000)]
Fix argument order in pure python version of nsmallest() and nlargest().

20 years agoRFC 2822 describes the characters allowed in a header field name. Conform to
Barry Warsaw [Mon, 29 Nov 2004 03:46:54 +0000 (03:46 +0000)]
RFC 2822 describes the characters allowed in a header field name.  Conform to
this, and add test cases.

20 years agopreparing for 2.4 final (wooooooo!)
Anthony Baxter [Mon, 29 Nov 2004 01:40:31 +0000 (01:40 +0000)]
preparing for 2.4 final (wooooooo!)

20 years agoThere's likely nothing more to do to the email package before Python 2.4 is
Barry Warsaw [Mon, 29 Nov 2004 01:10:14 +0000 (01:10 +0000)]
There's likely nothing more to do to the email package before Python 2.4 is
final, so I'm marking email's version number as "3.0" (e.g. final).

20 years agoWhitespace normalization.
Tim Peters [Sun, 28 Nov 2004 01:10:01 +0000 (01:10 +0000)]
Whitespace normalization.

20 years agoFix for SF bug #1072623. When the last line of the input string does not end
Barry Warsaw [Sun, 28 Nov 2004 00:21:42 +0000 (00:21 +0000)]
Fix for SF bug #1072623.  When the last line of the input string does not end
in a newline, and it's an end boundary, the FeedParser wasn't recognizing it
as such.  Tweak the regexp to make the ending linesep optional.

For grins, clear self._partial when closing the BufferedSubFile.

Added a test case.

20 years agoFix typo in comment.
Walter Dörwald [Thu, 25 Nov 2004 12:23:23 +0000 (12:23 +0000)]
Fix typo in comment.

20 years agoFix typo.
Raymond Hettinger [Thu, 25 Nov 2004 05:35:32 +0000 (05:35 +0000)]
Fix typo.