]> granicus.if.org Git - python/log
python
16 years agoPost tag version tweak
Barry Warsaw [Thu, 3 Apr 2008 04:14:19 +0000 (04:14 +0000)]
Post tag version tweak

16 years agoCreate the tag for 2.6a2
Barry Warsaw [Thu, 3 Apr 2008 04:11:10 +0000 (04:11 +0000)]
Create the tag for 2.6a2

16 years agoUpdating for 2.6a2 v2.6a2
Barry Warsaw [Thu, 3 Apr 2008 04:10:02 +0000 (04:10 +0000)]
Updating for 2.6a2

16 years agoSuggested proposed changes to Python be considered on some mailing lists first
Benjamin Peterson [Wed, 2 Apr 2008 21:20:35 +0000 (21:20 +0000)]
Suggested proposed changes to Python be considered on some mailing lists first

16 years agoRemove debug prints; the buildbot now passes the tests
Amaury Forgeot d'Arc [Wed, 2 Apr 2008 21:18:46 +0000 (21:18 +0000)]
Remove debug prints; the buildbot now passes the tests

16 years agoAdded updates with respect to recent changes to TimedRotatingFileHandler.
Vinay Sajip [Wed, 2 Apr 2008 21:17:25 +0000 (21:17 +0000)]
Added updates with respect to recent changes to TimedRotatingFileHandler.

16 years agoAdded updates with respect to recent changes to TimedRotatingFileHandler.
Vinay Sajip [Wed, 2 Apr 2008 21:10:23 +0000 (21:10 +0000)]
Added updates with respect to recent changes to TimedRotatingFileHandler.

16 years agoFix: #2315, #2316, #2317: TimedRotatingFileHandler - changed logic to better handle...
Vinay Sajip [Wed, 2 Apr 2008 21:09:27 +0000 (21:09 +0000)]
Fix: #2315, #2316, #2317: TimedRotatingFileHandler - changed logic to better handle daylight savings time, deletion of old log files, and fixed a bug in calculating rollover when no logging occurs for a longer interval than the rollover period.

16 years agoUpdate information pertaining to building external components, as well as notes on...
Trent Nelson [Wed, 2 Apr 2008 15:01:00 +0000 (15:01 +0000)]
Update information pertaining to building external components, as well as notes on x64 builds.  This file now accurately describes the build process as is; however, there's still a lot of room for improvement, especially with regards to how we build Tcl/Tk, Tix, and OpenSSL.  Watch this space for further improvements.

16 years agoApply same patch from 3k branch to try and prevent this test from hanging
Neal Norwitz [Wed, 2 Apr 2008 05:54:27 +0000 (05:54 +0000)]
Apply same patch from 3k branch to try and prevent this test from hanging
on various platforms, most recently the Alpha Tru64.

16 years agoTry to make test_signal less flaky. I still see some flakiness in
Jeffrey Yasskin [Wed, 2 Apr 2008 04:07:44 +0000 (04:07 +0000)]
Try to make test_signal less flaky.  I still see some flakiness in
test_itimer_prof.

16 years agoA DocTestSuite cannot run multiple times: it clears its globals dictionary after...
Amaury Forgeot d'Arc [Wed, 2 Apr 2008 00:55:04 +0000 (00:55 +0000)]
A DocTestSuite cannot run multiple times: it clears its globals dictionary after the first run.

Rebuild the DocTestSuite on each iteration.

16 years agoCorrect the apparent refleak in test_io:
Amaury Forgeot d'Arc [Wed, 2 Apr 2008 00:25:14 +0000 (00:25 +0000)]
Correct the apparent refleak in test_io:
When cls is an ABCMeta, every call to isinstance(x, cls)
records type(x) in the cls._abc_cache of cls_abc_negative_cache.
So we clear these caches at the end of the test.

inspect.isabstract() is not the correct test for all ABCs, because there is no @abstractmethod in io.py (why?)
isinstance(cls, ABCMeta) would be more exact, but it fails with an infinite recursion.
So I used a hack to determine whether a class is an ABCMeta.

