| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
for "." and "..", since listdir() no longer returns those.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
constants. Someone will need to fill in information on the spawn*()
functions that aren't listed.
|
| |
|
|
|
|
| |
option names; errors noted by Greg Stein <gstein@lyra.org>.
|
|
|
|
|
|
|
|
| |
This patch is re: Lucas.Dejonge@awtpl.com.au: [Python-bugs-list] imaplib -
not complying with RFC (PR#218)
Lucas de Jonge reported that the code in imaplib that detects a read-write
to read-only change doesn't comply with RFC 2060.
|
|
|
|
|
|
|
| |
discussed on c.l.py last January. Specifically:
- more characters allowed in section & option names
- if '=' is used to separate the option & value, the value can be
followed by a comment of the form '\s;'
|
|
|
|
|
|
|
|
|
|
| |
lib-stdwin is no longer installed.
Increase the support level for other obsolete modules a bit: install
lib-old by default. It still isn't in the path by default, but at
least it's easier to add to your $PYTHONPATH this way. (This makes
sense because in 1.6 we're much more aggressive with declaring modules
obsolete.)
|
| |
|
|
|
|
| |
docstrings into comments.
|
|
|
|
|
|
| |
an instance method instance_contains as sq_contains. It looks for
__contains__ and if not found falls back to previous behaviour.
Done.
|
|
|
|
|
| |
patches PySequence_Contains() to check for a valid sq_contains field.
More to follow.
|
|
|
|
|
|
| |
a new proc type (objobjproc), a new slot sq_contains to
PySequenceMethods, and a new flag Py_TPFLAGS_HAVE_SEQUENCE_IN to
Py_TPFLAGS_DEFAULT. More to follow.
|
| |
|
|
|
|
| |
Reported both by Gerrit Holl and Mark Favas.
|
|
|
|
| |
Also removed some unnecessary backslases (inside parens).
|
|
|
|
|
|
|
| |
This will fold all ISO 8859 chars from the upper half of the
charset into the lower half, which is ...ummm.... unintened.
The second is a typo in the reference to options.escape in main().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
make pygettext more compatible with GNU xgettext, specifically:
Added -E/--escape for allowing pass-thru of iso8859-1 characters above
7 bits.
Added -o/--output option for renaming the output file from
messages.pot (there's overlap with -d/--default-domain, but GNU
xgettext has them both).
Added -p/--output-dir for specifying the output directory for
messages.pot.
Added -V/--version for printing the version number.
Added -w/--width for specifying the output page width (this is because
now pygettext, like GNU xgettext will put several locations on the
same line to cut down on vertical space).
Added -x/--exclude-file for specifying a list of strings that are not
to be extracted from the input files.
Bumped version number to 1.0
Try to import fintl and use fintl.gettext as _ if available. Fall
back is to use identity definition of _().
Moved the escape creation to a function make_escapes() so that its
behavior can be controlled by the -E option.
__openseen(): Support the -x option.
write(): Support -w option and vertical space preserving feature.
main(): Support new options.
|
|
|
|
| |
Real Soon Now(TM).
|
| |
|
|
|
|
|
| |
cooked up by Fred Drake and me. Only saved for posterity (whoever posterity
is), as it is about to be ditched in favour of GvR's much simpler design.
|
|
|
|
| |
mp_bits_per_limb with GMP 2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
OptionMenu is modified. Somewhat rewritten and elaborated by myself.
class _setit: The constructor now takes an optional argument
`callback' and stashes this in a private variable. If set, the
__call__() method will invoke this callback after the variable's value
has changed. It will pass the callback the value, followed by any
args passed to __call__().
class OptionMenu: The constructor now takes keyword arguments, the
only one that's legally recognized is `command', which can be set to a
callback. This callback is invoked when the OptionMenu value is set.
Any other keyword argument throws a TclError.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Solaris 2 has stub implementations of the POSIX thread functions such as
pthread_detach in libc. This means that configure tries to use them without
-lpthread, then the test of pthread_create fails and the configuration
falls back to the Solaris thread library. This patch moves the test for
pthread_create in -lpthread ahead of the test for pthread_detach in libc.
The patch also ensures that -lpthread is at the start of the library list
when linking, to pick up POSIX thread semantics for fork (see below).
Justification.
Use of POSIX threads on Solaris ensures that the fork() call only runs the
thread that called fork() in the child. This is desirable to prevent (for
example) parent server or database threads running in the child. Sun's
-lthread library uses a traditional fork() which replicates all the
parent's threads in the child. I find this undesirable.
Digression.
The configure.in seems to always test for -lthread even if a POSIX library
is found. I'm not enough of a configure.in wizard to decide whether this is
desirable or how to fix it. It is also irrelevant to this patch - I just
spotted it while testing.
End of Digression.
|
|
|
|
| |
Only the main thread should survive in the child after a fork().
|
|
|
|
|
| |
just a typo in some Linux header; the real symbol is
_SC_AIO_LISTIO_MAX.
|
| |
|
|
|
|
| |
comment. <gerrit@nl.linux.org>
|
| |
|
| |
|
| |
|
|
|
|
| |
format strings.
|
|
|
|
|
|
|
| |
This patch allows building the Python 'mpzmodule' under SuSE Linux
without having to install the source package of the GMP-libary.
The gmp-mparam.h seems to be an internal header file. The patch
shouldn't hurt any other platforms.
|
|
|
|
|
|
|
|
| |
diagnostics.
*** INCOMPATIBLE CHANGE: This changes append(), remove(), index(), and
*** count() to require exactly one argument -- previously, multiple
*** arguments were silently assumed to be a tuple.
|
|
|
|
| |
Added docstrings to tkSimpleDialog.py
|
| |
|
|
|
|
| |
This fixes PR#211.
|
|
|
|
|
|
|
| |
A change in my last patch could, under certain circumstances,
cause a loop if the connection to the server dropped while
waiting for a command completion. I've changed the code to
re-raise the error after possible debugging output.
|
|
|
|
| |
slicing) using long integers
|
|
|
|
|
|
| |
and _DelItem().
In sequence multiplication by a long, only call PyErr_Occurred() when the
value returned is -1.
|
| |
|
|
|
|
| |
Andreas Jung <ajung@sz-sb.de>.
|
| |
|
| |
|
|
|
|
| |
consistency changes and a note that the API may change in the future.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
standard library. Added some comments:
# XXX Note: this is now a standard library module.
# XXX The API needs to undergo changes however; the current code is too
# XXX script-like. This will be addressed later.
|