[issue14484] missing return in win32_kill?

2014-07-13 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue14484> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15962] Windows STDIN/STDOUT Redirection is actually FIXED

2014-07-13 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue15962> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15968] Incorporate Tcl/Tk/Tix into the Windows build process

2014-07-13 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue15968> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11344] Add os.path.splitpath(path) function

2014-07-13 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue11344> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7687] Bluetooth support untested

2014-07-14 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue7687> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11702] dir on return value of msilib.OpenDatabase() crashes python

2014-07-15 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue11702> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9099] multiprocessing/win32: WindowsError: [Error 0] Success on Pipe()

2014-07-15 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue9099> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9699] invalid call of Windows API _popen() generating The input line is too long error message

2014-07-15 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue9699> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11551] test_dummy_thread.py test coverage improvement

2014-07-17 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue11551> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9949] os.path.realpath on Windows does not follow symbolic links

2014-07-17 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue9949> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10305] Cleanup up ResourceWarnings in multiprocessing

2014-07-17 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue10305> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15411] os.chmod() does not follow symlinks on Windows

2014-07-17 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue15411> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13837] test_shutil fails with symlinks enabled under Windows

2014-07-17 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue13837> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17667] Windows: build with "build_pgo.bat -2" fails to optimize python.dll

2014-07-19 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue17667> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17896] Move Windows external libs from \..\ to \externals

2014-07-19 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue17896> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8232] webbrowser.open incomplete on Windows

2014-07-28 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue8232> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11990] redirected output - stdout writes newline as \n in windows

2014-07-29 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue11990> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4198] os.path.normcase gets fooled on windows with mapped linux network drive

2014-07-29 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue4198> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9665] Buid issues on Cygwin - _curses, _curses_panel, and _io

2014-07-29 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue9665> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4722] _winreg.QueryValue fault while reading mangled registry values

2014-07-29 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue4722> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16066] Truncated POST data in CGI script on Windows 7

2014-07-29 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue16066> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15207] mimetypes.read_windows_registry() uses the wrong regkey, creates wrong mappings

2014-07-30 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue15207> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13719] bdist_msi upload fails

2014-07-30 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue13719> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7944] Use the 'with' statement in conjunction with 'open' throughout test modules

2014-07-31 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue7944> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7897] Support parametrized tests in unittest

2014-07-31 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue7897> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7334] ElementTree: file locking in Jython 2.5 (OSError on Windows)

2014-08-04 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue7334> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17797] Visual C++ 11.0 reports fileno(stdin) == 0 for non-console program

2014-08-18 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue17797> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2014-08-18 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue7511> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22259] fdopen of directory causes segmentation fault

2014-08-23 Thread Brian Kearns
Changes by Brian Kearns : -- files: fdopen-directory.patch keywords: patch nosy: bdkearns priority: normal severity: normal status: open title: fdopen of directory causes segmentation fault type: crash versions: Python 2.7 Added file: http://bugs.python.org/file36444/fdopen

[issue8296] multiprocessing.Pool hangs when issuing KeyboardInterrupt

2014-08-23 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue8296> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22259] fdopen of directory causes segmentation fault

2014-08-23 Thread Brian Kearns
Changes by Brian Kearns : Removed file: http://bugs.python.org/file36444/fdopen-directory.patch ___ Python tracker <http://bugs.python.org/issue22259> ___ ___ Python-bug

[issue22259] fdopen of directory causes segmentation fault

2014-08-23 Thread Brian Kearns
Changes by Brian Kearns : Added file: http://bugs.python.org/file36450/fdopen-directory.patch ___ Python tracker <http://bugs.python.org/issue22259> ___ ___ Python-bug

[issue22259] fdopen of directory causes segmentation fault

2014-08-24 Thread Brian Kearns
Brian Kearns added the comment: Updated to use assertEqual -- Added file: http://bugs.python.org/file36452/fdopen-directory.patch ___ Python tracker <http://bugs.python.org/issue22

[issue22259] fdopen of directory causes segmentation fault

2014-08-24 Thread Brian Kearns
Changes by Brian Kearns : Removed file: http://bugs.python.org/file36450/fdopen-directory.patch ___ Python tracker <http://bugs.python.org/issue22259> ___ ___ Python-bug

[issue22265] fix reliance on refcounting in test_itertools

2014-08-24 Thread Brian Kearns
New submission from Brian Kearns: The test fails on Python implementations with non-refcounted GCs without this line. -- files: test_itertools.patch keywords: patch messages: 225835 nosy: bdkearns priority: normal severity: normal status: open title: fix reliance on refcounting in

