| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
This patch makes u"\N{x}" a bit less dependent on pure luck...
|
|
|
|
|
|
| |
* Deletes the Panel_NoArgReturnStringFunction() macro, which isn't used
anymore
* Adjusts two comments.
|
| |
|
|
|
|
|
| |
probably more useful for the test code than for any applications, but
one never knows...)
|
|
|
|
|
|
|
| |
implementation details inside the ucnhash module.
also cleaned up the unicode copyright blurb a little; Secret Labs'
internal revision history isn't that interesting...
|
|
|
|
| |
Support building this as a DLL under Cygwin.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- In count(), remove(), index(): call RichCompare(Py_EQ).
- Get rid of array_compare(), in favor of new array_richcompare() (a
near clone of list_compare()).
- Aligned items in array_methods initializer and comments for type
struct initializer.
- Folded a few long lines.
|
|
|
|
| |
and remove support for it from setup.py
|
| |
|
| |
|
|
|
|
|
|
|
| |
The final piece of this change...
Strip down Setup.config.in and Setup.dist to the minimal sets required
to get a working Python; setup.py will handle the rest
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
builds during which he forgot to uncomment crucial library lines in
Setup, walks into Guido's East End nightclub with a tactical nuclear
weapon on his shoulder. Said nuclear weapon is promptly deployed
exactly where it will do the most good, right in the middle of
configure.in.
With this patch, the set of libraries autoconfigured in is extended to
include ndbm, gdbm, and crypt. This essentially eliminates any need to
tweak Setup for a normal Linux build.
"'E was a fair man. Cruel, but fair."
|
|
|
|
| |
compatibility patches.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
of dbmmodule dynamically by default (otherwise it can pull in
dependencies with libdb that croak pybsddb3). This change moves the
Setup line for dbmmodule to Setup.config.in.
|
|
|
|
| |
by compiler/engine mismatches
|
|
|
|
|
|
|
|
| |
(bugs #115903, #115696)
This is based on a patch by Darrel Gallion. I'm not 100%
sure about this fix, but I haven't managed to come up with
any test case it cannot handle...
|
|
|
|
|
|
|
|
|
|
| |
-- added some more docstrings
-- fixed typo in scanner class (#125531)
-- the multiline flag (?m) should't affect the \Z operator (#127259)
-- fixed non-greedy backtracking bug (#123769, #127259)
-- added sre.DEBUG flag (currently dumps the parsed pattern structure)
-- fixed a couple of glitches in groupdict (the #126587 memory leak
had already been fixed by AMK)
|
| |
|
|
|
|
| |
Noone but me cares, but Guido said to go ahead and fix it if it bothered me.
|
|
|
|
|
|
| |
xreadlines inserted themselves inbetween the two) and clarify that the
normal socket module should be commented out. (Someone also suggested the
latter on c.l.py some time ago, I forget who, sorry.)
|
|
|
|
|
|
|
| |
source. Uesful for both GnuStep and for OSXS/OSX/Darwin.
(Note: I changed $(CCC) to $(CXX) since that's now the name of the C++
compiler. Please test!
|
|
|
|
|
|
|
| |
Extension Patch.
These are the changes to the Modules Makefile and makesetup script for
Cygwin.
|
|
|
|
| |
under CYGWIN as shared libraries (DLLs).
|
|
|
|
|
|
|
| |
curses and readline (for Linux, at least).
These are done as shared libraries by default, and so is bsddb -- that
seems to make the most sense.
|
|
|
|
|
| |
without a name when the optional tagname arg isn't specified. Was
actually creating a mapping with an empty string as the name.
|
|
|
|
|
|
|
| |
Wasn't built on Windows; not in config.c either.
Module init function missing DL_EXPORT magic.
test_xreadline output file obviously wrong (started w/ "test_xrl").
test program very unclear about what was expected.
|
|
|
|
| |
changes for safety and tuning.
|
|
|
|
| |
#127718: '@' and '`' seem to be confused.
|
|
|
|
|
| |
including "tmpfile" in the posix_methods[] array is wrong -- should be
HAVE_TMPFILE, not HAVE_TMPNAM.
|
|
|
|
| |
This closes SF bug #127271.
|
|
|
|
|
| |
The _setfpucw() function/macro doesn't seem to exist any more;
instead there's an _FPU_SETCW macro.
|
|
|
|
| |
in the docstring.
|
| |
|
|
|
|
| |
Removed warning on use of panel_userptr() in PyCursesPanel_userptr().
|
| |
|
| |
|
|
|
|
|
| |
Original version written by Thomas Gellekum, reshaped into a separate
module by AMK.
|
|
|
|
| |
Remove several macros and #includes; py_curses.h contains them now.
|
|
|
|
| |
DECREF
|
|
|
|
| |
CVS repository), provide the library version information.
|
|
|
|
| |
window methods
|
|
|
|
|
| |
use of PyErr_Warn()! This module is a good guinea pig because it's
been obsolete since 1.5.0 was released.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
bugs #126161 and 123634).
The solution doesn't use the unicode-escape encoding; that has other
problems (it seems not 100% reversible). Rather, it transforms the
input Unicode object slightly before encoding it using
raw-unicode-escape, so that the decoding will reconstruct the original
string: backslash and newline characters are translated into their
\uXXXX counterparts.
This is backwards incompatible for strings containing backslashes, but
for some of those strings, the pickling was already broken.
Note that SF bug #123634 complains specifically that cPickle fails to
unpickle the pickle for u'' (the empty Unicode string) correctly.
This was an off-by-one error in load_unicode().
XXX Ugliness: in order to do the modified raw-unicode-escape, I've
cut-and-pasted a copy of PyUnicode_EncodeRawUnicodeEscape() into this
file that also encodes '\\' and '\n'. It might be nice to migrate
this into the Unicode implementation and give this encoding a new name
('half-raw-unicode-escape'? 'pickle-unicode-escape'?); that would help
pickle.py too. But right now I can't be bothered with the necessary
infrastructural changes.
|
|
|
|
| |
#125981: closing sockets was not thread-safe.
|
|
|
|
|
| |
open_flags which contains the flags supported by gdbm. Closes patch
#102802.
|