]>
granicus.if.org Git - python/log
Jeremy Hylton [Fri, 27 Jan 2006 15:18:39 +0000 (15:18 +0000)]
Improved handling of syntax errors.
Expand set of errors caught in set_context(). Some new errors, some
old error messages changed for consistency.
Fixed error checking in generator expression code. The first set of
tests were impossible condition given the grammar. In general, the
ast code uses REQ() for those sanity checks.
Fix some error handling for augmented assignments. As comments in the
code explain, set_context() ought to work here, but I got unexpected
crashes when I tried it. Should come back to this.
Add note to Grammar that yield expression is a special case.
Add doctest cases for SyntaxErrors raised by ast.c.
Gregory P. Smith [Fri, 27 Jan 2006 07:06:15 +0000 (07:06 +0000)]
Add wrapper for DBEnv.set_tx_timeout method to allow time based DB_RECOVER
(test cases and dbobj wrapping)
Gregory P. Smith [Fri, 27 Jan 2006 07:05:40 +0000 (07:05 +0000)]
Add wrapper for DBEnv.set_tx_timeout method to allow time based DB_RECOVER
Barry Warsaw [Thu, 26 Jan 2006 18:59:06 +0000 (18:59 +0000)]
Fix PyGC_Collect() to be exported from the built DLL on Windows. (Fix given
by Matt Messier).
Neal Norwitz [Wed, 25 Jan 2006 08:39:35 +0000 (08:39 +0000)]
There was a race condition where the connector would try to connect
before the listener was ready (on gentoo x86 buildslave). This
caused the listener to not exit normally since nobody connected to it
(waited in accept()). The exception was raised in the other thread
and the test failed.
This fix doesn't completely eliminate the race, but should make it
near impossible to trigger. Hopefully it's good enough.
Neal Norwitz [Wed, 25 Jan 2006 07:20:47 +0000 (07:20 +0000)]
Remove generated test db files
Neal Norwitz [Wed, 25 Jan 2006 05:42:22 +0000 (05:42 +0000)]
mwh pointed out _Filemodule.c is generated. So to fix the memory leak
this file (the source) must be fixed.
Why isn't there a comment at the top saying the file is generated and
why are both the source and generated file checked in? Bootstrap problem?
Will backport.
Neal Norwitz [Wed, 25 Jan 2006 05:21:55 +0000 (05:21 +0000)]
Fix bug #
1413192 , fix seg fault in bsddb if a txn was deleted before the env.
Will backport.
Tim Peters [Tue, 24 Jan 2006 22:44:54 +0000 (22:44 +0000)]
test_rude_shutdown(): Rewrote to use proper thread
synchronization and termination.
Tim Peters [Tue, 24 Jan 2006 22:44:08 +0000 (22:44 +0000)]
Whitespace normalization.
Gregory P. Smith [Tue, 24 Jan 2006 20:09:45 +0000 (20:09 +0000)]
note the bsddb extension module changes.
Gregory P. Smith [Tue, 24 Jan 2006 19:55:02 +0000 (19:55 +0000)]
commits sourceforge patch #
1407992 by neil.norwitz.
this fixes the bsddb db associate tests when compiled against
BerkeleyDB 3.3 thru 4.1. 4.2 thru 4.4 already passed and still
pass.
Fredrik Lundh [Tue, 24 Jan 2006 16:16:19 +0000 (16:16 +0000)]
module list utility
Martin v. Löwis [Tue, 24 Jan 2006 15:51:21 +0000 (15:51 +0000)]
Patch #
1349118 : urllib2 now supports user:pass@ style proxy
specifications, raises IOErrors when proxies for unsupported protocols
are defined, and uses the https proxy on https redirections.
Gregory P. Smith [Tue, 24 Jan 2006 09:46:48 +0000 (09:46 +0000)]
Support for BerkeleyDB 4.4 (tested against 4.4.20 as well as all the
way back thru 3.2). This should be backported to the release24-maint
branch.
Neal Norwitz [Tue, 24 Jan 2006 06:06:11 +0000 (06:06 +0000)]
Fix SF #
1412837 , compile failed with Watcom compiler
Tim Peters [Mon, 23 Jan 2006 22:19:24 +0000 (22:19 +0000)]
Repaired new test failures on Windows:
- The path separator isn't "/" on Windows.
- Leaving behind a read-only file causes cascades
of bogus failures on Windows.
Georg Brandl [Mon, 23 Jan 2006 22:00:17 +0000 (22:00 +0000)]
Correct misspellings.
Georg Brandl [Mon, 23 Jan 2006 21:33:48 +0000 (21:33 +0000)]
Add markup to new section in codecs docs
Georg Brandl [Mon, 23 Jan 2006 21:33:03 +0000 (21:33 +0000)]
Correct typos and markup errors (Raymond, thanks for texcheck)
Georg Brandl [Mon, 23 Jan 2006 21:31:00 +0000 (21:31 +0000)]
Add two missing markup tags.
Tim Peters [Mon, 23 Jan 2006 21:28:42 +0000 (21:28 +0000)]
Whitespace normalization.
Georg Brandl [Mon, 23 Jan 2006 20:49:24 +0000 (20:49 +0000)]
Add \versionadded for sftp scheme
Neal Norwitz [Mon, 23 Jan 2006 08:48:03 +0000 (08:48 +0000)]
Disable this test until I can test on big-endian machines and get passing
Neal Norwitz [Mon, 23 Jan 2006 07:52:13 +0000 (07:52 +0000)]
Test zipimporter a bit more. Also get working with -R :: option for finding ref leaks
Neal Norwitz [Mon, 23 Jan 2006 07:51:27 +0000 (07:51 +0000)]
Convenience function to remove a possibly non-existant file
Neal Norwitz [Mon, 23 Jan 2006 07:50:06 +0000 (07:50 +0000)]
Test getsignal() and some error conditions
Neal Norwitz [Mon, 23 Jan 2006 07:49:36 +0000 (07:49 +0000)]
Use unittest and make sure a few other cases don't crash
Neal Norwitz [Mon, 23 Jan 2006 07:25:29 +0000 (07:25 +0000)]
This should fix a mem leak on the Mac. Brett tested it.
Georg Brandl [Sun, 22 Jan 2006 20:47:26 +0000 (20:47 +0000)]
Another typo.
Georg Brandl [Sun, 22 Jan 2006 19:38:05 +0000 (19:38 +0000)]
typo
Georg Brandl [Sun, 22 Jan 2006 19:34:59 +0000 (19:34 +0000)]
Correct several typos in libos.tex. Bug #
1412227 .
Georg Brandl [Sun, 22 Jan 2006 16:11:01 +0000 (16:11 +0000)]
Typo
Georg Brandl [Sun, 22 Jan 2006 13:49:21 +0000 (13:49 +0000)]
Remove reference to Grail and Netscape 2.0 from cgi docs.
Vinay Sajip [Sun, 22 Jan 2006 11:58:39 +0000 (11:58 +0000)]
Misc. changes, including documenting the ability to specify a class attribute in Formatter configuration. Contributed by Shane Hathaway.
Walter Dörwald [Sat, 21 Jan 2006 10:50:39 +0000 (10:50 +0000)]
Fix typo
Georg Brandl [Sat, 21 Jan 2006 07:20:56 +0000 (07:20 +0000)]
Bug #902075: urllib2 now handles "host:port" proxy specifications
Can/should this be backported?
Tim Peters [Sat, 21 Jan 2006 02:47:53 +0000 (02:47 +0000)]
_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.
Tim Peters [Fri, 20 Jan 2006 23:40:56 +0000 (23:40 +0000)]
Whitespace normalization.
Georg Brandl [Fri, 20 Jan 2006 21:36:02 +0000 (21:36 +0000)]
Patch #
1410998 : remove "DOS" from os.py docstring
Georg Brandl [Fri, 20 Jan 2006 21:33:54 +0000 (21:33 +0000)]
Patch #
1410783 : add documentation links for static/classmethod
Georg Brandl [Fri, 20 Jan 2006 21:17:01 +0000 (21:17 +0000)]
Document supported schemes.
Georg Brandl [Fri, 20 Jan 2006 21:03:35 +0000 (21:03 +0000)]
Try to resolve the remaining webbrowser issues (backgrounding, local urls)
Tim Peters [Fri, 20 Jan 2006 20:03:24 +0000 (20:03 +0000)]
Whitespace normalization.
Vinay Sajip [Fri, 20 Jan 2006 18:29:36 +0000 (18:29 +0000)]
Added a test for the ability to specify a class attribute in Formatter configuration. Contributed by Shane Hathaway.
Vinay Sajip [Fri, 20 Jan 2006 18:28:59 +0000 (18:28 +0000)]
Added a test for the ability to specify a class attribute in Formatter configuration. Contributed by Shane Hathaway.
Vinay Sajip [Fri, 20 Jan 2006 18:28:03 +0000 (18:28 +0000)]
Added the ability to specify a class attribute in Formatter configuration. Contributed by Shane Hathaway.
Georg Brandl [Fri, 20 Jan 2006 17:55:00 +0000 (17:55 +0000)]
Patch #
1388073 : Make unittest.TestCase easier to subclass
Georg Brandl [Fri, 20 Jan 2006 17:53:27 +0000 (17:53 +0000)]
typo
Georg Brandl [Fri, 20 Jan 2006 17:51:37 +0000 (17:51 +0000)]
Add markup to a "Python Standard Library" doc reference I added for bug 839585.
Georg Brandl [Fri, 20 Jan 2006 17:48:54 +0000 (17:48 +0000)]
Checkin the test of patch #
1400181 .
Georg Brandl [Fri, 20 Jan 2006 17:24:23 +0000 (17:24 +0000)]
Bug #
1407902 : Added support for sftp:// URIs to urlparse.
Georg Brandl [Fri, 20 Jan 2006 13:38:26 +0000 (13:38 +0000)]
Readd bug report note.
Georg Brandl [Fri, 20 Jan 2006 09:34:29 +0000 (09:34 +0000)]
Bug #
1402224 : Add warning to dl docs about crashes.
Georg Brandl [Fri, 20 Jan 2006 09:14:36 +0000 (09:14 +0000)]
Bug #
1396471 : Document that Windows' ftell() can return invalid
values for text files with UNIX-style line endings.
Georg Brandl [Fri, 20 Jan 2006 09:07:35 +0000 (09:07 +0000)]
Bug #
1371247 : Update Windows LCIDs in locale.py.
Fred Drake [Fri, 20 Jan 2006 03:30:36 +0000 (03:30 +0000)]
add missing version identification
Martin v. Löwis [Thu, 19 Jan 2006 16:17:31 +0000 (16:17 +0000)]
Pass unquoted string to stat.
Tim Peters [Thu, 19 Jan 2006 15:25:07 +0000 (15:25 +0000)]
initwinsound(): this no longer compiled on Windows,
because code snuck in between auto declarations.
Tim Peters [Thu, 19 Jan 2006 15:21:30 +0000 (15:21 +0000)]
initmsvcrt(): This no longer compiled on Windows, because
a recent change inserted code before an auto declaration.
Brett Cannon [Thu, 19 Jan 2006 07:09:09 +0000 (07:09 +0000)]
Add a more informative error message for test_float_parsing so the failing
locale can be known.
Neal Norwitz [Thu, 19 Jan 2006 06:09:39 +0000 (06:09 +0000)]
Check return result from Py_InitModule*(). This API can fail.
Probably should be backported.
Tim Peters [Wed, 18 Jan 2006 20:04:02 +0000 (20:04 +0000)]
Quote the path to the executable before invoking system().
Martin v. Löwis [Wed, 18 Jan 2006 19:18:51 +0000 (19:18 +0000)]
Add missing make_buildinfo.c.
Martin v. Löwis [Wed, 18 Jan 2006 09:13:51 +0000 (09:13 +0000)]
Generate getbuildinfo.o each time the linker is invoked;
try to generate SVNVERSION information if subwcrev.exe
can be found.
Fredrik Lundh [Tue, 17 Jan 2006 21:31:31 +0000 (21:31 +0000)]
fixed example:
adding missing import, handle_close, test code, etc.
Barry Warsaw [Tue, 17 Jan 2006 05:58:08 +0000 (05:58 +0000)]
SF bug #
1347874 ; FeedParser does not comply with RFC2822.
Change headerRE as suggested in the bug report, so that single character
headers are accepted. Test case added too. Will backport to Python 2.4.
Neal Norwitz [Tue, 17 Jan 2006 05:27:39 +0000 (05:27 +0000)]
SF Bug #
1407069 , Remove extra semi-colon if there is no long long
Barry Warsaw [Tue, 17 Jan 2006 05:24:25 +0000 (05:24 +0000)]
Update email.Message.get_filename() documentation.
Barry Warsaw [Tue, 17 Jan 2006 04:49:07 +0000 (04:49 +0000)]
Ported 42075 from release23-maint branch.
SF bug #
1403349 solution for email 3.0; some MUAs use the 'file' parameter
name in the Content-Distribution header, so Message.get_filename() should fall
back to using that. Will port to the Python 2.5 trunk.
Also, bump the email package version to 3.0.1 for eventual release. Of
course, add a test case too.
XXX Need to update the documentation.
Vinay Sajip [Mon, 16 Jan 2006 21:28:37 +0000 (21:28 +0000)]
Refactoring for fileConfig. Contributed by Shane Hathaway.
Vinay Sajip [Mon, 16 Jan 2006 21:25:28 +0000 (21:25 +0000)]
Changes due to added test for fileConfig contributed by Shane Hathaway.
Vinay Sajip [Mon, 16 Jan 2006 21:24:38 +0000 (21:24 +0000)]
Added test for fileConfig. Contributed by Shane Hathaway.
Vinay Sajip [Mon, 16 Jan 2006 09:27:58 +0000 (09:27 +0000)]
Exceptions raised during renaming in rotating file handlers are now passed to handleError (except for SystemExit and KeyboardInterrupt, which are re-raised).
Vinay Sajip [Mon, 16 Jan 2006 09:27:10 +0000 (09:27 +0000)]
Exceptions raised during renaming in rotating file handlers are now passed to handleError (except for SystemExit and KeyboardInterrupt, which are re-raised).
Vinay Sajip [Mon, 16 Jan 2006 09:13:58 +0000 (09:13 +0000)]
TimedRotatingFileHandler now calculates next rollover from previous rollover rather than current time.
Vinay Sajip [Mon, 16 Jan 2006 09:08:06 +0000 (09:08 +0000)]
Fixed bug in time-to-midnight calculation.
Neal Norwitz [Mon, 16 Jan 2006 04:37:22 +0000 (04:37 +0000)]
refresh every 12 hours for crazy people like me that keep the page up
Neal Norwitz [Mon, 16 Jan 2006 04:31:40 +0000 (04:31 +0000)]
Get socketmodule to build after adding netlink support.
Andrew M. Kuchling [Sun, 15 Jan 2006 16:11:28 +0000 (16:11 +0000)]
Add recent item
Fredrik Lundh [Sun, 15 Jan 2006 15:00:40 +0000 (15:00 +0000)]
the implementation uses ZipImportError, not ZipImporterError...
Fredrik Lundh [Sun, 15 Jan 2006 14:59:55 +0000 (14:59 +0000)]
the implementation uses ZipImportError, not ZipImporterError...
Fredrik Lundh [Sun, 15 Jan 2006 10:17:59 +0000 (10:17 +0000)]
typo
Martin v. Löwis [Sun, 15 Jan 2006 09:34:11 +0000 (09:34 +0000)]
Remove buildno.
Martin v. Löwis [Sun, 15 Jan 2006 09:26:43 +0000 (09:26 +0000)]
Patch #
1396093 : Further .vcproj cleanups
Georg Brandl [Sun, 15 Jan 2006 07:55:35 +0000 (07:55 +0000)]
Remove dots in \version{changed,added} argument and
correct argument order.
Martin v. Löwis [Sun, 15 Jan 2006 07:49:20 +0000 (07:49 +0000)]
Change build format of netlink addresses.
Neal Norwitz [Sun, 15 Jan 2006 02:57:57 +0000 (02:57 +0000)]
Remove extra period at end.
Neal Norwitz [Sat, 14 Jan 2006 21:26:22 +0000 (21:26 +0000)]
Alphabetize some names and remove a dupe
Martin v. Löwis [Sat, 14 Jan 2006 18:12:57 +0000 (18:12 +0000)]
Patch #
1103116 : AF_NETLINK sockets basic support.
Fredrik Lundh [Sat, 14 Jan 2006 13:02:53 +0000 (13:02 +0000)]
added kjohnson to the ACKS list
Armin Rigo [Sat, 14 Jan 2006 10:58:30 +0000 (10:58 +0000)]
collected my segfaulting Python examples from the SF trackers
(is the purpose of the crashers directory to scare people? :-)
Neal Norwitz [Sat, 14 Jan 2006 07:05:13 +0000 (07:05 +0000)]
Fix typo
Georg Brandl [Fri, 13 Jan 2006 17:05:56 +0000 (17:05 +0000)]
Bug #
1394565 : SimpleHTTPServer now doesn't choke on query paramters
any more.
Georg Brandl [Fri, 13 Jan 2006 16:59:46 +0000 (16:59 +0000)]
Bug #
1403410 : The warnings module now doesn't get confused
when it can't find out the module name it generates a warning for.
Tim Peters [Fri, 13 Jan 2006 03:05:25 +0000 (03:05 +0000)]
Whitespace normalization.
Georg Brandl [Thu, 12 Jan 2006 15:41:05 +0000 (15:41 +0000)]
Test curses.setupterm() before initscr().
Neal Norwitz [Wed, 11 Jan 2006 08:54:45 +0000 (08:54 +0000)]
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.
Neal Norwitz [Wed, 11 Jan 2006 07:21:19 +0000 (07:21 +0000)]
add another crash reported by Thomas Wouters
Fredrik Lundh [Wed, 11 Jan 2006 00:18:43 +0000 (00:18 +0000)]
added a missing +\versionadded{2.2} tag