The true correction would be to turn cls._abc_cache &co into a WeakSet, as py3k does.
But classic classes are not weak referenceable...

Of course, this change should not be merged into the py3k branch.

16 years agoRemove the advertising clause from the BSD license in timing.h.
Guido van Rossum [Tue, 1 Apr 2008 23:57:36 +0000 (23:57 +0000)]
Remove the advertising clause from the BSD license in timing.h.
I have the email trail to prove that George Neville-Neil approved this.

16 years agoNewly enabled test appears to leak:
Amaury Forgeot d'Arc [Tue, 1 Apr 2008 22:52:48 +0000 (22:52 +0000)]
Newly enabled test appears to leak:
it registers the same codec on each iteration.
Do it only once at load time.

16 years agoFix and enable a skipped test:
Amaury Forgeot d'Arc [Tue, 1 Apr 2008 22:37:33 +0000 (22:37 +0000)]
Fix and enable a skipped test:
with python 2.6, enumerating bytes yields 1-char strings, not numbers.

Don't merge this into the py3k branch.

16 years agoAdd ``if __name__ == '__main__'`` to some test files where it didn't take a lot
Brett Cannon [Tue, 1 Apr 2008 12:46:02 +0000 (12:46 +0000)]
Add ``if __name__ == '__main__'`` to some test files where it didn't take a lot
of effort to do so.

16 years agoGeneralize test.test_support.test_stdout() with a base context manager so that
Brett Cannon [Tue, 1 Apr 2008 12:37:43 +0000 (12:37 +0000)]
Generalize test.test_support.test_stdout() with a base context manager so that
it is easy to capture stderr if desired.

16 years agoBe sure to close the file. 2 places were deleting the file, so it was probably
Neal Norwitz [Tue, 1 Apr 2008 05:40:43 +0000 (05:40 +0000)]
Be sure to close the file.  2 places were deleting the file, so it was probably
fine, but the last change may be required for the test to pass on Windows.
Should we always close the mmap too?

16 years agoPyErr_Warn is decrepated. Use PyErr_WarnEx
Benjamin Peterson [Mon, 31 Mar 2008 21:57:13 +0000 (21:57 +0000)]
PyErr_Warn is decrepated. Use PyErr_WarnEx

16 years agoMerged revisions 61990-62079 via svnmerge from
Martin v. Löwis [Mon, 31 Mar 2008 05:20:55 +0000 (05:20 +0000)]
Merged revisions 61990-62079 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r62017 | david.wolever | 2008-03-28 21:54:37 +0100 (Fr, 28 Mär 2008) | 1 line

  Fixed an out-of-date comment.
........

16 years agoUse file.write instead of print to make it easier to merge with 3k.
Neal Norwitz [Mon, 31 Mar 2008 04:28:40 +0000 (04:28 +0000)]
Use file.write instead of print to make it easier to merge with 3k.

16 years agoBlock the sys.exc_clear -3 warning from threading.py.
Jeffrey Yasskin [Mon, 31 Mar 2008 00:35:53 +0000 (00:35 +0000)]
Block the sys.exc_clear -3 warning from threading.py.

16 years agoMake AST nodes pickleable.
Georg Brandl [Sun, 30 Mar 2008 20:20:39 +0000 (20:20 +0000)]
Make AST nodes pickleable.

16 years agoFix error message -- "expects either 0 or 0 arguments"
Georg Brandl [Sun, 30 Mar 2008 19:43:27 +0000 (19:43 +0000)]
Fix error message -- "expects either 0 or 0 arguments"

16 years agoThe other download formats will be available for 2.6 too.
Georg Brandl [Sun, 30 Mar 2008 19:41:39 +0000 (19:41 +0000)]
The other download formats will be available for 2.6 too.

16 years agoUpdated README regarding doc formats
Benjamin Peterson [Sun, 30 Mar 2008 19:35:10 +0000 (19:35 +0000)]
Updated README regarding doc formats

