Neal Norwitz
97a57220e8
Fix crash in test on HP-UX. Apparently, it's not possible to delete a lock if
...
it's held (even by the current thread).
Will backport.
2006-10-28 21:17:51 +00:00
Neal Norwitz
a5ccda95f2
Fix warnings with HP's C compiler. It doesn't recognize that infinite
...
loops are, um, infinite. These conditions should not be able to happen.
Will backport.
2006-10-28 21:16:54 +00:00
Neal Norwitz
837ce9389e
Add some asserts. In sysmodule, I think these were to try to silence
...
some warnings from Klokwork. They verify the assumptions of the format
of svn version output.
The assert in the thread module helped debug a problem on HP-UX.
2006-10-28 21:15:30 +00:00
Georg Brandl
b21e0815bf
make test_grammar pass with python -O
2006-10-28 20:25:09 +00:00
Georg Brandl
35692a0c0e
Fix nth() itertool recipe.
2006-10-28 16:04:04 +00:00
Georg Brandl
0b679629c6
Convert test_opcodes to unittest.
2006-10-28 13:56:58 +00:00
Georg Brandl
2f03760a98
Convert test_math to unittest.
2006-10-28 13:51:49 +00:00
Georg Brandl
856b446793
Update outstanding bugs test file.
2006-10-28 13:11:41 +00:00
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