Benjamin Peterson
5539c78391
make bad file descriptor tests more robust
2009-01-19 17:37:42 +00:00
Benjamin Peterson
c84ebe73a7
add email address
2009-01-19 16:18:27 +00:00
Benjamin Peterson
b6c7beb722
move BufferedIOBase into the base class section
2009-01-19 16:17:54 +00:00
Benjamin Peterson
943a6ddc72
simplify code
2009-01-19 15:51:27 +00:00
Benjamin Peterson
596d306950
add a note about the ftruncate change
2009-01-19 15:42:23 +00:00
Jesse Noller
9a5b2ad38d
Resolve issue 3321: (segfault) _multiprocessing.Connection() doesn't check handle
2009-01-19 15:12:22 +00:00
Benjamin Peterson
273c1d9a8b
Removed merge tracking for "svnmerge" for
...
svn+ssh://pythondev@svn.python.org/python/branches/tnelson-trunk-bsddb-47-upgrade
2009-01-19 15:06:33 +00:00
Benjamin Peterson
8db6914693
Removed merge tracking for "svnmerge" for
...
svn+ssh://pythondev@svn.python.org/python/branches/trunk-math
2009-01-19 15:04:35 +00:00
Kristján Valur Jónsson
2e659ce36f
Issue 4957
...
Let os.ftruncate raise OSError like documented.
2009-01-19 13:10:27 +00:00
Vinay Sajip
4b78233cbd
Added more cross-reference targets and tidied up list of useful handlers.
2009-01-19 06:49:19 +00:00
Benjamin Peterson
5848d1ff35
raise an OSError for invalid fds #4991
2009-01-19 00:08:08 +00:00
Benjamin Peterson
b6e112bd95
fix encoding cookie case
2009-01-18 22:47:04 +00:00
Benjamin Peterson
910f216260
fix test that wasn't working as expected #4990
2009-01-18 21:11:38 +00:00
Jesse Noller
438195fc11
issue 4301: patch logging to add processName, remove the old _check_logger_class code
2009-01-18 21:04:36 +00:00
Georg Brandl
fe11f4d524
#4986 : augassigns are not expressions.
2009-01-18 18:25:30 +00:00
Georg Brandl
af9a97b245
#4923 : clarify what was added.
2009-01-18 14:41:52 +00:00
Georg Brandl
4a565cc41d
#4857 : fix augmented assignment target spec.
2009-01-18 13:47:26 +00:00
Georg Brandl
9f7fb849df
#4979 : correct result range for some random functions.
2009-01-18 13:24:10 +00:00
Kristján Valur Jónsson
60e79ced94
issue 4293: make test_capi.py more robutst, it times out on some platforms, presumably waiting for threads. Lower the thread count to 16.
2009-01-18 10:58:44 +00:00
Georg Brandl
bb550c99cb
#4914 : trunc is in math.
2009-01-18 10:48:16 +00:00
Georg Brandl
79f722da6c
#4974 : fix redundant mention of lists and tuples.
2009-01-18 10:45:22 +00:00
Georg Brandl
6c81b54cc4
#4976 : union() and intersection() take multiple args, but talk about "the other".
2009-01-18 10:42:35 +00:00
Jesse Noller
6ab22154dd
Resolve issue 4449: AssertionError in mp_benchmarks.py
2009-01-18 02:45:38 +00:00
Benjamin Peterson
b746448f46
fix grammar
2009-01-18 01:28:46 +00:00
Benjamin Peterson
f1a4069481
bytearrays are mutable sequences
2009-01-18 01:28:09 +00:00
Amaury Forgeot d'Arc
2407ac9a4b
follow-up of #3997 : since 0xFFFF numbers are not enough to indicate a zip64 format,
...
always try to read the "zip64 end of directory structure".
2009-01-17 22:43:50 +00:00
Benjamin Peterson
5e5fbb612d
fix inspect.isclass() on instances with a custom __getattr__ #1225107
2009-01-17 22:27:54 +00:00
Amaury Forgeot d'Arc
59ce042766
#4077 : No need to append \n when calling Py_FatalError
...
+ fix a declaration to make it match the one in pythonrun.h
2009-01-17 20:18:59 +00:00
Amaury Forgeot d'Arc
bd55c52565
#4930 : Slightly cleaner (and faster) code in type creation:
...
compare slots by address, not by name.
2009-01-17 17:11:50 +00:00
Amaury Forgeot d'Arc
d25f87ae36
#3997 : zipfiles generated with more than 65536 files could not be opened
...
with other applications.
Reviewed by Martin, will backport to 2.6 and 3.0
2009-01-17 16:40:17 +00:00
Benjamin Peterson
f320c22701
trying to find some fpathconf() settings that all unixs support...
2009-01-17 04:39:05 +00:00
Benjamin Peterson
9109f91c6b
use enumerate
2009-01-17 04:28:57 +00:00
Thomas Heller
757d25526a
Change an example in the docs to avoid a mistake when the code is copy
...
pasted and changed afterwards.
2009-01-16 18:53:44 +00:00
Benjamin Peterson
b3af601b22
compare with == not is #4946
2009-01-16 02:55:24 +00:00
Vinay Sajip
b1a15e489a
Minor changes/corrections in markup.
2009-01-15 23:04:47 +00:00
Vinay Sajip
b5902e6054
Made minor changes/corrections in markup. Added a couple of section headings.
2009-01-15 22:48:13 +00:00
Kristján Valur Jónsson
4f69b7e33b
Make all the invalid fd tests for os subject to the function being available.
2009-01-15 22:46:26 +00:00
Kristján Valur Jónsson
71ba215d6b
Fix two test cases in test_os. ftruncate raises IOError unlike all the others which raise OSError. And close() on some platforms doesn't complain when given an invalid file descriptor.
2009-01-15 22:40:03 +00:00
Kristján Valur Jónsson
51a035e383
Issue 4929: Handle socket errors when receiving
2009-01-15 17:20:21 +00:00
Mark Dickinson
a200dd5584
Another typo fix.
2009-01-15 15:17:43 +00:00
Mark Dickinson
0e15182a38
Comment typo
2009-01-15 14:58:28 +00:00
Mark Dickinson
e82cdae58f
Issue #4397 . Fix occasional test_socket failure on OS X.
2009-01-15 14:54:37 +00:00
Kristján Valur Jónsson
8adc0b54d4
Fix recently introduced test cases.
...
For datetime, gentoo didn't seem to mind the %e format for strftime. So, we just excercise those instead making sure that we don't crash.
For test_os, two cases were incorrect.
2009-01-15 09:09:13 +00:00
Kristján Valur Jónsson
018760e3dc
Re-enable all tests for windows platforms.
...
Also, explicitly connect to the IPV4 address. On windows platforms supporting AF_INET6, the SocketProxy would connect using socket.create_connection('localhost', port) which would cycle through all address families and try to connect. It would try connecting using AF_INET6 first and this would cause a delay of up to a second.
2009-01-14 10:50:57 +00:00
Raymond Hettinger
2950bca89c
Fix-up indentation of sample code blocks for namedtuple mthod definitions.
2009-01-14 01:39:51 +00:00
Raymond Hettinger
afd112baef
Add tests for __init__() and update() with no args.
2009-01-14 01:15:06 +00:00
Raymond Hettinger
59894127e4
Minor doc tweaks.
2009-01-14 00:15:21 +00:00
Benjamin Peterson
717c083e8d
fix test_xmlrpc failures #4939
2009-01-13 23:43:50 +00:00
Amaury Forgeot d'Arc
b54447f31c
#1162154 : inspect.getmembers() now skips attributes that raise AttributeError,
...
e.g. a __slots__ attribute which has not been set.
2009-01-13 23:39:22 +00:00
Amaury Forgeot d'Arc
a18392a324
#4807 : Remove a wrong usage of wsprintf in the winreg module
...
("windows sprintf", different than swprintf)
Needed for the windows CE port.
2009-01-13 23:19:08 +00:00