16 years agoMake _fields attr for no fields consistent with _attributes attr.
Georg Brandl [Sun, 30 Mar 2008 19:00:49 +0000 (19:00 +0000)]
Make _fields attr for no fields consistent with _attributes attr.

16 years agoConvert test_ast to unittest and add a test for r62049.
Georg Brandl [Sun, 30 Mar 2008 07:09:22 +0000 (07:09 +0000)]
Convert test_ast to unittest and add a test for r62049.

16 years ago#2505: allow easier creation of AST nodes.
Georg Brandl [Sun, 30 Mar 2008 07:01:47 +0000 (07:01 +0000)]
#2505: allow easier creation of AST nodes.

16 years agoAdapt test_ast to the new ExceptHandler type.
Georg Brandl [Sun, 30 Mar 2008 06:53:55 +0000 (06:53 +0000)]
Adapt test_ast to the new ExceptHandler type.

16 years agoPatch #2511: Give the "excepthandler" AST item proper attributes by making it a Sum.
Georg Brandl [Sun, 30 Mar 2008 06:40:17 +0000 (06:40 +0000)]
Patch #2511: Give the "excepthandler" AST item proper attributes by making it a Sum.

16 years agoDocumented the lastrowid attribute.
Gerhard Häring [Sat, 29 Mar 2008 19:11:52 +0000 (19:11 +0000)]
Documented the lastrowid attribute.

16 years ago#2503 make singletons compared with "is" not == or !=
Benjamin Peterson [Sat, 29 Mar 2008 15:24:25 +0000 (15:24 +0000)]
#2503 make singletons compared with "is" not == or !=
Thanks to Wummel for the patch

16 years agoStill investigating on the hanging test_socket.
Amaury Forgeot d'Arc [Sat, 29 Mar 2008 14:53:05 +0000 (14:53 +0000)]
Still investigating on the hanging test_socket.
the test itself doesn't do anything on windows, focus on setUp and tearDown.

16 years agoThe buildbot "x86 W2k8 trunk" seems to hang in test_socket.
Amaury Forgeot d'Arc [Sat, 29 Mar 2008 13:47:05 +0000 (13:47 +0000)]
The buildbot "x86 W2k8 trunk" seems to hang in test_socket.
http://www.python.org/dev/buildbot/trunk/x86%20W2k8%20trunk/builds/255/step-test/0

Temporarily increase verbosity of this test.

16 years agoProperly check for consistency with the third argument of
Georg Brandl [Sat, 29 Mar 2008 13:24:23 +0000 (13:24 +0000)]
Properly check for consistency with the third argument of
compile() when compiling an AST node.

16 years agoNow that Lib/test/output is gone, tests should not print anything,
Amaury Forgeot d'Arc [Sat, 29 Mar 2008 13:14:52 +0000 (13:14 +0000)]
Now that Lib/test/output is gone, tests should not print anything,
except in verbose mode.
Support code is much simpler.

16 years agolib2to3 should install a logging handler only when run as a main program,
Amaury Forgeot d'Arc [Sat, 29 Mar 2008 12:42:54 +0000 (12:42 +0000)]
lib2to3 should install a logging handler only when run as a main program,
not when used as a library.

This may please the buildbots, which fail when test_lib2to3 is run before test_logging.

16 years agoFix capitalization.
Georg Brandl [Sat, 29 Mar 2008 11:46:18 +0000 (11:46 +0000)]
Fix capitalization.

16 years agoBe explicit about what efficient means.
Raymond Hettinger [Sat, 29 Mar 2008 10:42:07 +0000 (10:42 +0000)]
Be explicit about what efficient means.

16 years agoBackport #1442: report exception when startup file cannot be run.
Georg Brandl [Sat, 29 Mar 2008 01:50:06 +0000 (01:50 +0000)]
Backport #1442: report exception when startup file cannot be run.

