Tim Peters
3d56350910
_compile(): raise an exception if downcasting to SRE_CODE
...
loses information:
OverflowError: regular expression code size limit exceeded
Otherwise the compiled code is gibberish, possibly leading at
least to wrong results or (as reported on c.l.py) internal
sre errors at match time.
I'm not sure how to test this. SRE_CODE is a 2-byte type on
my box, and it's easy to create a regexp that causes the new
exception to trigger here. But it may be a 4-byte type on
other boxes, and creating a regexp large enough to trigger
problems there would be pretty crazy.
Bugfix candidate.
2006-01-21 02:47:53 +00:00
Neal Norwitz
1ac754fa10
Check return result from Py_InitModule*(). This API can fail.
...
Probably should be backported.
2006-01-19 06:09:39 +00:00
Martin v. Löwis
d078e40d41
Generate getbuildinfo.o each time the linker is invoked;
...
try to generate SVNVERSION information if subwcrev.exe
can be found.
2006-01-18 09:13:51 +00:00
Neal Norwitz
20bad74d63
SF Bug #1407069 , Remove extra semi-colon if there is no long long
2006-01-17 05:27:39 +00:00
Neal Norwitz
658516617c
Get socketmodule to build after adding netlink support.
2006-01-16 04:31:40 +00:00
Fredrik Lundh
b84b35f02a
the implementation uses ZipImportError, not ZipImporterError...
2006-01-15 15:00:40 +00:00
Martin v. Löwis
d056005482
Change build format of netlink addresses.
2006-01-15 07:49:20 +00:00
Martin v. Löwis
11017b172d
Patch #1103116 : AF_NETLINK sockets basic support.
2006-01-14 18:12:57 +00:00
Neal Norwitz
3b4fff8079
Fix SF bug #1402308 , segfault when using mmap(-1, ...)
...
This didn't crash on Linux, but valgrind complained.
I'm not sure if this test is valid on Windows.
Will backport.
2006-01-11 08:54:45 +00:00
Neal Norwitz
88bbd73d07
SF bug #1400822 , Extended version of _curses over{lay,write} does not work
...
Fix signatures to conform to doc (also fixed ungetmouse()).
Will backport.
2006-01-10 07:05:44 +00:00
Neal Norwitz
5e3d862392
Bug #1400115 , Fix segfault when calling curses.panel.userptr()
...
without prior setting of the userptr.
Will backport.
2006-01-09 06:24:35 +00:00
Neal Norwitz
d948a43df8
Fix icc warnings: try to set TCL_UNIX_FD for #if TCL_WIN_SOCKET == TCL_UNIX_FD. res is not used, add a XXX comment
2006-01-08 01:08:55 +00:00
Neal Norwitz
e4ab5f5531
Fix icc warnings: HASH_OBJ_CONSTRUCTOR was not defined and using #if HASH_OBJ_CONSTRUCTOR
2006-01-08 01:08:09 +00:00
Neal Norwitz
d39d861a36
Fix icc warnings: strlen() returns size_t
2006-01-08 01:03:36 +00:00
Neal Norwitz
52ca0dd712
Fix icc warnings: using wrong enum type
2006-01-07 21:21:16 +00:00
Neal Norwitz
f0459142d5
Fix icc warnings: extra semi-colon and signed vs unsigned
2006-01-07 21:20:24 +00:00
Neal Norwitz
3f0464839b
Fix icc warnings: extra semi-colon
2006-01-07 21:19:49 +00:00
Tim Peters
a9652f11ad
Py_GetBuildInfo(): Squash compiler warnings.
...
Locals `revision` and `branch` were const-incorrect.
2006-01-06 02:45:17 +00:00
Martin v. Löwis
456af5f78b
Deal with empty svn_revisions.
2006-01-06 00:43:42 +00:00
Martin v. Löwis
43b57805fb
Drop sys.build_number. Add sys.subversion.
2006-01-05 23:38:54 +00:00
Skip Montanaro
2b47445234
squash compiler warning on Mac OSX 10.3
2006-01-05 10:49:13 +00:00
Martin v. Löwis
c5bf5a00a3
Always set SVNVERSION to "exported" if it otherwise fails.
2006-01-05 10:33:59 +00:00
Martin v. Löwis
dea59e5755
Stop maintaining the buildno file.
...
Also, stop determining Unicode sizes with PyString_GET_SIZE.
2006-01-05 10:00:36 +00:00
Neal Norwitz
40c6b47ca1
Fix errors on 64-bit platforms. Will backport
2006-01-05 05:43:35 +00:00
Martin v. Löwis
70cef449ca
Remove unneeded directories.
2006-01-03 06:48:38 +00:00