]> granicus.if.org Git - python/log
python
14 years agoUpdated VS8.0 bz2.vcproj with PCBuild/vs9to8.py.
Hirokazu Yamamoto [Tue, 28 Sep 2010 07:03:40 +0000 (07:03 +0000)]
Updated VS8.0 bz2.vcproj with PCBuild/vs9to8.py.

14 years agoSince __import__ is not designed for general use, have its docstring point
Brett Cannon [Mon, 27 Sep 2010 21:08:38 +0000 (21:08 +0000)]
Since __import__ is not designed for general use, have its docstring point
people towards importlib.import_module().

Closes issue #7397.

14 years agoImplement #8521. Added named argument handling to winreg's CreateKeyEx,
Brian Curtin [Mon, 27 Sep 2010 17:56:36 +0000 (17:56 +0000)]
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.

14 years agoIssue #9950: Fix socket.sendall() crash or misbehaviour when a signal is
Antoine Pitrou [Mon, 27 Sep 2010 17:52:25 +0000 (17:52 +0000)]
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.

14 years agoIssue 9941: Minor code cleanup before implementing the context manager feature:
Alexander Belopolsky [Mon, 27 Sep 2010 15:49:20 +0000 (15:49 +0000)]
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().

14 years agologging: Updated library configuration documentation.
Vinay Sajip [Mon, 27 Sep 2010 13:53:47 +0000 (13:53 +0000)]
logging: Updated library configuration documentation.

14 years agoissue 9910
Kristján Valur Jónsson [Mon, 27 Sep 2010 05:32:54 +0000 (05:32 +0000)]
issue 9910
Add a Py_SetPath api to override magic path computations when starting up python.

14 years agoFix Issue1595365 - Adding the req.headers after the un-redirect headers have
Senthil Kumaran [Mon, 27 Sep 2010 01:26:03 +0000 (01:26 +0000)]
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.

14 years agoIssue #8445: try to fix some buildbot failures on test_ttk_guionly.
Antoine Pitrou [Sun, 26 Sep 2010 16:36:33 +0000 (16:36 +0000)]
Issue #8445: try to fix some buildbot failures on test_ttk_guionly.
Patch by Guilherme.

14 years agologging: NullHandler optimisation.
Vinay Sajip [Sun, 26 Sep 2010 11:04:10 +0000 (11:04 +0000)]
logging: NullHandler optimisation.

14 years agoFix typo.
Antoine Pitrou [Sat, 25 Sep 2010 22:12:00 +0000 (22:12 +0000)]
Fix typo.

14 years agoIssue #9947: logging: Fixed locking bug in stopListening.
Vinay Sajip [Sat, 25 Sep 2010 17:48:25 +0000 (17:48 +0000)]
Issue #9947: logging: Fixed locking bug in stopListening.

14 years agoIssue #9945: logging: Fixed locking bugs in addHandler/removeHandler.
Vinay Sajip [Sat, 25 Sep 2010 17:42:36 +0000 (17:42 +0000)]
Issue #9945: logging: Fixed locking bugs in addHandler/removeHandler.

14 years ago#9562: slight clarification.
Georg Brandl [Sat, 25 Sep 2010 16:56:36 +0000 (16:56 +0000)]
#9562: slight clarification.

14 years ago#9944: fix typo.
Georg Brandl [Sat, 25 Sep 2010 13:30:03 +0000 (13:30 +0000)]
#9944: fix typo.

14 years agorevert r85003, poorly considered; breaks tests
Benjamin Peterson [Sat, 25 Sep 2010 03:25:42 +0000 (03:25 +0000)]
revert r85003, poorly considered; breaks tests

14 years agodon't count keyword arguments as positional #9943
Benjamin Peterson [Sat, 25 Sep 2010 03:14:33 +0000 (03:14 +0000)]
don't count keyword arguments as positional #9943

14 years agoThis should fix buildbot failure introduced by r84994
Alexander Belopolsky [Fri, 24 Sep 2010 22:04:22 +0000 (22:04 +0000)]
This should fix buildbot failure introduced by r84994

14 years agoFix a line that got hacked up by r82659.
Brian Curtin [Fri, 24 Sep 2010 21:04:05 +0000 (21:04 +0000)]
Fix a line that got hacked up by r82659.