16 years agoCorrectly call the base class tearDown();
Amaury Forgeot d'Arc [Sat, 29 Mar 2008 01:42:31 +0000 (01:42 +0000)]
Correctly call the base class tearDown();
otherwise running test_logging twice produce the errors we see on all buildbots

16 years agoRevert my experiment. I found one reason of failures in test_logging.
Amaury Forgeot d'Arc [Sat, 29 Mar 2008 01:41:08 +0000 (01:41 +0000)]
Revert my experiment. I found one reason of failures in test_logging.

16 years agoBrought documentation for sqlite3 module up-to-date. Fixed Issue1625205 which
Gerhard Häring [Sat, 29 Mar 2008 01:27:37 +0000 (01:27 +0000)]
Brought documentation for sqlite3 module up-to-date. Fixed Issue1625205 which
complained about commit, rollback and close not being documented.

16 years agoAt least let the module compile
Amaury Forgeot d'Arc [Sat, 29 Mar 2008 00:49:07 +0000 (00:49 +0000)]
At least let the module compile

16 years agoTry to understand why most buildbots suddenly turned to red.
Amaury Forgeot d'Arc [Sat, 29 Mar 2008 00:44:58 +0000 (00:44 +0000)]
Try to understand why most buildbots suddenly turned to red.
Undo the only change that might have unexpected effects.

To be followed.

16 years agoNIL => NULL
Benjamin Peterson [Fri, 28 Mar 2008 23:11:01 +0000 (23:11 +0000)]
NIL => NULL

16 years agoOne #ifdef too much, and I broke all windows buildbots:
Amaury Forgeot d'Arc [Fri, 28 Mar 2008 22:43:38 +0000 (22:43 +0000)]
One #ifdef too much, and I broke all windows buildbots:
in pyconfig.h, NTDDI_WIN2KSP4 is not *yet* defined, but will be at some point on some modules.

Let this line even for older SDKs, they don't use it anyway.

16 years agoRepair compilation for Visual Studio 2005.
Amaury Forgeot d'Arc [Fri, 28 Mar 2008 21:55:29 +0000 (21:55 +0000)]
Repair compilation for Visual Studio 2005.

I applied the same changes manually to VS7.1 and VC6 files; completely untested.

(Christian, don't try too hard merging this change into py3k.
It will be easier to do the same work again on the branch)

16 years ago#2498 modernized try, except, finally statements in bdb
Benjamin Peterson [Fri, 28 Mar 2008 20:56:00 +0000 (20:56 +0000)]
#2498 modernized try, except, finally statements in bdb

16 years agoFix a reference leak found by Georg, when compiling a class nested in another class.
Amaury Forgeot d'Arc [Fri, 28 Mar 2008 20:30:50 +0000 (20:30 +0000)]
Fix a reference leak found by Georg, when compiling a class nested in another class.
Now "regrtest.py -R:: test_compile" is satisfied.

Will backport.

16 years agoSilence compiler warning at the source.
Georg Brandl [Fri, 28 Mar 2008 20:22:56 +0000 (20:22 +0000)]
Silence compiler warning at the source.

16 years agoSilence a compilation warning
Amaury Forgeot d'Arc [Fri, 28 Mar 2008 20:17:51 +0000 (20:17 +0000)]
Silence a compilation warning

16 years agoThese svn adds were forgotten in r62000
Gregory P. Smith [Fri, 28 Mar 2008 20:11:49 +0000 (20:11 +0000)]
These svn adds were forgotten in r62000

16 years agoUpdate sqlite3 module to match current version of pysqlite.
Gerhard Häring [Fri, 28 Mar 2008 20:08:36 +0000 (20:08 +0000)]
Update sqlite3 module to match current version of pysqlite.

16 years ago#2502: add example how to do enum types with named tuples.
Georg Brandl [Fri, 28 Mar 2008 12:58:26 +0000 (12:58 +0000)]
#2502: add example how to do enum types with named tuples.

