- 16 Agu, 2004 1 kayıt (commit)
-
-
Barry Warsaw yazdı
del_param fails when specifying a header.
-
- 07 Agu, 2004 2 kayıt (commit)
-
-
Barry Warsaw yazdı
Specifically, time.strftime() no longer accepts a 0 in the yday position of a time tuple, since that can crash some platform strftime() implementations. parsedate_tz(): Change the return value to return 1 in the yday position. Update tests in test_rfc822.py and test_email.py
-
Barry Warsaw yazdı
\r\n only get the \n stripped, not the \r (unless it's the last header which does get the \r stripped). Patch by Tony Meyer. test_whitespace_continuation_last_header(), test_strip_line_feed_and_carriage_return_in_headers(): New tests. _parse_headers(): Be sure to strip \r\n from the right side of header lines.
-
- 15 May, 2004 1 kayıt (commit)
-
-
Barry Warsaw yazdı
-
- 13 May, 2004 8 kayıt (commit)
-
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
still 7-bit.
-
Barry Warsaw yazdı
parser must recognize outer boundaries in inner parts. So cruise through the EOF stack backwards testing each predicate against the current line. There's still some discussion about whether this is (always) the best thing to do. Anthony would rather parse these messages as if the outer boundaries were ignored. I think that's counter to the RFC, but might be practically more useful. Can you say behavior flag? (ug).
-
Barry Warsaw yazdı
Two evil samples from Anthony's MIME torture tests.
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
same boundary as the outer part.
-
Barry Warsaw yazdı
separating boundary for an outer part inside an inner part.
-
- 11 May, 2004 6 kayıt (commit)
-
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
message/delivery-status clause, and genericize it to handle all (other) message/* content types. This lets us correctly parse 2 more of Anthony's MIME torture tests (specifically, the message/external-body examples).
-
Barry Warsaw yazdı
-
- 10 May, 2004 2 kayıt (commit)
-
-
Barry Warsaw yazdı
SF #951088.
-
Barry Warsaw yazdı
-
- 09 May, 2004 14 kayıt (commit)
-
-
Barry Warsaw yazdı
documented semantics.
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
This Parser is now just a backward compatible front-end to the FeedParser.
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
need the _compat21 or _compat22 modules either.
-
Barry Warsaw yazdı
bunch of module globals that aren't used.
-
Barry Warsaw yazdı
bunch of module globals that aren't used. __maxheaderlen -> _maxheaderlen _handle_multipart(): This should be more RFC compliant now, and does match the updated/fixed semantics for preamble and epilogue.
-
Barry Warsaw yazdı
(standard) tests, and doesn't throw parse errors. I still need throw Anthony's torture test at it, but I wanted to get this checked in and off my disk.
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
message's end boundary.
-
Barry Warsaw yazdı
-
- 22 Mar, 2004 1 kayıt (commit)
-
-
Anthony Baxter yazdı
-
- 20 Mar, 2004 2 kayıt (commit)
-
-
Thomas Wouters yazdı
parser -- for now. Failure behaviour of the new parser(s) will change in any case, so this will be revisited later anyway.
-
Thomas Wouters yazdı
> ---------------------------- > revision 1.20.4.4 > date: 2003/06/12 09:14:17; author: anthonybaxter; state: Exp; lines: +13 -6 > preamble is None when missing, not ''. > Handle a couple of bogus formatted messages - now parses my main testsuite. > Handle message/external-body. > ---------------------------- > revision 1.20.4.3 > date: 2003/06/12 07:16:40; author: anthonybaxter; state: Exp; lines: +6 -4 > epilogue-processing is now the same as the old parser - the newline at the > end of the line with the --endboundary-- is included as part of the epilogue. > Note that any whitespace after the boundary is _not_ part of the epilogue. > ---------------------------- > revision 1.20.4.2 > date: 2003/06/12 06:39:09; author: anthonybaxter; state: Exp; lines: +6 -4 > message/delivery-status fixed. > HeaderParser fixed. > ---------------------------- > revision 1.20.4.1 > date: 2003/06/12 06:08:56; author: anthonybaxter; state: Exp; lines: +163 -129 > A work-in-progress snapshot of the new parser. A couple of known problems: > > - first (blank) line of MIME epilogues is being consumed > - message/delivery-status isn't quite right > > It still needs a lot of cleanup, but right now it parses a whole lot of > badness that the old parser failed on. I also need to think about adding > back the old 'strict' flag in some way. > =============================================================================
-
- 17 Ock, 2004 1 kayıt (commit)
-
-
Hye-Shik Chang yazdı
Several style fixes are suggested by Martin v. Loewis and Marc-Andre Lemburg. Thanks!
-
- 30 Ara, 2003 2 kayıt (commit)
-
-
Barry Warsaw yazdı
patch removes dependencies on the old unsupported KoreanCodecs package and the alternative JapaneseCodecs package. Since both of those provide aliases for their codecs, this removal just makes the generic codec names work. We needed to make slight changes to __init__() as well. This will be backported to Python 2.3 when its branch freeze is over.
-
Barry Warsaw yazdı
-