14 years agoMake _kill_process more robust under Windows too (see issue #8432)
Antoine Pitrou [Fri, 24 Sep 2010 18:57:01 +0000 (18:57 +0000)]
Make _kill_process more robust under Windows too (see issue #8432)

14 years agoIssue #9936: Fixed executable lines' search in the trace module.
Alexander Belopolsky [Fri, 24 Sep 2010 18:03:12 +0000 (18:03 +0000)]
Issue #9936: Fixed executable lines' search in the trace module.

14 years agoIssue #9552: Avoid unnecessary rebuild of OpenSSL. (Windows)
Hirokazu Yamamoto [Fri, 24 Sep 2010 16:36:34 +0000 (16:36 +0000)]
Issue #9552: Avoid unnecessary rebuild of OpenSSL. (Windows)

14 years agoFix #9790 again. Rather than handle NotImplementedError at runtime as
Brian Curtin [Fri, 24 Sep 2010 13:56:34 +0000 (13:56 +0000)]
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.

14 years agoLoginTests fails on a number of buildbots with different errors. Skip
Brian Curtin [Fri, 24 Sep 2010 13:43:43 +0000 (13:43 +0000)]
LoginTests fails on a number of buildbots with different errors. Skip
it for now until a buildbot-safe solution comes up.

14 years agoFix a typo. full->final
Brian Curtin [Fri, 24 Sep 2010 00:03:39 +0000 (00:03 +0000)]
Fix a typo. full->final

14 years agoFix #9790: Rework the imports necessary for ntpath.samefile and
Brian Curtin [Thu, 23 Sep 2010 20:38:14 +0000 (20:38 +0000)]
Fix #9790: Rework the imports necessary for ntpath.samefile and
ntpath.sameopenfile.

14 years agoUpdated SysLogHandler documentation.
Vinay Sajip [Thu, 23 Sep 2010 20:31:24 +0000 (20:31 +0000)]
Updated SysLogHandler documentation.

14 years agoFurther tarfile / test_tarfile cleanup
Antoine Pitrou [Thu, 23 Sep 2010 20:15:14 +0000 (20:15 +0000)]
Further tarfile / test_tarfile cleanup

14 years agoIssue #9930: Remove an unnecessary type check in wrap_binaryfunc_r;
Mark Dickinson [Thu, 23 Sep 2010 20:11:19 +0000 (20:11 +0000)]
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.

14 years ago#9808. Implement os.getlogin for Windows, completed by Jon Anglin.
Brian Curtin [Thu, 23 Sep 2010 20:04:14 +0000 (20:04 +0000)]
#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.

14 years agoIssue #9928: Properly initialize the types exported by the bz2 module.
Antoine Pitrou [Thu, 23 Sep 2010 19:51:39 +0000 (19:51 +0000)]
Issue #9928: Properly initialize the types exported by the bz2 module.

14 years agoTry harder to fix test_tarfile under Windows buildbots
Antoine Pitrou [Thu, 23 Sep 2010 19:39:35 +0000 (19:39 +0000)]
Try harder to fix test_tarfile under Windows buildbots

14 years agoTry to fix test_tarfile issues on Windows buildbots by closing file
Antoine Pitrou [Thu, 23 Sep 2010 18:36:46 +0000 (18:36 +0000)]
Try to fix test_tarfile issues on Windows buildbots by closing file
objects explicitly instead of letting them linger on.

14 years agoSmall fixes in the gzip docs
Antoine Pitrou [Thu, 23 Sep 2010 16:45:17 +0000 (16:45 +0000)]
Small fixes in the gzip docs

14 years agoIssue #1675951: Allow GzipFile to work with unseekable file objects.
Antoine Pitrou [Thu, 23 Sep 2010 16:22:51 +0000 (16:22 +0000)]
Issue #1675951: Allow GzipFile to work with unseekable file objects.
Patch by Florian Festi.

14 years agoSkip estLoadWithUNC when UNC is not available.
Hirokazu Yamamoto [Thu, 23 Sep 2010 15:28:35 +0000 (15:28 +0000)]
Skip estLoadWithUNC when UNC is not available.

14 years agoIssue #9868: locale was left changed after TestEnUSCollation#setUp raised
Hirokazu Yamamoto [Thu, 23 Sep 2010 15:20:15 +0000 (15:20 +0000)]
Issue #9868: locale was left changed after TestEnUSCollation#setUp raised
TestSkip exception.

14 years ago#9582 - add a missing "are" and reflow the line.
Brian Curtin [Thu, 23 Sep 2010 13:45:21 +0000 (13:45 +0000)]
#9582 - add a missing "are" and reflow the line.

14 years agologging: Improved documentation re. blocking handlers.
Vinay Sajip [Thu, 23 Sep 2010 09:09:15 +0000 (09:09 +0000)]
logging: Improved documentation re. blocking handlers.

14 years agologging: added QueueListener and documentation.
Vinay Sajip [Thu, 23 Sep 2010 08:15:54 +0000 (08:15 +0000)]
logging: added QueueListener and documentation.

14 years agoFix encoding for test case added in r84967.
Florent Xicluna [Thu, 23 Sep 2010 00:46:13 +0000 (00:46 +0000)]
Fix encoding for test case added in r84967.

14 years agoFix typo and add test case.
Florent Xicluna [Wed, 22 Sep 2010 22:35:38 +0000 (22:35 +0000)]
Fix typo and add test case.

14 years agoIssue 9916: Add some missing errno symbols.
Barry Warsaw [Wed, 22 Sep 2010 20:58:04 +0000 (20:58 +0000)]
Issue 9916: Add some missing errno symbols.

14 years agologging: Added QueueHandler.prepare and updated documentation.
Vinay Sajip [Wed, 22 Sep 2010 20:34:53 +0000 (20:34 +0000)]
logging: Added QueueHandler.prepare and updated documentation.

14 years agonote version
Benjamin Peterson [Tue, 21 Sep 2010 21:29:26 +0000 (21:29 +0000)]
note version

14 years agofix news
Benjamin Peterson [Tue, 21 Sep 2010 21:28:47 +0000 (21:28 +0000)]
fix news

14 years agoIssue9131: Mark fragile test as CPython-specific
Daniel Stutzbach [Tue, 21 Sep 2010 21:08:09 +0000 (21:08 +0000)]
Issue9131: Mark fragile test as CPython-specific

14 years agoIssue #9552: Avoid unnecessary rebuild of OpenSSL. (Windows)
Hirokazu Yamamoto [Tue, 21 Sep 2010 18:23:05 +0000 (18:23 +0000)]
Issue #9552: Avoid unnecessary rebuild of OpenSSL. (Windows)

14 years agoIssue #9908: Fix os.stat() on bytes paths under Windows 7.
Antoine Pitrou [Tue, 21 Sep 2010 18:19:07 +0000 (18:19 +0000)]
Issue #9908: Fix os.stat() on bytes paths under Windows 7.

14 years agoFixed microsecond rounding in python version of utcfromtimestamp
Alexander Belopolsky [Tue, 21 Sep 2010 16:30:56 +0000 (16:30 +0000)]
Fixed microsecond rounding in python version of utcfromtimestamp

14 years agoIssue #9899: Fix test_tkinter.test_font on various platforms. Patch by
Antoine Pitrou [Tue, 21 Sep 2010 16:26:09 +0000 (16:26 +0000)]
Issue #9899: Fix test_tkinter.test_font on various platforms.  Patch by
Ned Deily.

14 years agoIssue #2643: msync() is not called anymore when deallocating an open mmap
Antoine Pitrou [Tue, 21 Sep 2010 16:08:27 +0000 (16:08 +0000)]
Issue #2643: msync() is not called anymore when deallocating an open mmap
object, only munmap().

14 years agoRevert r84902 before committing better solution.
Hirokazu Yamamoto [Tue, 21 Sep 2010 16:05:47 +0000 (16:05 +0000)]
Revert r84902 before committing better solution.

14 years agoIssue #1633863: Don't ignore $CC under AIX.
Antoine Pitrou [Tue, 21 Sep 2010 15:19:14 +0000 (15:19 +0000)]
Issue #1633863: Don't ignore $CC under AIX.

14 years ago#9911: doc copyedits.
Georg Brandl [Tue, 21 Sep 2010 14:48:28 +0000 (14:48 +0000)]
#9911: doc copyedits.

14 years agoAdd an entry for the concurrent.futures package
Brian Quinlan [Tue, 21 Sep 2010 12:28:43 +0000 (12:28 +0000)]
Add an entry for the concurrent.futures package

14 years agoAdd missing word.
Marc-André Lemburg [Tue, 21 Sep 2010 11:55:27 +0000 (11:55 +0000)]
Add missing word.

14 years agoAdd OpenSSL license to the Python license documenation page.
Marc-André Lemburg [Tue, 21 Sep 2010 11:37:43 +0000 (11:37 +0000)]
Add OpenSSL license to the Python license documenation page.

See #9119.

14 years agologging: Updated LoggerAdapter implementation.
Vinay Sajip [Tue, 21 Sep 2010 11:31:32 +0000 (11:31 +0000)]
logging: Updated LoggerAdapter implementation.

14 years agoAdded some methods to LoggerAdapter, and updated documentation.
Vinay Sajip [Tue, 21 Sep 2010 11:25:39 +0000 (11:25 +0000)]
Added some methods to LoggerAdapter, and updated documentation.

14 years agoDocument HTTPReponse.fileno() method
Senthil Kumaran [Tue, 21 Sep 2010 01:57:43 +0000 (01:57 +0000)]
Document HTTPReponse.fileno() method

14 years agoadd column offset to all syntax errors
Benjamin Peterson [Mon, 20 Sep 2010 23:02:10 +0000 (23:02 +0000)]
add column offset to all syntax errors

14 years agoadd news note
Benjamin Peterson [Mon, 20 Sep 2010 23:01:33 +0000 (23:01 +0000)]
add news note

14 years agoadd PyErr_SyntaxLocationEx, to support adding a column offset
Benjamin Peterson [Mon, 20 Sep 2010 22:42:10 +0000 (22:42 +0000)]
add PyErr_SyntaxLocationEx, to support adding a column offset

14 years agorewrite nocaret test to not rely on a specific SyntaxError
Benjamin Peterson [Mon, 20 Sep 2010 21:47:37 +0000 (21:47 +0000)]
rewrite nocaret test to not rely on a specific SyntaxError

14 years agoIssue #9901: Destroying the GIL in Py_Finalize() can fail if some other
Antoine Pitrou [Mon, 20 Sep 2010 20:13:48 +0000 (20:13 +0000)]
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().

14 years agotest_get_makefile_filename() is not compatible with Windows.
Barry Warsaw [Mon, 20 Sep 2010 19:12:07 +0000 (19:12 +0000)]
test_get_makefile_filename() is not compatible with Windows.

14 years agoIssue 9877: expose sysconfig.get_makefile_filename() in the public API.
Barry Warsaw [Mon, 20 Sep 2010 15:29:53 +0000 (15:29 +0000)]
Issue 9877: expose sysconfig.get_makefile_filename() in the public API.

14 years agoRevert previous commit.
Hirokazu Yamamoto [Mon, 20 Sep 2010 10:46:56 +0000 (10:46 +0000)]
Revert previous commit.

14 years agologging: hasHandlers additions documented.
Vinay Sajip [Mon, 20 Sep 2010 10:31:18 +0000 (10:31 +0000)]
logging: hasHandlers additions documented.

14 years agoReverted changes which were inadvertently committed.
Vinay Sajip [Mon, 20 Sep 2010 10:29:54 +0000 (10:29 +0000)]
Reverted changes which were inadvertently committed.

14 years agologging: added hasHandlers() to LoggerAdapter.
Vinay Sajip [Mon, 20 Sep 2010 10:13:13 +0000 (10:13 +0000)]
logging: added hasHandlers() to LoggerAdapter.

14 years agoWindows7 buildbot debug trial. (Probably impossible)
Hirokazu Yamamoto [Mon, 20 Sep 2010 09:59:55 +0000 (09:59 +0000)]
Windows7 buildbot debug trial. (Probably impossible)

14 years agologging: Add hasHandlers() method to Logger.
Vinay Sajip [Mon, 20 Sep 2010 09:55:00 +0000 (09:55 +0000)]
logging: Add hasHandlers() method to Logger.

14 years agoMention % as string formatting.
Georg Brandl [Mon, 20 Sep 2010 06:29:01 +0000 (06:29 +0000)]
Mention % as string formatting.

14 years agoFix typo.
Georg Brandl [Mon, 20 Sep 2010 06:27:02 +0000 (06:27 +0000)]
Fix typo.

14 years agoissue 9786 Native TLS support for pthreads
Kristján Valur Jónsson [Mon, 20 Sep 2010 02:11:49 +0000 (02:11 +0000)]
issue 9786 Native TLS support for pthreads
PyThread_create_key now has a failure mode that the applicatino can detect.

14 years agoTry a more robust implementation of _kill_process
Antoine Pitrou [Mon, 20 Sep 2010 01:33:21 +0000 (01:33 +0000)]
Try a more robust implementation of _kill_process

14 years agoTry to fix buildbot failure (#9902)
Antoine Pitrou [Mon, 20 Sep 2010 00:12:19 +0000 (00:12 +0000)]
Try to fix buildbot failure (#9902)

14 years agoMake error more explicit in test_finalize_with_trace
Antoine Pitrou [Sun, 19 Sep 2010 23:28:30 +0000 (23:28 +0000)]
Make error more explicit in test_finalize_with_trace

14 years agoTry to make signal-sending tests in test_subprocess more robust on slow machines
Antoine Pitrou [Sun, 19 Sep 2010 23:06:53 +0000 (23:06 +0000)]
Try to make signal-sending tests in test_subprocess more robust on slow machines

14 years agoTry to fix test_subprocess on "x86 debian parallel 3.x" buildbot
Antoine Pitrou [Sun, 19 Sep 2010 22:46:05 +0000 (22:46 +0000)]
Try to fix test_subprocess on "x86 debian parallel 3.x" buildbot

14 years agoPyImport_Import was using the old import hack of sticking a dummy value into
Brett Cannon [Sun, 19 Sep 2010 21:39:02 +0000 (21:39 +0000)]
PyImport_Import was using the old import hack of sticking a dummy value into
fromlist to get __import__ to return the module desired. Now it uses the proper
approach of fetching the module from sys.modules.

Closes issue #9252. Thanks to Alexander Belopolsky for the bug report.

14 years agoBe more precise as to what operations are supported
Antoine Pitrou [Sun, 19 Sep 2010 13:56:11 +0000 (13:56 +0000)]
Be more precise as to what operations are supported

14 years agoRemove references to read() and write() methods, which are useless synonyms of
Antoine Pitrou [Sun, 19 Sep 2010 13:31:06 +0000 (13:31 +0000)]
Remove references to read() and write() methods, which are useless synonyms of
recv() and send()

14 years agoMention that SSL sockets provide the basic socket API.
Antoine Pitrou [Sun, 19 Sep 2010 13:19:21 +0000 (13:19 +0000)]
Mention that SSL sockets provide the basic socket API.

14 years agoEdit concurrent docs, add versionadded and see also reference to the PEP.
Georg Brandl [Sun, 19 Sep 2010 09:31:09 +0000 (09:31 +0000)]
Edit concurrent docs, add versionadded and see also reference to the PEP.

14 years agoIssue #9552: Avoid unnecessary rebuild of OpenSSL. (Windows)
Hirokazu Yamamoto [Sun, 19 Sep 2010 09:24:20 +0000 (09:24 +0000)]
Issue #9552: Avoid unnecessary rebuild of OpenSSL. (Windows)

14 years agoAdd "concurrent" subdir to Makefile.
Georg Brandl [Sun, 19 Sep 2010 08:55:36 +0000 (08:55 +0000)]
Add "concurrent" subdir to Makefile.

14 years agoSet svn:ignore to folders.
Hirokazu Yamamoto [Sun, 19 Sep 2010 08:31:01 +0000 (08:31 +0000)]
Set svn:ignore to folders.

14 years agoedit concurrent.future docs
Benjamin Peterson [Sun, 19 Sep 2010 04:23:17 +0000 (04:23 +0000)]
edit concurrent.future docs

14 years agoset svn:eol-style on concurrent package files
Benjamin Peterson [Sun, 19 Sep 2010 03:55:10 +0000 (03:55 +0000)]
set svn:eol-style on concurrent package files

14 years agoset svn:eol-style on tracedmodules
Benjamin Peterson [Sun, 19 Sep 2010 03:54:31 +0000 (03:54 +0000)]
set svn:eol-style on tracedmodules

14 years agoUpdate the test_distutils mode test to test with umask value properly.
Senthil Kumaran [Sun, 19 Sep 2010 03:09:54 +0000 (03:09 +0000)]
Update the test_distutils mode test to test with umask value properly.

14 years agoIssue #1686: Fix string.Template when overriding the pattern attribute.
Florent Xicluna [Sat, 18 Sep 2010 23:34:07 +0000 (23:34 +0000)]
Issue #1686: Fix string.Template when overriding the pattern attribute.

14 years agoIssue #9854: SocketIO objects now observe the RawIOBase interface in
Antoine Pitrou [Sat, 18 Sep 2010 22:59:00 +0000 (22:59 +0000)]
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).

14 years agoIssue #9895: speed up test_subprocess
Antoine Pitrou [Sat, 18 Sep 2010 22:38:48 +0000 (22:38 +0000)]
Issue #9895: speed up test_subprocess

14 years agoInitial implementation of PEP 3148
Brian Quinlan [Sat, 18 Sep 2010 22:35:02 +0000 (22:35 +0000)]
Initial implementation of PEP 3148

14 years agoIssue #9894: Do not hardcode ENOENT in test_subprocess.
Antoine Pitrou [Sat, 18 Sep 2010 17:56:02 +0000 (17:56 +0000)]
Issue #9894: Do not hardcode ENOENT in test_subprocess.

(GNU/Hurd is not dead)

14 years agoIn Python3000, Tkinter was renamed to tkinter. And print is now function.
Hirokazu Yamamoto [Sat, 18 Sep 2010 04:42:41 +0000 (04:42 +0000)]
In Python3000, Tkinter was renamed to tkinter. And print is now function.