Hirokazu Yamamoto
cc868d430b
Issue #3612 : Added new types to ctypes.wintypes. (CHAR and pointers)
2010-09-28 21:08:38 +00:00
Brian Curtin
1771b54bed
Implement #8521 . Added named argument handling to winreg's CreateKeyEx,
...
DeleteKeyEx, and OpenKeyEx.
Note that CKE and DKE are new functions for 3.2 so I didn't give them a
versionchanged because of the existing versionadded. OpenKeyEx already
existed so it gets a versionchanged tag.
2010-09-27 17:56:36 +00:00
Antoine Pitrou
6d7df63837
Issue #9950 : Fix socket.sendall() crash or misbehaviour when a signal is
...
received. Now sendall() properly calls signal handlers if necessary,
and retries sending if these returned successfully, including on sockets
with a timeout.
2010-09-27 17:52:25 +00:00
Alexander Belopolsky
0ae33611fa
Issue 9941: Minor code cleanup before implementing the context manager feature:
...
- Eliminated code repetition between run and runctx;
- Removed redundant calls to dict.key;
- Removed unused "blabbed" attribute;
- Simplified the loop in write_results_file().
2010-09-27 15:49:20 +00:00
Senthil Kumaran
42ef4b1f4c
Fix Issue1595365 - Adding the req.headers after the un-redirect headers have
...
been added. This helps in accidental overwritting of User-Agent header to
default value. To preserve the old behavior, only headers not in unredirected
headers will be updated.
2010-09-27 01:26:03 +00:00
Antoine Pitrou
cb15988114
Issue #8445 : try to fix some buildbot failures on test_ttk_guionly.
...
Patch by Guilherme.
2010-09-26 16:36:33 +00:00
Vinay Sajip
4fbe4b340a
logging: NullHandler optimisation.
2010-09-26 11:04:10 +00:00
Vinay Sajip
9fdd11b3b6
Issue #9947 : logging: Fixed locking bug in stopListening.
2010-09-25 17:48:25 +00:00
Vinay Sajip
32fb6a81f9
Issue #9945 : logging: Fixed locking bugs in addHandler/removeHandler.
2010-09-25 17:42:36 +00:00
Alexander Belopolsky
a847c81914
This should fix buildbot failure introduced by r84994
2010-09-24 22:04:22 +00:00
Brian Curtin
82df53e932
Fix a line that got hacked up by r82659.
2010-09-24 21:04:05 +00:00
Antoine Pitrou
a4024e2dd5
Make _kill_process more robust under Windows too (see issue #8432 )
2010-09-24 18:57:01 +00:00
Alexander Belopolsky
ff09ce211f
Issue #9936 : Fixed executable lines' search in the trace module.
2010-09-24 18:03:12 +00:00
Brian Curtin
e8e8042bb5
Fix #9790 again. Rather than handle NotImplementedError at runtime as
...
before, only attempt the import where nt._getfinalpathname could actually
work, i.e., Windows Vista and beyond.
2010-09-24 13:56:34 +00:00
Brian Curtin
0151b8edda
LoginTests fails on a number of buildbots with different errors. Skip
...
it for now until a buildbot-safe solution comes up.
2010-09-24 13:43:43 +00:00
Brian Curtin
0dac808b3e
Fix #9790 : Rework the imports necessary for ntpath.samefile and
...
ntpath.sameopenfile.
2010-09-23 20:38:14 +00:00
Antoine Pitrou
605c293031
Further tarfile / test_tarfile cleanup
2010-09-23 20:15:14 +00:00
Mark Dickinson
b09a3d69a6
Issue #9930 : Remove an unnecessary type check in wrap_binaryfunc_r;
...
this was causing reversed method calls like float.__radd__(3.0, 1) to
return NotImplemented instead of the expected numeric value.
2010-09-23 20:11:19 +00:00
Brian Curtin
e8e4b3bfd6
#9808 . Implement os.getlogin for Windows, completed by Jon Anglin.
...
The test is semi-dumb, it just makes sure something comes back since we
don't have a solid source to validate the returned login. We can't be 100%
sure that the USERNAME env var will always match what os.getlogin() returns,
so we don't make any specific assertion there.
2010-09-23 20:04:14 +00:00
Antoine Pitrou
ab58b5f90e
Try harder to fix test_tarfile under Windows buildbots
2010-09-23 19:39:35 +00:00
Antoine Pitrou
95f5560b46
Try to fix test_tarfile issues on Windows buildbots by closing file
...
objects explicitly instead of letting them linger on.
2010-09-23 18:36:46 +00:00
Antoine Pitrou
7b9698435d
Issue #1675951 : Allow GzipFile to work with unseekable file objects.
...
Patch by Florian Festi.
2010-09-23 16:22:51 +00:00
Hirokazu Yamamoto
dda7fdf194
Skip estLoadWithUNC when UNC is not available.
2010-09-23 15:28:35 +00:00
Hirokazu Yamamoto
b3b390d7b3
Issue #9868 : locale was left changed after TestEnUSCollation#setUp raised
...
TestSkip exception.
2010-09-23 15:20:15 +00:00
Vinay Sajip
0637d493e9
logging: added QueueListener and documentation.
2010-09-23 08:15:54 +00:00
Florent Xicluna
d12a420acc
Fix encoding for test case added in r84967.
2010-09-23 00:46:13 +00:00
Florent Xicluna
42d544505f
Fix typo and add test case.
2010-09-22 22:35:38 +00:00
Barry Warsaw
31c604d3a7
Issue 9916: Add some missing errno symbols.
2010-09-22 20:58:04 +00:00
Vinay Sajip
0258ce8f0a
logging: Added QueueHandler.prepare and updated documentation.
2010-09-22 20:34:53 +00:00
Daniel Stutzbach
c944cfc793
Issue9131: Mark fragile test as CPython-specific
2010-09-21 21:08:09 +00:00
Antoine Pitrou
38425292fb
Issue #9908 : Fix os.stat() on bytes paths under Windows 7.
2010-09-21 18:19:07 +00:00
Alexander Belopolsky
3e62f78c4e
Fixed microsecond rounding in python version of utcfromtimestamp
2010-09-21 16:30:56 +00:00
Antoine Pitrou
b3bfc3d88b
Issue #9899 : Fix test_tkinter.test_font on various platforms. Patch by
...
Ned Deily.
2010-09-21 16:26:09 +00:00
Vinay Sajip
212b590e11
logging: Updated LoggerAdapter implementation.
2010-09-21 11:31:32 +00:00
Vinay Sajip
c84f016988
Added some methods to LoggerAdapter, and updated documentation.
2010-09-21 11:25:39 +00:00
Benjamin Peterson
26d64aeee4
rewrite nocaret test to not rely on a specific SyntaxError
2010-09-20 21:47:37 +00:00
Barry Warsaw
0646b4bb77
test_get_makefile_filename() is not compatible with Windows.
2010-09-20 19:12:07 +00:00
Barry Warsaw
ebbef6fef2
Issue 9877: expose sysconfig.get_makefile_filename() in the public API.
2010-09-20 15:29:53 +00:00
Vinay Sajip
ae7d7fa0fe
Reverted changes which were inadvertently committed.
2010-09-20 10:29:54 +00:00
Vinay Sajip
61c3f0dae7
logging: added hasHandlers() to LoggerAdapter.
2010-09-20 10:13:13 +00:00
Vinay Sajip
b4a0809ad7
logging: Add hasHandlers() method to Logger.
2010-09-20 09:55:00 +00:00
Antoine Pitrou
3d8580f690
Try a more robust implementation of _kill_process
2010-09-20 01:33:21 +00:00
Antoine Pitrou
84e751a442
Try to fix buildbot failure ( #9902 )
2010-09-20 00:12:19 +00:00
Antoine Pitrou
7c08744f52
Make error more explicit in test_finalize_with_trace
2010-09-19 23:28:30 +00:00
Antoine Pitrou
fedd481596
Try to make signal-sending tests in test_subprocess more robust on slow machines
2010-09-19 23:06:53 +00:00
Antoine Pitrou
fb8db8f635
Try to fix test_subprocess on "x86 debian parallel 3.x" buildbot
2010-09-19 22:46:05 +00:00
Senthil Kumaran
5cc9a052c1
Update the test_distutils mode test to test with umask value properly.
2010-09-19 03:09:54 +00:00
Florent Xicluna
eb19dce085
Issue #1686 : Fix string.Template when overriding the pattern attribute.
2010-09-18 23:34:07 +00:00
Antoine Pitrou
98b46702d2
Issue #9854 : SocketIO objects now observe the RawIOBase interface in
...
non-blocking mode: they return None when an operation would block (instead
of raising an exception).
2010-09-18 22:59:00 +00:00
Antoine Pitrou
8db3027e6a
Issue #9895 : speed up test_subprocess
2010-09-18 22:38:48 +00:00