16 years agoDon't use the confusing term "set membership".
Georg Brandl [Fri, 28 Mar 2008 12:24:51 +0000 (12:24 +0000)]
Don't use the confusing term "set membership".

16 years agoPhase out has_key usage in the tutorial; correct docs for PyMapping_HasKey*.
Georg Brandl [Fri, 28 Mar 2008 12:22:12 +0000 (12:22 +0000)]
Phase out has_key usage in the tutorial; correct docs for PyMapping_HasKey*.

16 years agoPatch #1810 by Thomas Lee, reviewed by myself:
Georg Brandl [Fri, 28 Mar 2008 12:11:56 +0000 (12:11 +0000)]
Patch #1810 by Thomas Lee, reviewed by myself:
allow compiling Python AST objects into code objects
in compile().

16 years agoAccept patch issue2426 by Paul Kippes (kippesp).
Gregory P. Smith [Fri, 28 Mar 2008 08:32:09 +0000 (08:32 +0000)]
Accept patch issue2426 by Paul Kippes (kippesp).

Adds sqlite3.Connection.iterdump to allow dumping of databases.

16 years ago#2406: add examples to gzip docs.
Georg Brandl [Fri, 28 Mar 2008 08:06:56 +0000 (08:06 +0000)]
#2406: add examples to gzip docs.

16 years agoThis patch moves some tests from test_urllib2_net to test_urllib2_localnet.
Gregory P. Smith [Fri, 28 Mar 2008 08:00:44 +0000 (08:00 +0000)]
This patch moves some tests from test_urllib2_net to test_urllib2_localnet.
The moved tests use a local server rather than going out to external servers.

Accepts patch from issue2429.

Contributed by Jerry Seutter & Michael Foord (fuzzyman) at PyCon 2008.

16 years agoName the main method correctly so the test is run
Neal Norwitz [Fri, 28 Mar 2008 07:36:31 +0000 (07:36 +0000)]
Name the main method correctly so the test is run

16 years agoBug 1503: Get the test to pass on OSX. This should make the test more
Neal Norwitz [Fri, 28 Mar 2008 06:34:03 +0000 (06:34 +0000)]
Bug 1503: Get the test to pass on OSX.  This should make the test more
reliable, but I'm not convinced it is the right solution.  We need
to determine if this causes the test to hang on any platforms or do
other bad things.

Even if it gets the test to pass reliably, it might be that we want
to fix this in socket.  The socket returned from accept() is different
on different platforms (inheriting attributes or not) and we might
want to ensure that the attributes (at least blocking) is the same
across all platforms.

16 years agoFix compiler warning about finite() missing on Solaris.
Neal Norwitz [Fri, 28 Mar 2008 05:34:59 +0000 (05:34 +0000)]
Fix compiler warning about finite() missing on Solaris.

16 years agoMerged revisions 61825-61989 via svnmerge from
Martin v. Löwis [Fri, 28 Mar 2008 05:27:44 +0000 (05:27 +0000)]
Merged revisions 61825-61989 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r61899 | collin.winter | 2008-03-25 17:53:41 +0100 (Di, 25 Mär 2008) | 1 line

  Add a missing explicit fixer to test_all_fixers.
........
  r61983 | collin.winter | 2008-03-28 03:19:46 +0100 (Fr, 28 Mär 2008) | 2 lines

  Fix http://bugs.python.org/issue2453: support empty excepts in fix_except.
........

16 years agoRun 2to3 tests.
Martin v. Löwis [Fri, 28 Mar 2008 05:26:10 +0000 (05:26 +0000)]
Run 2to3 tests.

16 years agoDisable test that depends on #2412 being fixed.
Martin v. Löwis [Fri, 28 Mar 2008 05:25:36 +0000 (05:25 +0000)]
Disable test that depends on #2412 being fixed.

