Commit Graph

43402 Commits

Author SHA1 Message Date
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 70c6044913 Issue #9928: Properly initialize the types exported by the bz2 module. 2010-09-23 19:51:39 +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 e5768cf348 Small fixes in the gzip docs 2010-09-23 16:45:17 +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
Brian Curtin 5a7a52fbb0 #9582 - add a missing "are" and reflow the line. 2010-09-23 13:45:21 +00:00
Vinay Sajip 5577892ca9 logging: Improved documentation re. blocking handlers. 2010-09-23 09:09: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
Benjamin Peterson b5d23b4dfc note version 2010-09-21 21:29:26 +00:00
Benjamin Peterson 0dc97ed18d fix news 2010-09-21 21:28:47 +00:00
Daniel Stutzbach c944cfc793 Issue9131: Mark fragile test as CPython-specific 2010-09-21 21:08:09 +00:00
Hirokazu Yamamoto 2f816e6a10 Issue #9552: Avoid unnecessary rebuild of OpenSSL. (Windows) 2010-09-21 18:23:05 +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
Antoine Pitrou 52d42503d5 Issue #2643: msync() is not called anymore when deallocating an open mmap
object, only munmap().
2010-09-21 16:08:27 +00:00
Hirokazu Yamamoto e31f7d9e2e Revert r84902 before committing better solution. 2010-09-21 16:05:47 +00:00
Antoine Pitrou f6350d2654 Issue #1633863: Don't ignore $CC under AIX. 2010-09-21 15:19:14 +00:00
Georg Brandl 6faee4e2ce #9911: doc copyedits. 2010-09-21 14:48:28 +00:00
Brian Quinlan af38dc5b0c Add an entry for the concurrent.futures package 2010-09-21 12:28:43 +00:00
Marc-André Lemburg 45fb9a1c23 Add missing word. 2010-09-21 11:55:27 +00:00
Marc-André Lemburg 6b91fc4d62 Add OpenSSL license to the Python license documenation page.
See #9119.
2010-09-21 11:37:43 +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
Senthil Kumaran ceff566886 Document HTTPReponse.fileno() method 2010-09-21 01:57:43 +00:00
Benjamin Peterson d4efd9eb15 add column offset to all syntax errors 2010-09-20 23:02:10 +00:00
Benjamin Peterson 2bc5c0be01 add news note 2010-09-20 23:01:33 +00:00
Benjamin Peterson 2c53971b37 add PyErr_SyntaxLocationEx, to support adding a column offset 2010-09-20 22:42:10 +00:00
Benjamin Peterson 26d64aeee4 rewrite nocaret test to not rely on a specific SyntaxError 2010-09-20 21:47:37 +00:00
Antoine Pitrou b0b384b7c0 Issue #9901: Destroying the GIL in Py_Finalize() can fail if some other
threads are still running.  Instead, reinitialize the GIL on a second
call to Py_Initialize().
2010-09-20 20:13:48 +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
Hirokazu Yamamoto 18cc344c0f Revert previous commit. 2010-09-20 10:46:56 +00:00
Vinay Sajip 83eadd1488 logging: hasHandlers additions documented. 2010-09-20 10:31:18 +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
Hirokazu Yamamoto bb14d4bc17 Windows7 buildbot debug trial. (Probably impossible) 2010-09-20 09:59:55 +00:00
Vinay Sajip b4a0809ad7 logging: Add hasHandlers() method to Logger. 2010-09-20 09:55:00 +00:00
Georg Brandl f1d633c386 Mention % as string formatting. 2010-09-20 06:29:01 +00:00
Georg Brandl 448f20b8b1 Fix typo. 2010-09-20 06:27:02 +00:00
Kristján Valur Jónsson 2fea9b961d issue 9786 Native TLS support for pthreads
PyThread_create_key now has a failure mode that the applicatino can detect.
2010-09-20 02:11:49 +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