[issue22266] fix reliance on refcounting in tarfile.gzopen

2014-08-24 Thread Brian Kearns
New submission from Brian Kearns: tarfile.gzopen relies on refcounting to close the fileobj when the fileobj is created during the call to gzopen (when it is not passed in). Since the fileobj is created outside of GzipFile, GzipFile does not take responsibility for closing the fileobj (so no

[issue22265] fix reliance on refcounting in test_itertools

2014-08-24 Thread Brian Kearns
Brian Kearns added the comment: Should go on py3k branches too... -- ___ Python tracker <http://bugs.python.org/issue22265> ___ ___ Python-bugs-list mailin

[issue22267] fix reliance on refcounting in test_weakref

2014-08-24 Thread Brian Kearns
New submission from Brian Kearns: The test fails on Python implementations with non-refcounted GCs without these lines. Should go on py3k branches also. -- files: test_weakref.patch keywords: patch messages: 225839 nosy: bdkearns priority: normal severity: normal status: open title

[issue22267] fix reliance on refcounting in test_weakref

2014-08-24 Thread Brian Kearns
Brian Kearns added the comment: Possibly. But if so then one would argue there are plenty of other instances where gc_collect "should" be used, both within test_weakref and the rest of the test suite. Chose gc.collect here as it was used all over test_weakref.py, gc_collect never

[issue9205] Parent process hanging in multiprocessing if children terminate unexpectedly

2014-08-24 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue9205> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22266] fix reliance on refcounting in tarfile.gzopen

2014-08-24 Thread Brian Kearns
Changes by Brian Kearns : Removed file: http://bugs.python.org/file36456/tarfile.patch ___ Python tracker <http://bugs.python.org/issue22266> ___ ___ Python-bugs-list m

[issue22266] fix reliance on refcounting in tarfile.gzopen

2014-08-24 Thread Brian Kearns
Brian Kearns added the comment: Yes, I guess that makes sense (though this behavior is undocumented and untested...) -- Added file: http://bugs.python.org/file36462/tarfile.patch ___ Python tracker <http://bugs.python.org/issue22

[issue22266] fix reliance on refcounting in tarfile.gzopen

2014-08-25 Thread Brian Kearns
Brian Kearns added the comment: Updated to backport all the cases where 3.x handles this issue. -- Added file: http://bugs.python.org/file36468/tarfile2.patch ___ Python tracker <http://bugs.python.org/issue22

[issue22266] fix reliance on refcounting in tarfile.gzopen

2014-08-25 Thread Brian Kearns
Changes by Brian Kearns : Removed file: http://bugs.python.org/file36468/tarfile2.patch ___ Python tracker <http://bugs.python.org/issue22266> ___ ___ Python-bugs-list m

[issue22266] fix reliance on refcounting in tarfile.gzopen

2014-08-25 Thread Brian Kearns
Changes by Brian Kearns : Added file: http://bugs.python.org/file36469/tarfile2.patch ___ Python tracker <http://bugs.python.org/issue22266> ___ ___ Python-bugs-list m

[issue1425127] os.remove OSError: [Errno 13] Permission denied

2014-08-30 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue1425127> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue900092] hotshot.stats.load fails with AssertionError

2014-09-05 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue900092> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22477] GCD in Fractions

2014-09-24 Thread Brian Gladman
New submission from Brian Gladman: There is a discussion of this issue on comp.lang.python The function known as 'the greatest common divisor' has a number of well defined mathematical properties for both positive and negative integers (see, for example, Elementary Number Theory

[issue11598] missing afxres.h error when building bdist_wininst in Visual Studio 2008 Express

2014-10-01 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue11598> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8110] subprocess.py doesn't correctly detect Windows machines

2014-10-06 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue8110> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1284316] Win32: Security problem with default installation directory

2014-10-06 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue1284316> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4832] IDLE does not supply a default ext of .py on Windows or OS X for new file saves

2014-10-06 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue4832> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14119] Ability to adjust queue size in Executors

2014-01-07 Thread Brian Quinlan
Brian Quinlan added the comment: Hi Victor, I don't understand your problem. Could you be very specific in your description? -- ___ Python tracker <http://bugs.python.org/is

[issue7776] http.client.HTTPConnection tunneling is broken

2014-01-07 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue7776> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20175] Derby #6: Convert 50 sites to Argument Clinic across 8 files

2014-01-09 Thread Brian Morrow
Changes by Brian Morrow : -- nosy: +bmorrow92 ___ Python tracker <http://bugs.python.org/issue20175> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20175] Derby #6: Convert 50 sites to Argument Clinic across 8 files

