| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
the rest of the documnentation.
|
|
|
|
|
|
| |
matched; reported by Paul Moore.
Wrapped several long lines.
|
|
|
|
|
|
|
| |
instead of raising an error. This was one of the two issues that the
VPython folks were particularly problematic for their students. (The
other one was integer division...) This implements (my) SF patch
#440487.
|
|
|
|
|
|
|
|
| |
could probably stand to have some of the internal things like Marshaller
documented. But I think it does a decent job on the entry points and
externally visible things.
Fred and Fredrik, do your stuff! You both need to proof this.
|
|
|
|
| |
improves internal consistency in the documentation.
|
|
|
|
|
|
| |
polling objects. This closes SF bug #439823.
Fixed a minor markup bug.
|
|
|
|
|
| |
translation more difficult, as well as reading the English more
difficult for non-native speakers.
|
|
|
|
|
|
|
|
|
| |
translation more difficult, as well as reading the English more
difficult for non-native speakers.
Add an index entry for the Telnet protocol.
Always refer to the protocol as Telnet instead of telnet.
|
|
|
|
|
| |
translation more difficult, as well as reading the English more
difficult for non-native speakers.
|
|
|
|
|
|
| |
the os.W*() functions used to interpret the return value.
This fixes SF bug #429361.
|
|
|
|
|
|
| |
\platform statement.
Also fix a minor style consistency nit in an example.
|
|
|
|
| |
empty.
|
|
|
|
| |
modules.
|
| |
|
|
|
|
|
| |
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.
|