Commit Graph

36009 Commits

Author SHA1 Message Date
Georg Brandl c6fdec6d7e Convert test_global, test_scope and test_grammar to unittest.
I tried to enclose all tests which must be run at the toplevel
(instead of inside a method) in exec statements.
2006-10-28 13:10:17 +00:00
Walter Dörwald 3a3d8ea497 Port test_bufio to unittest. 2006-10-28 10:47:12 +00:00
Georg Brandl 2756278304 Patch #1552024: add decorator support to unparse.py demo script. 2006-10-27 20:39:43 +00:00
Thomas Heller 112d1a64ac Modulefinder now handles absolute and relative imports, including
tests.

Will backport to release25-maint.
2006-10-27 19:05:53 +00:00
Thomas Heller df08f0b9a0 WindowsError.str should display the windows error code,
not the posix error code; with test.
Fixes #1576174.

Will backport to release25-maint.
2006-10-27 18:31:36 +00:00
Andrew M. Kuchling 9627ce116f [Patch #1503717] Tiny patch from Chris AtLee to stop a lengthy line from being printed 2006-10-27 18:15:02 +00:00
Andrew M. Kuchling 738446f44d Check db_setup_debug for a few print statements; change sqlite_setup_debug to False 2006-10-27 18:13:46 +00:00
Andrew M. Kuchling 872dba4253 [Patch #1574068 by Scott Dial] urllib and urllib2 were using
base64.encodestring() for encoding authentication data.
encodestring() can include newlines for very long input, which
produced broken HTTP headers.
2006-10-27 17:11:23 +00:00
Andrew M. Kuchling 6d72b0e1f8 Clarify docstring 2006-10-27 17:06:16 +00:00
Andrew M. Kuchling 0f87183cf5 [Bug #1575506] The _singlefileMailbox class was using the wrong file object in its flush() method, causing an error 2006-10-27 16:55:34 +00:00
Andrew M. Kuchling 41eb7164df [Bug #1576241] Let functools.wraps work with built-in functions 2006-10-27 16:39:10 +00:00
Andrew M. Kuchling d3aad0199e Point users to the subprocess module in the docs for os.system, os.spawn*, os.popen2, and the popen2 and commands modules 2006-10-27 14:53:41 +00:00
Andrew M. Kuchling 1f3ebe0b10 [Bug #1542016] Report PCALL_POP value. This makes the return value of sys.callstats() match its docstring.
Backport candidate.  Though it's an API change, this is a pretty obscure
portion of the API.
2006-10-27 13:22:46 +00:00
Andrew M. Kuchling 4bc64aaef7 [Bug #1562583] Mention the set_reuse_addr() method 2006-10-27 13:06:25 +00:00
Andrew M. Kuchling 14b0cab5d5 [Bug #1583946] Reword description of server and issuer 2006-10-27 12:50:38 +00:00
Andrew M. Kuchling 514d0cf40e [Bug #1585690] Note that line_num was added in Python 2.5 2006-10-27 12:18:38 +00:00
Andrew M. Kuchling 1192044445 Some wording changes and markup fixes 2006-10-27 11:37:01 +00:00
Andrew M. Kuchling 2c184e6703 Add item 2006-10-27 11:36:41 +00:00
Andrew M. Kuchling b501a7e67b Set svn:keywords property 2006-10-27 11:33:29 +00:00
Martin v. Löwis ee82c0e6b7 Patch #1567274: Support SMTP over TLS. 2006-10-27 07:13:28 +00:00
Martin v. Löwis 0347a9a491 Get DBL_MAX from float.h not values.h. Will backport. 2006-10-27 07:06:52 +00:00
Martin v. Löwis 443ccc73f3 Check for values.h. Will backport. 2006-10-27 06:42:27 +00:00
Martin v. Löwis b5bc537c5e Patch #1549049: Rewrite type conversion in structmember.
Fixes #1545696 and #1566140. Will backport to 2.5.
2006-10-27 06:16:31 +00:00
Andrew M. Kuchling efb57072fe Typo fix 2006-10-26 19:16:46 +00:00
Andrew M. Kuchling acde6102c4 [Bug #1579796] Wrong syntax for PyDateTime_IMPORT in documentation. Reported by David Faure. 2006-10-26 19:10:46 +00:00
Georg Brandl a32e0a099b Patch [ 1583506 ] tarfile.py: 100-char filenames are truncated 2006-10-24 16:54:16 +00:00
Martin v. Löwis e97c759660 Remove passwd.adjunct.byname from list of maps
for test_nis. Will backport to 2.5.
2006-10-22 13:45:13 +00:00
Martin v. Löwis 1b2f627f96 - Patch #1560695: Add .note.GNU-stack to ctypes' sysv.S so that
ctypes isn't considered as requiring executable stacks.
Will backport to 2.5.
2006-10-22 10:55:15 +00:00
Martin v. Löwis 98f0d14bd9 Patch #1580872: Remove duplicate declaration of PyCallable_Check.
Will backport to 2.5.
2006-10-22 10:46:18 +00:00
Ronald Oussoren 10168f25ad Patch #1580674: with this patch os.readlink uses the filesystem encoding to
decode unicode objects and returns an unicode object when the argument is one.
2006-10-22 10:45:18 +00:00
Walter Dörwald d3973b578f Port test___future__ to unittest. 2006-10-22 08:59:41 +00:00
Andrew M. Kuchling 8a7a9cf507 [Bug #1576348] Fix typo in example 2006-10-19 21:55:55 +00:00
Martin v. Löwis c1d7597b1d Restore CFLAGS after checking for __attribute__ 2006-10-19 16:01:37 +00:00
Martin v. Löwis a811c38d8e Fix various minor errors in passing arguments to
PyArg_ParseTuple.
2006-10-19 11:00:37 +00:00
Martin v. Löwis aac1316222 Add check for the PyArg_ParseTuple format, and declare
it if it is supported.
2006-10-19 10:58:46 +00:00
Tim Peters b03c35bac3 Add missing svn:eol-style to text files. 2006-10-18 05:10:28 +00:00
Tim Peters ef3f32f965 Whitespace normalization. 2006-10-18 05:09:12 +00:00
Tim Peters 79665b1403 newIobject(): repaired incorrect cast to quiet MSVC warning. 2006-10-18 05:06:06 +00:00
Thomas Heller d2ea4a2584 ctypes callback functions only support 'fundamental' result types.
Check this and raise an error when something else is used - before
this change ctypes would hang or crash when such a callback was
called.  This is a partial fix for #1574584.

Will backport to release25-maint.
2006-10-17 19:30:48 +00:00
Martin v. Löwis fefbc2029c Forward-port r52358:
- Bug #1578513: Cross compilation was broken by a change to configure.
Repair so that it's back to how it was in 2.4.3.
2006-10-17 18:59:23 +00:00
Martin v. Löwis 79282a2b13 Remove obsolete file. Will backport. 2006-10-17 18:09:55 +00:00
Martin v. Löwis 7addebfde0 Patch #1457736: Update VC6 to use current PCbuild settings.
Will backport to 2.5.
2006-10-17 15:18:06 +00:00
Brett Cannon d80e0c8677 Fix turtle so that you can launch the demo2 function on its own instead of only
when the module is launched as a script.
2006-10-16 03:09:52 +00:00
Martin v. Löwis 827ee4411f Mention the bdist_msi module. Will backport to 2.5. 2006-10-15 14:30:38 +00:00
Martin v. Löwis 299747511c Remove binary property, set eol-style to CRLF instead. 2006-10-15 12:01:43 +00:00
Martin v. Löwis a52a16a496 Drop binary property on dsp files, set eol-style
to CRLF instead.
2006-10-15 11:59:56 +00:00
Martin v. Löwis f56591cb52 Set the eol-style for project files to "CRLF". 2006-10-15 11:57:40 +00:00
Martin v. Löwis a97e06d9db Round to int, because some systems support sub-second time stamps in stat, but not in utime.
Also be consistent with modifying only mtime, not atime.
2006-10-15 11:02:07 +00:00
Martin v. Löwis 012bc7253b Bug #1567666: Emulate GetFileAttributesExA for Win95.
Will backport to 2.5.
2006-10-15 09:43:39 +00:00
Martin v. Löwis cfcd3a9569 Loosen the test for equal time stamps. 2006-10-15 09:35:51 +00:00