2014-01-09 Thread Brian Morrow
Brian Morrow added the comment: I'll gladly take this bundle. -- ___ Python tracker <http://bugs.python.org/issue20175> ___ ___ Python-bugs-list mailing list

[issue14119] Ability to adjust queue size in Executors

2014-01-10 Thread Brian Quinlan
Brian Quinlan added the comment: Can't you accomplish what you want using add_done_callback? e.g. # Pseudocode class MyExecutor(ThreadPoolExecutor): def __init__(self): self._count = 0 def _decrement(self): with self._some_lock: self._count -= 1 def submit(self, fn,

[issue20319] concurrent.futures.wait() can block forever even if Futures have completed

2014-01-23 Thread Brian Quinlan
Brian Quinlan added the comment: I'm not currently working on concurrent.futures but I do look at patches and bug reports. I'll take a look at this and Issue20297 sometime this week. -- ___ Python tracker <http://bugs.python.o

[issue20319] concurrent.futures.wait() can block forever even if Futures have completed

2014-01-25 Thread Brian Quinlan
Brian Quinlan added the comment: I'm looking at "futures.patch". I don't understand why these blocks are helpful -"_create_and_install_waiters" has two call sites and both ("as_completed" and "wait") call "_create_and_install_

[issue19456] ntpath doesn't join paths correctly when a drive is present

2014-01-27 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: +zach.ware -brian.curtin ___ Python tracker <http://bugs.python.org/issue19456> ___ ___ Python-bugs-list mailing list Unsub

[issue20319] concurrent.futures.wait() can block forever even if Futures have completed

2014-01-29 Thread Brian Quinlan
Changes by Brian Quinlan : -- assignee: -> bquinlan ___ Python tracker <http://bugs.python.org/issue20319> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue20319] concurrent.futures.wait() can block forever even if Futures have completed

2014-01-31 Thread Brian Quinlan
Brian Quinlan added the comment: Thanks very much for the patch Glenn! -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue20319> ___ _

[issue20319] concurrent.futures.wait() can block forever even if Futures have completed

2014-01-31 Thread Brian Quinlan
Brian Quinlan added the comment: Oops, no. That was junk due to my sloppiness. I’ll fix it in a minute. On Jan 31, 2014, at 5:03 PM, STINNER Victor wrote: > > STINNER Victor added the comment: > >> New changeset 0bcf23a52d55 by Brian Quinlan in branch 'defau

[issue6815] UnicodeDecodeError in os.path.expandvars

2014-02-12 Thread Brian Curtin
Brian Curtin added the comment: Sorry, I don't have a Windows environment setup right now. -- ___ Python tracker <http://bugs.python.org/issue6815> ___ ___

[issue20614] test.script_helper should copy SYSTEMROOT environment variable for __cleanenv=True

2014-02-16 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue20614> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20717] test_4_daemon_threads() fails randomly on "x86 Windows Server 2003 [SB] 3.x"

2014-02-21 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue20717> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20858] Enhancements/fixes to pure-python datetime module

2014-03-06 Thread Brian Kearns
New submission from Brian Kearns: This patch brings the pure-python datetime more in-line with the C module. We have been running these modifications in PyPy2 stdlib for more than a year with no issue. Includes: - General PEP8/cleanups - Better testing of argument types passed to constructors

[issue20858] Enhancements/fixes to pure-python datetime module

2014-03-06 Thread Brian Kearns
Changes by Brian Kearns : Added file: http://bugs.python.org/file34294/datetime-py33.patch ___ Python tracker <http://bugs.python.org/issue20858> ___ ___ Python-bug

[issue20858] Enhancements/fixes to pure-python datetime module

