]>
granicus.if.org Git - python/log
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
Fredrik Lundh [Wed, 11 Jan 2006 00:14:29 +0000 (00:14 +0000)]
added a few missing \versionadded{2.3} tags
Georg Brandl [Tue, 10 Jan 2006 21:37:26 +0000 (21:37 +0000)]
Georg Brandl [Tue, 10 Jan 2006 20:07:13 +0000 (20:07 +0000)]
Remove outstanding_crashes again.
Georg Brandl [Tue, 10 Jan 2006 19:29:24 +0000 (19:29 +0000)]
Add outstanding_crashes.py with tests for crashes.
Neal Norwitz [Tue, 10 Jan 2006 07:49:41 +0000 (07:49 +0000)]
As I threatened on python-dev, add a directory which contains all known
bugs which cause the interpreter to crash. I'm sure we can find a few
more. Many missing bugs deal with variations on unchecked infinite recursion
(like coerce.py).
Neal Norwitz [Tue, 10 Jan 2006 07:05:44 +0000 (07:05 +0000)]
SF bug #
1400822 , Extended version of _curses over{lay,write} does not work
Fix signatures to conform to doc (also fixed ungetmouse()).
Will backport.
Neal Norwitz [Tue, 10 Jan 2006 06:03:13 +0000 (06:03 +0000)]
- Patch #
1400181 , fix unicode string formatting to not use the locale.
This is how string objects work. u'%f' could use , instead of .
for the decimal point. Now both strings and unicode always use periods.
This is the code that would break:
import locale
locale.setlocale(locale.LC_NUMERIC, 'de_DE')
u'%.1f' % 1.0
assert '1.0' == u'%.1f' % 1.0
I couldn't create a test case which fails, but this fixes the problem.
Will backport.
Fredrik Lundh [Mon, 9 Jan 2006 22:45:34 +0000 (22:45 +0000)]
added a couple of missing periods.
Georg Brandl [Mon, 9 Jan 2006 22:36:58 +0000 (22:36 +0000)]
Correct test_builtin locale handling.
Fredrik Lundh [Mon, 9 Jan 2006 22:02:26 +0000 (22:02 +0000)]
fixed broken sentence
Fredrik Lundh [Mon, 9 Jan 2006 22:01:18 +0000 (22:01 +0000)]
typo
Walter Dörwald [Mon, 9 Jan 2006 12:45:01 +0000 (12:45 +0000)]
Fix typos.
Neal Norwitz [Mon, 9 Jan 2006 07:29:03 +0000 (07:29 +0000)]
Add some notes about a recurring problem with OpenBSD
Neal Norwitz [Mon, 9 Jan 2006 07:07:12 +0000 (07:07 +0000)]
Fix bugs #
1244610 , #
1392915 , fix build problem on OpenBSD 3.7 and 3.8.
configure would break checking curses.h.
Will backport.
Neal Norwitz [Mon, 9 Jan 2006 06:24:35 +0000 (06:24 +0000)]
Bug #
1400115 , Fix segfault when calling curses.panel.userptr()
without prior setting of the userptr.
Will backport.
Georg Brandl [Sun, 8 Jan 2006 21:13:38 +0000 (21:13 +0000)]
Add myself.
Georg Brandl [Sun, 8 Jan 2006 14:32:19 +0000 (14:32 +0000)]
Add a test file (which isn't run by regrtest) for bugs which
aren't fixed yet.
Includes a first test (for compiler).
Martin v. Löwis [Sun, 8 Jan 2006 10:48:54 +0000 (10:48 +0000)]
Patch #
1299675 : Pass metadata in upload.
Martin v. Löwis [Sun, 8 Jan 2006 10:45:39 +0000 (10:45 +0000)]
Patch #
1177307 : UTF-8-Sig codec.
Martin v. Löwis [Sun, 8 Jan 2006 10:07:33 +0000 (10:07 +0000)]
Patch #881820: look for openpty and forkpty also in libbsd.
Will backport.
Neal Norwitz [Sun, 8 Jan 2006 06:13:44 +0000 (06:13 +0000)]
Remove some shadowed variables
Neal Norwitz [Sun, 8 Jan 2006 06:13:13 +0000 (06:13 +0000)]
strlen() returns a size_t, get rid of 64-bit warning
Tim Peters [Sun, 8 Jan 2006 02:28:41 +0000 (02:28 +0000)]
Repair bizarre indentation created by VC 7.1.
Tim Peters [Sun, 8 Jan 2006 02:25:34 +0000 (02:25 +0000)]
alias_for_import_name(): Dueling compiler warnings ;-)
Squash new warnings from VC 7.1 about mixing signed and
unsigned types in comparisons. I can see why `len` was
changed to size_t here, but don't see why `i` was also
changed. Change `i` back to int.
Tim Peters [Sun, 8 Jan 2006 02:19:07 +0000 (02:19 +0000)]
analyze_cells(): This no longer compiled under VC 7.1.
Move declaration of local `flags` to top of block.
Neal Norwitz [Sun, 8 Jan 2006 02:06:01 +0000 (02:06 +0000)]
Revert previous checkin, the check is for <, not ==. i is unsed in non-debug builds, but is used in debug builds
Neal Norwitz [Sun, 8 Jan 2006 01:18:12 +0000 (01:18 +0000)]
ignore db_home (result of db tests)