| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
as nice. ;)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The common technique for printing out a pointer has been to cast to a long
and use the "%lx" printf modifier. This is incorrect on Win64 where casting
to a long truncates the pointer. The "%p" formatter should be used instead.
The problem as stated by Tim:
> Unfortunately, the C committee refused to define what %p conversion "looks
> like" -- they explicitly allowed it to be implementation-defined. Older
> versions of Microsoft C even stuck a colon in the middle of the address (in
> the days of segment+offset addressing)!
The result is that the hex value of a pointer will maybe/maybe not have a 0x
prepended to it.
Notes on the patch:
There are two main classes of changes:
- in the various repr() functions that print out pointers
- debugging printf's in the various thread_*.h files (these are why the
patch is large)
Closes SourceForge patch #100505.
|
|
|
|
| |
A previous patch by Jack Jansen was accidently reverted.
|
|
|
|
|
|
|
| |
- The Tcl minor version should be 3 -- we're now using 8.3.1.
- Remove the version number from yet another Tcl source file.
Note that Tcl should be installed in C:\src\tcl for this to work.
|
|
|
|
| |
variable...
|
| |
|
| |
|
|
|
|
| |
include, it doesn't seem to work.
|
|
|
|
| |
(Change title to beta 1, change a few paths for typical Win98 setup.)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-- added pickling support (only works if sre is imported)
-- fixed wordsize problems in engine
(instead of casting literals down to the character size,
cast characters up to the literal size (same as the code
word size). this prevents false hits when you're matching
a unicode pattern against an 8-bit string. (unfortunately,
this broke another test, but I think the test should be
changed in this case; more on that on python-dev)
-- added sre.purge function
(unofficial, clears the cache)
|
| |
|
|
|
|
|
|
| |
Mention the GC module
Add MH's explanation of the Windows crash
Add atexit.py
|
|
|
|
| |
- untabified sre_constants.py
|
|
|
|
| |
Fixed a quote bug. Thanks to Fredrik Lundh.
|
|
|
|
|
|
| |
New buffer overflow checks for formatting strings.
By Trent Mick.
|
|
|
|
| |
Added test output.
|
|
|
|
|
|
|
| |
New test for huge formatting strings (these could cause core
dumps in previous versions).
By Trent Mick.
|
|
|
|
|
| |
Include <> -> "". Removed some left over code at the end of the file.
Patch by Bill Tutt.
|
|
|
|
| |
Include <> -> "". Patch by Bill Tutt.
|
| |
|
|
|
|
| |
Updated test output (the ucn tests are now in test_ucn).
|
|
|
|
| |
Moved tests of new Unicode Char Name support to a separate test.
|
|
|
|
| |
(closes #3 and #7 from the status report)
|
|
|
|
| |
by trying to use CVS under Windows at all ...
|
| |
|
|
|
|
| |
- added test suite
|
| |
|
| |
|
|
|
|
| |
another typo caught by Rob Hooft
|
| |
|
|
|
|
| |
update configure files (turn --with-cycle-gc on for beta release?)
|
| |
|
| |
|
|
|
|
|
| |
Berkeley DB 2.0 or newer; most Linux distros will include a more recent
version than 1.85.
|
| |
|
|
|
|
| |
new winreg module.
|
|
|
|
|
| |
Make some references between the distutils documents hyperlinks using
the \citetitle markup.
|
| |
|
|
|
|
|
|
| |
Note that configure hadn't been checked in a few times so it has more
changes, catching up with the last few changes to congifure.in as
well.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch fixes possible overflows in the socket module for 64-bit
platforms (mainly Win64). The changes are:
- abstract the socket type to SOCKET_T (this is SOCKET on Windows, int
on Un*x), this is necessary because sizeof(SOCKET) > sizeof(int) on
Win64
- use INVALID_SOCKET on Win32/64 for an error return value for
accept()
- ensure no overflow of the socket variable for: (1) a PyObject return
value (use PyLong_FromLongLong if necessary); and (2) printf
formatting in repr().
Closes SourceForge patch #100516.
|
|
|
|
| |
autoheader revealed this.
|
|
|
|
|
|
|
| |
Tim posted a long comment to python-dev (subject: "Controversial patch
(cmath)"; date: 6/29/00). The conclusion is that this whole module
stinks and this patch isn't perfect, but it's better than the acosh
and asinh we had, so let's check it in.
|
|
|
|
|
|
| |
Removed all but one XXX.
Replaced 1.6 with 2.0.
Various minor corrections and additions.
|
| |
|
|
|
|
|
|
| |
- fixed compiler problems when using locale/unicode flags
- fixed group/octal code parsing in sub/subn templates
|
|
|
|
|
| |
misc/install.c, still needs to be updated, and it looks like a non-trivial
change.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
group reset problem. in the meantime, I added some
optimizations:
- added "inline" directive to LOCAL
(this assumes that AC_C_INLINE does what it's
supposed to do). to compile SRE on a non-unix
platform that doesn't support inline, you have
to add a "#define inline" somewhere...
- added code to generate a SRE_OP_INFO primitive
- added code to do fast prefix search
(enabled by the USE_FAST_SEARCH define; default
is on, in this release)
|