~pythonregexp2.7/python/issue2636-12

« back to all changes in this revision

Viewing changes to Modules/_sre.c

  • Committer: Jeffrey C. "The TimeHorse" Jacobs
  • Date: 2008-06-09 14:52:42 UTC
  • mfrom: (39033.1.3 Regexp-2.6)
  • Revision ID: darklord@timehorse.com-20080609145242-9m268zc6u87rp1vp
Merged in changes from the core Regexp branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
 
56
56
#define SRE_PY_MODULE "re"
57
57
 
58
 
/* defining this one enables tracing */
59
 
#undef VERBOSE
 
58
/* uncomment this define to enable tracing */
 
59
/* #define VERBOSE_SRE_ENGINE */
60
60
 
61
61
#if PY_VERSION_HEX >= 0x01060000
62
62
#if PY_VERSION_HEX  < 0x02020000 || defined(Py_USING_UNICODE)
101
101
#define SRE_ERROR_MEMORY -9 /* out of memory */
102
102
#define SRE_ERROR_INTERRUPTED -10 /* signal handler raised exception */
103
103
 
104
 
#if defined(VERBOSE)
 
104
#if defined(VERBOSE_SRE_ENGINE)
105
105
#define TRACE(v) printf v
106
106
#else
107
107
#define TRACE(v)