Enable universal newlines on Windows. Note that NEWS needs more words!

This commit is contained in:
Tim Peters 2002-04-21 07:30:30 +00:00
parent 058b141ef7
commit 639295f0a5
3 changed files with 6 additions and 1 deletions

View File

@ -511,7 +511,6 @@ _expectations = {
test_socketserver test_socketserver
test_sunaudiodev test_sunaudiodev
test_timing test_timing
test_univnewlines
""", """,
'linux2': 'linux2':
""" """

View File

@ -142,6 +142,9 @@ Tools/Demos
Build Build
- XXX WITH_UNIVERSAL_NEWLINES Somebody fill this in; the PEP doesn't
say how or when to configure it, or how to turn it off.
- On Unix, a shared libpython2.3.so can be created with --enable-shared. - On Unix, a shared libpython2.3.so can be created with --enable-shared.
- All uses of the CACHE_HASH, INTERN_STRINGS, and DONT_SHARE_SHORT_STRINGS - All uses of the CACHE_HASH, INTERN_STRINGS, and DONT_SHARE_SHORT_STRINGS

View File

@ -509,6 +509,9 @@ typedef int pid_t;
/* Use Python's own small-block memory-allocator. */ /* Use Python's own small-block memory-allocator. */
#define WITH_PYMALLOC 1 #define WITH_PYMALLOC 1
/* Enable \n, \r, \r\n line ends on import; also the 'U' mode flag for open. */
#define WITH_UNIVERSAL_NEWLINES 1
/* Define if you have clock. */ /* Define if you have clock. */
/* #define HAVE_CLOCK */ /* #define HAVE_CLOCK */