2014-03-06 Thread Brian Kearns
Brian Kearns added the comment: Also includes bug fixes/tests for certain rounding cases (doesn't apply to the 3.4 version). -- ___ Python tracker <http://bugs.python.org/is

[issue20858] Enhancements/fixes to pure-python datetime module

2014-03-06 Thread Brian Kearns
Changes by Brian Kearns : Added file: http://bugs.python.org/file34295/datetime-py33-v2.patch ___ Python tracker <http://bugs.python.org/issue20858> ___ ___ Python-bug

[issue20858] Enhancements/fixes to pure-python datetime module

2014-03-06 Thread Brian Kearns
Changes by Brian Kearns : Added file: http://bugs.python.org/file34296/datetime-py34-v2.patch ___ Python tracker <http://bugs.python.org/issue20858> ___ ___ Python-bug

[issue20858] Enhancements/fixes to pure-python datetime module

2014-03-06 Thread Brian Kearns
Brian Kearns added the comment: Updated patch to v2 with another test/fix for type checking of __format__ argument to match the C module. -- ___ Python tracker <http://bugs.python.org/issue20

[issue20858] Enhancements/fixes to pure-python datetime module

2014-03-06 Thread Brian Kearns
Brian Kearns added the comment: The C datetime module uses the 'i' code for parsing these args, not 'n' (which would correspond to operator.index). Using operator.index fails a test case I added (cases for classes like decimal.Decimal, implementing __int_

[issue20858] Enhancements/fixes to pure-python datetime module

2014-03-06 Thread Brian Kearns
Brian Kearns added the comment: Right, that's the behavior as it stands, so I hope this patch can be considered independently of that issue (and if such a change is made to the C implementation, then a corresponding change could be made in the python implement

[issue20858] Enhancements/fixes to pure-python datetime module

2014-03-06 Thread Brian Kearns
Brian Kearns added the comment: Yes, I am the PyPy developer who worked on these datetime improvements there -- just finally got around to pushing them upstream. -- ___ Python tracker <http://bugs.python.org/issue20

[issue20861] datetime argument handling inconsistent; should accept logical integers, not coercible values

2014-03-06 Thread Brian Kearns
Changes by Brian Kearns : -- nosy: +bdkearns ___ Python tracker <http://bugs.python.org/issue20861> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20858] Enhancements/fixes to pure-python datetime module

2014-03-06 Thread Brian Kearns
Changes by Brian Kearns : Added file: http://bugs.python.org/file34297/datetime-py33-v3.patch ___ Python tracker <http://bugs.python.org/issue20858> ___ ___ Python-bug

[issue20858] Enhancements/fixes to pure-python datetime module

2014-03-06 Thread Brian Kearns
Changes by Brian Kearns : Added file: http://bugs.python.org/file34298/datetime-py34-v3.patch ___ Python tracker <http://bugs.python.org/issue20858> ___ ___ Python-bug

[issue20887] stdlib compatibility with pypy, test_zipfile.py

2014-03-10 Thread Brian Kearns
Changes by Brian Kearns : -- nosy: +bdkearns ___ Python tracker <http://bugs.python.org/issue20887> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5511] zipfile - add __exit__ attribute to make ZipFile object compatible with with_statement

2009-07-23 Thread Brian Curtin
Brian Curtin added the comment: Submitted a patch against trunk. Let me know if you need anything else (doc patch?). -- keywords: +patch nosy: +briancurtin Added file: http://bugs.python.org/file14554/zipfile_issue_5511.patch ___ Python tracker

[issue5511] zipfile - add __exit__ attribute to make ZipFile object compatible with with_statement

2009-07-25 Thread Brian Curtin
Brian Curtin added the comment: Attached is a patch containing the fix, the updated tests, and the doc change. Let me know if you have any questions, suggestions, etc. -- Added file: http://bugs.python.org/file14566/issue5511_complete.patch

[issue5511] zipfile - add __exit__ attribute to make ZipFile object compatible with with_statement

2009-07-25 Thread Brian Curtin
Changes by Brian Curtin : Removed file: http://bugs.python.org/file14554/zipfile_issue_5511.patch ___ Python tracker <http://bugs.python.org/issue5511> ___ ___ Python-bug

[issue5511] zipfile - add __exit__ attribute to make ZipFile object compatible with with_statement

2009-10-08 Thread Brian Curtin
Brian Curtin added the comment: Added two tests -- test_close and test_close_on_exception, which check if fp is None after __exit__ from a normal and exception case. -- keywords: +patch Added file: http://bugs.python.org/file15082/issue5511_complete_20091008.patch

[issue7071] distutils and IronPython compatibility

2009-10-08 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: +briancurtin ___ Python tracker <http://bugs.python.org/issue7071> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7200] multiprocessing deadlock on Mac OS X when queue collected before process terminates

2009-10-24 Thread Brian Quinlan
New submission from Brian Quinlan : This code: import multiprocessing import queue def _process_worker(q): while True: try: something = q.get(block=True, timeout=0.1) except queue.Empty: return else: pass # print

[issue7169] zipfile leaves a file handle open if file is zero size

2009-10-28 Thread Brian Curtin
Brian Curtin added the comment: Since the issue exists in 2.6 and is only currently fixed on trunk and beyond, shouldn't the 6511 fix make it's way backwards into 2.6.x? -- nosy: +brian.curtin ___ Python tracker <http://bugs.python.

[issue6292] Fix tests to work with -OO

2009-11-04 Thread Brian Curtin
Brian Curtin added the comment: I've attached a patch against trunk (r76107) which I think implements more of what Antoine is looking for. It builds on Collin's patch but uses unittest.skipIf to skip tests which shouldn't be run with -OO. It also checks sys.flags.optimize in D

[issue5774] _winreg.OpenKey() is documented with keyword arguments, but doesn't take them

2009-11-04 Thread Brian Curtin
Brian Curtin added the comment: Attached is a patch against trunk r76107 which fixes OpenKey to take keyword arguments as the documentation states. There is also a small fix to test_winreg - the third param to OpenKey on line 45 is the `res` positional param, which should always be zero

[issue4722] _winreg.QueryValue fault while reading mangled registry values

2009-11-07 Thread Brian Curtin
Brian Curtin added the comment: It happens to me on trunk with Windows XP. I also have access to Windows Server 2003 where I can test this (haven't yet). Which version are you running that you don't see this issue? -- ___ Python trac

[issue3475] _elementtree.c import can fail silently

2009-11-07 Thread Brian Harring
Brian Harring added the comment: At this point, this affects 2.5, 2.6, and 3.1 (and the normal 1.0.5 release of cElementTree); what's required to get this fixed and queued up for micro/minor releases? Sidenote, the patch posted above still leaks a reference- -- keywords: +patch

[issue7306] Patch - skip winsound tests if no default sound is configured

2009-11-11 Thread Brian Curtin
New submission from Brian Curtin : I noticed test failures on trunk for test_winsound on only one of my boxes. Everything works fine on XP, but PlaySoundTest test methods fail on Windows Server 2003. It appears that on WS2k3 there are no default system sounds configured. For example, view the

[issue1235] CGIHTTPRequestHandler.run_cgi() does not run on Windows if sys.executable contains blanks

2009-11-11 Thread Brian Curtin
Brian Curtin added the comment: This change causes failures in test_httpservers on trunk r76211 on Windows. I attached a simple patch which fixes the problem (NameError on 'p'). -- nosy: +brian.curtin Added file: http://bugs.python.org/file15309/issue1235

[issue2777] subprocess unit tests for kill, term and send_signal flaky

2009-11-11 Thread Brian Curtin
Brian Curtin added the comment: I re-enabled the tests a few days ago and haven't seen any issues on Windows or Linux. I attached a patch against r76222 which enables the kill, term, and send_signal tests again, and also did some clean-up and updating to the way tests are skipped. I

[issue7306] Patch - skip winsound tests if no default sound is configured

2009-11-13 Thread Brian Curtin
Changes by Brian Curtin : Removed file: http://bugs.python.org/file15308/winsound_test_skipping.patch ___ Python tracker <http://bugs.python.org/issue7306> ___ ___ Pytho

[issue7306] Patch - skip winsound tests if no default sound is configured

2009-11-13 Thread Brian Curtin
Brian Curtin added the comment: Minor cleanup of the original patch -- Added file: http://bugs.python.org/file15320/winsound_test_skipping.patch ___ Python tracker <http://bugs.python.org/issue7

[issue7301] Add environment variable $PYTHONWARNINGS

2009-11-13 Thread Brian Curtin
Brian Curtin added the comment: I attached a patch against trunk r76237 which seems to cover this, sans official tests. I looked around and didn't find a good place for specifically testing environment variables. I could add test code in test_warnings if that's the best place. The pa

[issue7301] Add environment variable $PYTHONWARNINGS

2009-11-13 Thread Brian Curtin
Brian Curtin added the comment: Added a patch which includes tests in test_warnings. There are tests for a single warning, two comma separated warnings, and one env var warning and one command line warning at the same time. -- Added file: http://bugs.python.org/file15324/issue7301_v2

[issue1286] fileinput, StringIO, and cStringIO do not support the with protocol

2009-11-17 Thread Brian Curtin
Brian Curtin added the comment: Attached is a patch against trunk r76325 which implements context manager support for fileinput/FileInput, with tests and doc change. -- keywords: +patch nosy: +brian.curtin Added file: http://bugs.python.org/file15355/issue1286.patch

[issue7347] Patch - add RegCreateKeyEx to _winreg

2009-11-18 Thread Brian Curtin
New submission from Brian Curtin : The _winreg module could use the addition of the RegCreateKeyEx call, as evidenced by this thread on c.l.py: http://mail.python.org/pipermail/python-list/2009-November/614023.html This expanded API would benefit users trying to create keys with access masks

[issue7347] Patch - add RegCreateKeyEx to _winreg

2009-11-18 Thread Brian Curtin
Changes by Brian Curtin : Removed file: http://bugs.python.org/file15359/winreg_add_createkeyex.patch ___ Python tracker <http://bugs.python.org/issue7347> ___ ___ Pytho

<    11   12   13   14   15   16   17   18   19   20   >