| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
contains, tolist(), and the start/stop/step attributes. This includes
removing the 4th ('repeat') argument to PyRange_New().
|
|
|
|
| |
This closes SF bug #438032.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
committed.
tokenize.py: I like these changes, and have tested them extensively
without even realizing it, so I just updated the docstring and the docs.
tabnanny.py: Also liked this, but did a little code fiddling. I should
really rewrite this to *exploit* generators, but that's near the bottom
of my effort/benefit scale so doubt I'll get to it anytime soon (it
would be most useful as a non-trivial example of ideal use of generators;
but test_generators.py has already grown plenty of food-for-thought
examples).
inspect.py: I'm sure Ping intended for this to continue running even
under 1.5.2, so I reverted this to the last pre-gen-branch version. The
"bugfix" I checked in in-between was actually repairing a bug *introduced*
by the conversion to generators, so it's OK that the reverted version
doesn't reflect that checkin.
|
|
|
|
| |
Reported by Milan Zamazal <pdm@zamazal.org>.
|
|
|
|
|
|
|
| |
consistency errors (mostly omitted "()" at the end of function and
method names).
Reported by Milan Zamazal <pdm@zamazal.org>.
|
|
|
|
|
| |
Use a portable format in the example that creates a timestamp suitable for
use in email, also updating it and the footnote from RFC 822 to RFC 2822.
|
|
|
|
|
| |
Do not use an extra flag variable to test only once in one subsequent if
statement.
|
| |
|
| |
|
|
|
|
| |
Iterators list for bringing it up!
|
| |
|
| |
|
| |
|
|
|
|
|
| |
cuts for the complex math functions. Includes a brief description of
what branch cuts are.
|
|
|
|
|
|
|
| |
Added some comments about sys.exit(), SystemExit, and preventing restricted
code from exiting the interpreter.
This closes SF bug #434743.
|
|
|
|
|
|
| |
extension types (the docs reflected a development version of the API).
This closes SF bug #435066.
|
|
|
|
|
|
| |
for Linux.
This closes SF bug #434975.
|
| |
|
|
|
|
|
|
| |
add some description of what the quotetabs argument does for the
encode*() functions. Finally, add a "see also" pointing to the base64
module.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
references did not get updated when the notes were renumbered in a
previous update.
This fixes SF bug #432208.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This completes the q/Q project.
longobject.c _PyLong_AsByteArray: The original code had a gross bug:
the most-significant Python digit doesn't necessarily have SHIFT
significant bits, and you really need to count how many copies of the sign
bit it has else spurious overflow errors result.
test_struct.py: This now does exhaustive std q/Q testing at, and on both
sides of, all relevant power-of-2 boundaries, both positive and negative.
NEWS: Added brief dict news while I was at it.
|
|
|
|
|
|
|
| |
functions -- these are not available on traditional Mac OS platforms.
Corrected the version annotations for the spawn*() functions and related
constants; these were added in Python 1.6, not 1.5.2.
|
|
|
|
|
|
|
| |
a reference to these functions and popen() from the "Process Management"
section.
Based on a suggestion from comp.lang.python.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
native mode, and only when config #defines HAVE_LONG_LONG. Standard mode
will eventually treat them as 8-byte ints across all platforms, but that
likely requires a new set of routines in longobject.c first (while
sizeof(long) >= 4 is guaranteed by C, there's nothing in C we can rely
on x-platform to hold 8 bytes of int, so we'll have to roll our own;
I'm thinking of a simple pair of conversion functions, Python long
to/from sized vector of unsigned bytes; that may be useful for GMP
conversions too; std q/Q would call them with size fixed at 8).
test_struct.py: In addition to adding some native-mode 'q' and 'Q' tests,
got rid of unused code, and repaired a non-portable assumption about
native sizeof(short) (it isn't 2 on some Cray boxes).
libstruct.tex: In addition to adding a bit of 'q'/'Q' docs (more needed
later), removed an erroneous footnote about 'I' behavior.
|
|
|
|
| |
module is __main__ and once when module is imported.
|
|
|
|
|
|
| |
about setting up the dispatch table, and update the OldProfile and
HotProfile classes to the current implementations, showing the adjusted
construction for the dispatch table.
|
| |
|
| |
|
| |
|
|
|
|
| |
This closes SF bug #429059.
|
|
|
|
|
|
| |
fixing the reference to Thread.getDeamon() (should be isDaemon()).
This closes SF bug #429070.
|
| |
|
|
|
|
| |
Documentation for the HTMLParser module, with small changes by FLD.
|
|
|
|
|
|
|
|
|
|
| |
absolute or relative.
remove(), rename() descriptions: Give more information about the cross-
platform behavior of these functions, so single-platform developers
can be aware of the potential issues when writing portable code.
This closes SF patch #426598.
|
|
|
|
|
|
| |
optional in the documentation.
This closes SF bug #427985.
|
|
|
|
| |
to end up with the information, it is better recorded than lost.
|
|
|
|
|
|
| |
in the table of mapping object operations. Re-numbered the list of
notes to reflect the move of the "Added in version 2.2." note to the list
of notes instead of being inserted into the last column of the table.
|
|
|
|
| |
Message object.
|
|
|
|
|
| |
add a list of the mapping methods which are not supported (per Barry's
comments).
|
|
|
|
| |
rfc822.Message objects, based on comments from Barry.
|
|
|
|
|
| |
pointers to information about the other mailbox formats; if anyone can
provide the information needed, please let me know!
|
|
|
|
|
|
|
| |
but doing so raised EOFError. This makes it work as advertised and
converts to string methods where reasonable.
This closes SF bug #424776.
|
|
|
|
| |
"What's New in Python ..." documents.
|
|
|
|
| |
some stuff around.
|
|
|
|
|
| |
Finish the last set of changes to these files so the conversion does not
break.
|