Commit graph

32970 commits

Author SHA1 Message Date
Neal Norwitz
0e17f8cd38 Convenience function to remove a possibly non-existant file 2006-01-23 07:51:27 +00:00
Neal Norwitz
9730bcb4a6 Test getsignal() and some error conditions 2006-01-23 07:50:06 +00:00
Neal Norwitz
cd3e219cda Use unittest and make sure a few other cases don't crash 2006-01-23 07:49:36 +00:00
Neal Norwitz
8ac83f3152 This should fix a mem leak on the Mac. Brett tested it. 2006-01-23 07:25:29 +00:00
Georg Brandl
ffa6f3d942 Another typo. 2006-01-22 20:47:26 +00:00
Georg Brandl
56ace78465 typo 2006-01-22 19:38:05 +00:00
Georg Brandl
4865e4a56f Correct several typos in libos.tex. Bug #1412227. 2006-01-22 19:34:59 +00:00
Georg Brandl
0ce2be8a51 Typo 2006-01-22 16:11:01 +00:00
Georg Brandl
95ac2871c9 Remove reference to Grail and Netscape 2.0 from cgi docs. 2006-01-22 13:49:21 +00:00
Vinay Sajip
51f5235a49 Misc. changes, including documenting the ability to specify a class attribute in Formatter configuration. Contributed by Shane Hathaway. 2006-01-22 11:58:39 +00:00
Walter Dörwald
9d9af8ac9a Fix typo 2006-01-21 10:50:39 +00:00
Georg Brandl
531cebad4c Bug #902075: urllib2 now handles "host:port" proxy specifications
Can/should this be backported?
2006-01-21 07:20:56 +00:00
Tim Peters
3d56350910 _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.
2006-01-21 02:47:53 +00:00
Tim Peters
887c080a80 Whitespace normalization. 2006-01-20 23:40:56 +00:00
Georg Brandl
bde4ad4f92 Patch #1410998: remove "DOS" from os.py docstring 2006-01-20 21:36:02 +00:00
Georg Brandl
87b90adc28 Patch #1410783: add documentation links for static/classmethod 2006-01-20 21:33:54 +00:00
Georg Brandl
1de37002bf Document supported schemes. 2006-01-20 21:17:01 +00:00
Georg Brandl
23929f2828 Try to resolve the remaining webbrowser issues (backgrounding, local urls) 2006-01-20 21:03:35 +00:00
Tim Peters
777f1083ef Whitespace normalization. 2006-01-20 20:03:24 +00:00
Vinay Sajip
568482a266 Added a test for the ability to specify a class attribute in Formatter configuration. Contributed by Shane Hathaway. 2006-01-20 18:29:36 +00:00
Vinay Sajip
80d2df86dc Added a test for the ability to specify a class attribute in Formatter configuration. Contributed by Shane Hathaway. 2006-01-20 18:28:59 +00:00
Vinay Sajip
7a7160bd0c Added the ability to specify a class attribute in Formatter configuration. Contributed by Shane Hathaway. 2006-01-20 18:28:03 +00:00
Georg Brandl
81cdb4ebe1 Patch #1388073: Make unittest.TestCase easier to subclass 2006-01-20 17:55:00 +00:00
Georg Brandl
d704817b66 typo 2006-01-20 17:53:27 +00:00
Georg Brandl
5f0ff5c8e7 Add markup to a "Python Standard Library" doc reference I added for bug 839585. 2006-01-20 17:51:37 +00:00
Georg Brandl
da6b107745 Checkin the test of patch #1400181. 2006-01-20 17:48:54 +00:00
Georg Brandl
89f35ac180 Bug #1407902: Added support for sftp:// URIs to urlparse. 2006-01-20 17:24:23 +00:00
Georg Brandl
5035c1c557 Readd bug report note. 2006-01-20 13:38:26 +00:00
Georg Brandl
8cb307728e Bug #1402224: Add warning to dl docs about crashes. 2006-01-20 09:34:29 +00:00
Georg Brandl
a3a93ae7c8 Bug #1396471: Document that Windows' ftell() can return invalid
values for text files with UNIX-style line endings.
2006-01-20 09:14:36 +00:00
Georg Brandl
b709c2caba Bug #1371247: Update Windows LCIDs in locale.py. 2006-01-20 09:07:35 +00:00
Fred Drake
40558fef91 add missing version identification 2006-01-20 03:30:36 +00:00
Martin v. Löwis
62ffc078c2 Pass unquoted string to stat. 2006-01-19 16:17:31 +00:00
Tim Peters
773feaf529 initwinsound(): this no longer compiled on Windows,
because code snuck in between auto declarations.
2006-01-19 15:25:07 +00:00
Tim Peters
2188bf03bc initmsvcrt(): This no longer compiled on Windows, because
a recent change inserted code before an auto declaration.
2006-01-19 15:21:30 +00:00
Brett Cannon
2dbf2a98f4 Add a more informative error message for test_float_parsing so the failing
locale can be known.
2006-01-19 07:09:09 +00:00
Neal Norwitz
1ac754fa10 Check return result from Py_InitModule*(). This API can fail.
Probably should be backported.
2006-01-19 06:09:39 +00:00
Tim Peters
8207cc7fd6 Quote the path to the executable before invoking system(). 2006-01-18 20:04:02 +00:00
Martin v. Löwis
3150a270d2 Add missing make_buildinfo.c. 2006-01-18 19:18:51 +00:00
Martin v. Löwis
d078e40d41 Generate getbuildinfo.o each time the linker is invoked;
try to generate SVNVERSION information if subwcrev.exe
can be found.
2006-01-18 09:13:51 +00:00
Fredrik Lundh
d790a7b596 fixed example:
adding missing import, handle_close, test code, etc.
2006-01-17 21:31:31 +00:00
Barry Warsaw
6153201274 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.
2006-01-17 05:58:08 +00:00
Neal Norwitz
20bad74d63 SF Bug #1407069, Remove extra semi-colon if there is no long long 2006-01-17 05:27:39 +00:00
Barry Warsaw
48653af70f Update email.Message.get_filename() documentation. 2006-01-17 05:24:25 +00:00
Barry Warsaw
a0f28efcd1 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.
2006-01-17 04:49:07 +00:00
Vinay Sajip
989b69a519 Refactoring for fileConfig. Contributed by Shane Hathaway. 2006-01-16 21:28:37 +00:00
Vinay Sajip
fe03bee62f Changes due to added test for fileConfig contributed by Shane Hathaway. 2006-01-16 21:25:28 +00:00
Vinay Sajip
22b25aa9e2 Added test for fileConfig. Contributed by Shane Hathaway. 2006-01-16 21:24:38 +00:00
Vinay Sajip
814fa0fe11 Exceptions raised during renaming in rotating file handlers are now passed to handleError (except for SystemExit and KeyboardInterrupt, which are re-raised). 2006-01-16 09:27:58 +00:00
Vinay Sajip
e928977b80 Exceptions raised during renaming in rotating file handlers are now passed to handleError (except for SystemExit and KeyboardInterrupt, which are re-raised). 2006-01-16 09:27:10 +00:00