Fredrik Lundh
d89a2e7731
bug #416670
...
added copy/deepcopy support to SRE (still not enabled, since it's not
covered by the test suite)
2001-07-03 20:32:36 +00:00
Fredrik Lundh
ee2f18d0ee
bug #232815
...
ch is unsigned, so testing for negative values doesn't make
sense (as noticed by the OpenVMS compiler)
2001-07-03 19:27:05 +00:00
Fredrik Lundh
df781e6a3f
reapplied darryl gallion's minimizing repeat fix. I'm still not 100%
...
sure about this one, but test #133283 now works even with the fix in
place, and so does the test suite. we'll see what comes up...
2001-07-02 19:54:28 +00:00
Fredrik Lundh
f71ae461bf
pythonware repository roundtrip (untabification)
2001-07-02 17:04:48 +00:00
Fredrik Lundh
19af43d78a
added martin's BIGCHARSET patch to SRE 2.1.1. martin reports 2x
...
speedups for certain unicode character ranges.
2001-07-02 16:58:38 +00:00
Fredrik Lundh
b0f05bdfd3
merged with pythonware's SRE 2.1.1 codebase
2001-07-02 16:42:49 +00:00
Fredrik Lundh
8f4558583f
use Py_UNICODE_WIDE instead of USE_UCS4_STORAGE and Py_UNICODE_SIZE
...
tests.
2001-06-27 18:59:43 +00:00
Tim Peters
208efe5640
Windows build broke from recent Unicode changes -- need to #define
...
SIZEOF_SHORT by hand here.
Also added dynamic check that SIZEOF_SHORT is correct for the platform (in
_testcapimodule).
2001-06-26 22:40:47 +00:00
Fredrik Lundh
1294ad0c59
experimental UCS-4 support: added USE_UCS4_STORAGE define to
...
unicodeobject.h, which forces sizeof(Py_UNICODE) == sizeof(Py_UCS4).
(this may be good enough for platforms that doesn't have a 16-bit
type. the UTF-16 codecs don't work, though)
2001-06-26 17:17:07 +00:00
Fredrik Lundh
3083163dc1
experimental UCS-4 support: don't assume that MS_WIN32 implies
...
HAVE_USABLE_WCHAR_T
2001-06-26 15:11:00 +00:00
Martin v. Löwis
51777ce758
Remove const-ness in inet_pton declaration.
2001-06-25 06:38:03 +00:00
Martin v. Löwis
2b110f9713
Replace snprintf with sprintf.
2001-06-25 06:37:02 +00:00
Martin v. Löwis
a2ca1ae3ca
Fix typos in inet_pton/inet_ntop.
2001-06-24 21:35:43 +00:00
Martin v. Löwis
a45ecae474
Provide a definition for offsetof.
2001-06-24 21:28:42 +00:00
Martin v. Löwis
b9ab159052
Emulate inet_{pton,ntop} on systems that don't provide it.
2001-06-24 21:18:26 +00:00
Tim Peters
7e82b9cc6b
Pure brute-force hackery to allow Python to build on Windows again,
...
because I need to make progress and don't have time now to think about
whatever it is the new code is trying to accomplish.
2001-06-24 05:08:52 +00:00
Martin v. Löwis
bfdf4ecad0
Properly use &&. Closes bug #434988 .
2001-06-23 19:58:46 +00:00
Martin v. Löwis
b28f6e7c7b
Properly use &&. Closes bug #434989 .
2001-06-23 19:55:38 +00:00
Martin v. Löwis
01dfdb3d35
Patch #401196 : Configuration machinery for IPv6.
...
Contributed by Jun-ichiro "itojun" Hagino. get{addr,name}info emulation
code taken from WIDE.
2001-06-23 16:30:13 +00:00
Andrew M. Kuchling
888aa26819
[Bug #433047 , reported by Armin Rigo] Remove extra 'i' character in
...
PyArg_ParseTuple() call.
(2.1.1 bugfix candidate.)
2001-06-18 19:04:04 +00:00
Marc-André Lemburg
4157dd5a92
Fix for bug [ #433047 ] missing args to PyArg_ParseTuple
2001-06-17 18:32:36 +00:00
Tim Peters
83c9edc05c
Fix error in comment, and in test_long_api and test_longlong_api remove
...
the need for the F_ERROR macro.
2001-06-16 08:10:13 +00:00
Thomas Wouters
2b30524ea9
Forward-port revision 2.24.2.4 from the release21-maint branch:
...
Protect several more uses of constants with #ifdefs; these are necessary on
(at least) SCO OpenServer 5. Fixes a non-SF-submitted bugreport by Michael
Kent.
2001-06-15 12:05:44 +00:00
Tim Peters
ff70d3c8d4
Fixed typo in comment.
2001-06-14 01:11:03 +00:00
Tim Peters
e7c1f9b822
Add tests of PyLong_{As,From}{Unsigned,}Long. These are very much like
...
the new PyLong_{As,From}{Unsigned,}LongLong tests, so the bulk of the
code is in the new #include file testcapi_long.h, which generates
different code depending on how macros are set. This sucks, but I couldn't
think of anything that sucked less.
UNIX headache? If we still maintain dependencies by hand, someone who
knows what they're doing should teach whatever needs it that
_testcapimodule.c includes testcapi_long.h.
2001-06-14 00:55:41 +00:00