- 16 Tem, 2001 30 kayıt (commit)
-
-
Jack Jansen yazdı
-
Jack Jansen yazdı
up, for reasons unknown.
-
Tim Peters yazdı
great, it's your turn to watch it fail for months <0.9 wink>.
-
Barry Warsaw yazdı
- This module, despite its name, now should conform to RFC 2822, the update to RFC 822. - This module doesn't just represent "email headers", but entire email messages. - Added documentation for other useful public functions such as quote(), unquote(), praseaddr(), and dump_address_pair().
-
Barry Warsaw yazdı
was already correctly parsed (contrary to a comment in Mailman). test_rfc2822_phrases(): RFC 2822 now requires that we allow `.' in phrases, which means we must accept dots in unquoted realname parts. Add a test to check the change in rfc822.py 1.58.
-
Barry Warsaw yazdı
#437395
-
Barry Warsaw yazdı
now allowed in unquoted RealName areas (technically, they are defined as "obsolete syntax" we MUST accept in phrases, as part of the obs-phrase production). Thus, parsing To: User J. Person <person@dom.ain> correctly returns "User J. Person" as the RealName. AddrlistClass.__init__(): Add definition of self.phraseends which is just self.atomends with `.' removed. getatom(): Add an optional argument `atomends' which, if None (the default) means use self.atomends. getphraselist(): Pass self.phraseends to getatom() and break out of the loop only when the current character is in phraseends instead of atomends. This allows dots to continue to serve as atom delimiters in all contexts except phrases. Also, loads of docstring updates to document RFC 2822 conformance (sorry, this should have been two separate patches).
-
Jack Jansen yazdı
File handlers don't work on the mac, so don't pretend they do. I guess this is a 2.1.1 candidate, if it isn't too late for that.
-
Fred Drake yazdı
Based on the test for the HTMLParser module.
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Tim Peters yazdı
-
Fred Drake yazdı
entity references are not allowed in that mode. Do a better job of scanning <!DOCTYPE ...> declarations; based on the code in HTMLParser.py.
-
Guido van Rossum yazdı
compiling struct.
-
Guido van Rossum yazdı
PyParser_SimpleParseString(). Now calls PyParser_SimpleParseStringFlags() with the correct flag.
-
Thomas Wouters yazdı
Check for slice/item deletion, which calls slice/item assignment with a NULL value, and raise a TypeError instead of coredumping. Bugreport and suggested fix by Alex Martelli.
-
Fred Drake yazdı
Windows version of the function as well as the Unix flavor. This fixes SF bug #441357.
-
Guido van Rossum yazdı
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
Weisner Burton
-
Andrew M. Kuchling yazdı
are merged to a single hyphen. Delete forgotten CVS conflict marker
-
Andrew M. Kuchling yazdı
Write description of .encode()/.decode for the Unicode section Bump version number
-
Kurt B. Kaiser yazdı
Added a patch which modifies idlefork so that it can co-exist with "official" IDLE in the site-packages directory. This patch is not necessary if only idlefork IDLE is installed. See INSTALLATION for further details.
-
Kurt B. Kaiser yazdı
The default behaviour of idlefork idle is to open an editor window instead of a shell. Complex expressions may be run in a fresh environment by selecting "run". There are times, however, when a shell is desired. Though one can be started by "idle -t 'foo'", this script is more convenient. In addition, a shell and an editor window can be started in parallel by "idles -e foo.py".
-
Tim Peters yazdı
that 'yield' is a keyword. This doesn't help test_generators at all! I don't know why not. These things do work now (and didn't before this patch): 1. "from __future__ import generators" now works in a native shell. 2. Similarly "python -i xxx.py" now has generators enabled in the shell if xxx.py had them enabled. 3. This program (which was my doctest proxy) works fine: from __future__ import generators source = """\ def f(): yield 1 """ exec compile(source, "", "single") in globals() print type(f())
-
Kurt B. Kaiser yazdı
-
Kurt B. Kaiser yazdı
The default behaviour of idlefork idle is to open an editor window instead of a shell. Complex expressions may be run in a fresh environment by selecting "run". There are times, however, when a shell is desired. Though one can be started by "idle -t 'foo'", this script is more convenient. In addition, a shell and an editor window can be started in parallel by "idles -e foo.py".
-
Tim Peters yazdı
pythonrun.c, run_pyc_file(): repair semantic error wrt CO_GENERATOR vs CO_GENERATOR_ALLOWED.
-
Tim Peters yazdı
that info to code dynamically compiled *by* code compiled with generators enabled. Doesn't yet work because there's still no way to tell the parser that "yield" is OK (unlike nested_scopes, the parser has its fingers in this too). Replaced PyEval_GetNestedScopes by a more-general PyEval_MergeCompilerFlags. Perhaps I should not have? I doubted it was *intended* to be part of the public API, so just did.
-
Andrew M. Kuchling yazdı
* iterators * generators * copied the nested scopes section from the 2.1 article * standard library changes
-
- 15 Tem, 2001 5 kayıt (commit)
-
-
Guido van Rossum yazdı
the yield statement. I figure we have to have this in before I can release 2.2a1 on Wednesday. Note: test_generators is currently broken, I'm counting on Tim to fix this.
-
Tim Peters yazdı
-
Tim Peters yazdı
Others: Remove redundant includes of assert.h.
-
Guido van Rossum yazdı
-
Tim Peters yazdı
-
- 14 Tem, 2001 5 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
Include sys/poll.h if it was found by the configure script. The OpenGroup spec says poll.h is the correct header file to use, so that file is preferred.
-
Andrew M. Kuchling yazdı
newwin() wrapper to always return a window, and never a pad. This makes the code match the documentation.
-
Andrew M. Kuchling yazdı
by adding the contents of CCSHARED to the compiler specified by CC
-
Guido van Rossum yazdı
code only compiled in debug mode, and I dutifully comply.
-