16 years agoRevert r61969 which added casts to Py_CHARMASK to avoid compiler warnings.
Neal Norwitz [Fri, 28 Mar 2008 04:58:51 +0000 (04:58 +0000)]
Revert r61969 which added casts to Py_CHARMASK to avoid compiler warnings.
Rather than sprinkle casts throughout the code, change Py_CHARMASK to
always cast it's result to an unsigned char.  This should ensure we
do the right thing when accessing an array with the result.

16 years agoPrint more information the next time test_socket throws the wrong exception.
Jeffrey Yasskin [Fri, 28 Mar 2008 04:53:10 +0000 (04:53 +0000)]
Print more information the next time test_socket throws the wrong exception.

16 years agoAllow use of other ports so the test can pass if 9091 is in use
Neal Norwitz [Fri, 28 Mar 2008 04:41:34 +0000 (04:41 +0000)]
Allow use of other ports so the test can pass if 9091 is in use

16 years agoKill a race in test_threading in which the exception info in a thread finishing
Jeffrey Yasskin [Fri, 28 Mar 2008 04:11:18 +0000 (04:11 +0000)]
Kill a race in test_threading in which the exception info in a thread finishing
up after it was joined had a traceback pointing to that thread's (deleted)
target attribute, while the test was trying to check that the target was
destroyed. Big thanks to Antoine Pitrou for diagnosing the race and pointing
out sys.exc_clear() to kill the exception early. This fixes issue 2496.

16 years agotest_future3.py is a regular test file, and should be part of the test suite
Amaury Forgeot d'Arc [Fri, 28 Mar 2008 00:21:34 +0000 (00:21 +0000)]
test_future3.py is a regular test file, and should be part of the test suite

16 years agoIssue2495: tokenize.untokenize did not insert space between two consecutive string...
Amaury Forgeot d'Arc [Thu, 27 Mar 2008 23:23:54 +0000 (23:23 +0000)]
Issue2495: tokenize.untokenize did not insert space between two consecutive string literals:
"" "" => """", which is invalid code.

Will backport

16 years agoThe bug for which there was a test in outstanding_bugs.py was agreed not to be a...
Georg Brandl [Thu, 27 Mar 2008 13:34:59 +0000 (13:34 +0000)]
The bug for which there was a test in outstanding_bugs.py was agreed not to be a bug.

16 years ago#2248: return result of QUIT from quit().
Georg Brandl [Thu, 27 Mar 2008 13:27:31 +0000 (13:27 +0000)]
#2248: return result of QUIT from quit().

16 years agoFixed tokenize tests
Christian Heimes [Thu, 27 Mar 2008 11:46:37 +0000 (11:46 +0000)]
Fixed tokenize tests
The tokenize module doesn't understand __future__.unicode_literals yet

16 years agoBuild bots are working again - removing the hack
Christian Heimes [Thu, 27 Mar 2008 10:35:52 +0000 (10:35 +0000)]
Build bots are working again - removing the hack

16 years agoAdded test cases for single quoted strings, both forms of triple quotes,
Eric Smith [Thu, 27 Mar 2008 09:42:35 +0000 (09:42 +0000)]
Added test cases for single quoted strings, both forms of triple quotes,
 and some string concatenations.
Removed unneeded __future__ print_function import.

16 years agoQuick 'n dirty hack: Increase the magic by 2 to force a rebuild of pyc/pyo files...
Christian Heimes [Thu, 27 Mar 2008 09:02:33 +0000 (09:02 +0000)]
Quick 'n dirty hack: Increase the magic by 2 to force a rebuild of pyc/pyo files on the build bots

16 years agoPluralss only need one s, not 2 (intss -> ints)
Neal Norwitz [Thu, 27 Mar 2008 06:52:01 +0000 (06:52 +0000)]
Pluralss only need one s, not 2 (intss -> ints)

16 years agoFix compiler warnings
Neal Norwitz [Thu, 27 Mar 2008 05:03:11 +0000 (05:03 +0000)]
Fix compiler warnings

16 years agoFix test_compiler after adding unicode_literals
Neal Norwitz [Thu, 27 Mar 2008 05:02:57 +0000 (05:02 +0000)]
Fix test_compiler after adding unicode_literals

16 years agoFix warnings about using char as an array subscript. This is not portable
Neal Norwitz [Thu, 27 Mar 2008 04:40:50 +0000 (04:40 +0000)]
Fix warnings about using char as an array subscript.  This is not portable
since char is signed on some platforms and unsigned on others.

16 years agoFix memory leaks
Neal Norwitz [Thu, 27 Mar 2008 04:40:07 +0000 (04:40 +0000)]
Fix memory leaks

16 years agoFix bytes so it works on 64-bit platforms.
Neal Norwitz [Thu, 27 Mar 2008 03:49:54 +0000 (03:49 +0000)]
Fix bytes so it works on 64-bit platforms.
(Also remove some #if 0 code that is already handled in _getbytevalue.)

16 years agoRevert commit accident
Christian Heimes [Thu, 27 Mar 2008 01:38:47 +0000 (01:38 +0000)]
Revert commit accident

16 years agoHopefully added _fileio module to the Windows build system
Christian Heimes [Thu, 27 Mar 2008 01:36:21 +0000 (01:36 +0000)]
Hopefully added _fileio module to the Windows build system

16 years agoadd commas for introductory clauses
Benjamin Peterson [Thu, 27 Mar 2008 00:25:33 +0000 (00:25 +0000)]
add commas for introductory clauses

16 years agoUse the new unicode literals for the io module
Christian Heimes [Wed, 26 Mar 2008 23:13:59 +0000 (23:13 +0000)]
Use the new unicode literals for the io module
use basestring instead of str in Python 2.x

16 years agoC89 compliance: Microsoft compilers want variable declarations at the top
Amaury Forgeot d'Arc [Wed, 26 Mar 2008 23:07:43 +0000 (23:07 +0000)]
C89 compliance: Microsoft compilers want variable declarations at the top

16 years agoI forgot to svn add the future test
Christian Heimes [Wed, 26 Mar 2008 22:55:31 +0000 (22:55 +0000)]
I forgot to svn add the future test

16 years agoInitialize PyCompilerFlags cf_flags with 0
Christian Heimes [Wed, 26 Mar 2008 22:51:58 +0000 (22:51 +0000)]
Initialize PyCompilerFlags cf_flags with 0

16 years agoSurround p_flags access with #ifdef PY_PARSER_REQUIRES_FUTURE_KEYWORD
Christian Heimes [Wed, 26 Mar 2008 22:20:26 +0000 (22:20 +0000)]
Surround p_flags access with #ifdef PY_PARSER_REQUIRES_FUTURE_KEYWORD

16 years agoPatch #2477: Added from __future__ import unicode_literals
Christian Heimes [Wed, 26 Mar 2008 22:01:37 +0000 (22:01 +0000)]
Patch #2477: Added from __future__ import unicode_literals

The new PyParser_*Ex() functions are based on Neal's suggestion and initial patch. The new __future__ feature makes all '' and r'' unicode strings. b'' and br'' stay (byte) strings.

16 years agoTypo: "objects reference count" -> "object's reference count"
Mark Dickinson [Wed, 26 Mar 2008 21:41:36 +0000 (21:41 +0000)]
Typo: "objects reference count" -> "object's reference count"

16 years agoFix and simplify error handling, silencing a compiler warning.
Georg Brandl [Wed, 26 Mar 2008 12:57:47 +0000 (12:57 +0000)]
Fix and simplify error handling, silencing a compiler warning.

16 years agoUpdated Misc/NEWS
Christian Heimes [Wed, 26 Mar 2008 12:53:58 +0000 (12:53 +0000)]
Updated Misc/NEWS

16 years agoRemoved merge tracking for "svnmerge" for
Christian Heimes [Wed, 26 Mar 2008 12:50:43 +0000 (12:50 +0000)]
Removed merge tracking for "svnmerge" for
svn+ssh://pythondev@svn.python.org/python/branches/trunk-bytearray