[issue10253] Fix fd leak in fileio.c and test resource warnings

2010-10-30 Thread Brian Brazil
New submission from Brian Brazil : fileio_init will leak a fd if you open a file for append that isn't seekable. We should close this fd before returning the failure. The attached patch fixes this and a resource warning in the tests, but I'm unsure if it'd be better to use inte

[issue10253] Fix fd leak in fileio.c and test resource warnings

2010-10-30 Thread Brian Brazil
Brian Brazil added the comment: Version 2 of the patch is attached. This fixes a warning at line 256 in test_fileio.py: f = _FileIO("/dev/tty", "a") on my Hardy machine. -- Added file: http://bugs.python.org/file19433/fil

[issue9981] let make_buildinfo use a temporary directory on windows

2010-10-30 Thread Brian Curtin
Brian Curtin added the comment: Is there a reason this removes the Release x64 configuration? -- nosy: +brian.curtin ___ Python tracker <http://bugs.python.org/issue9

[issue9981] let make_buildinfo use a temporary directory on windows

2010-10-30 Thread Brian Curtin
Brian Curtin added the comment: Let me rephrase that: What makes the Release x64 configuration unnecessary, thus removed? -- ___ Python tracker <http://bugs.python.org/issue9

[issue10256] Fix resource warnings in test_pkgimport

2010-10-30 Thread Brian Brazil
New submission from Brian Brazil : Please see attached patch. -- components: Tests files: test_pkgimport_fd_leak.patch keywords: patch messages: 120014 nosy: bbrazil priority: normal severity: normal status: open title: Fix resource warnings in test_pkgimport versions: Python 3.3 Added

[issue10257] Fix resource warnings in test_os

2010-10-30 Thread Brian Brazil
New submission from Brian Brazil : Please see attached. -- components: Tests files: test_os_fd_leak.patch keywords: patch messages: 120015 nosy: bbrazil priority: normal severity: normal status: open title: Fix resource warnings in test_os versions: Python 3.3 Added file: http

[issue10257] Fix resource warnings in test_os

2010-10-30 Thread Brian Brazil
Brian Brazil added the comment: I'm used to a slightly different style guide, v2 has the right indentation. -- Added file: http://bugs.python.org/file19438/test_os_fd_leak_v2.patch ___ Python tracker <http://bugs.python.org/is

[issue10258] Fix resource warnings in distutil test_tokenize

2010-10-30 Thread Brian Brazil
New submission from Brian Brazil : Please see attached patch. -- components: Tests files: test_tokenize_fd_leak.patch keywords: patch messages: 120019 nosy: bbrazil priority: normal severity: normal status: open title: Fix resource warnings in distutil test_tokenize versions: Python 3.3

[issue10256] Fix resource warnings in test_pkgimport

2010-10-30 Thread Brian Curtin
Brian Curtin added the comment: Fixed in r85984. Thanks. -- assignee: -> brian.curtin nosy: +brian.curtin resolution: -> fixed stage: -> committed/rejected status: open -> closed type: -> resource usage versions: +Python

[issue10257] Fix resource warnings in test_os

2010-10-30 Thread Brian Curtin
Brian Curtin added the comment: Fixed in r85987. Made both places hunks of the patch use the context manager. -- assignee: -> brian.curtin nosy: +brian.curtin resolution: -> fixed stage: -> committed/rejected type: -> resource usage versions: +Python 3.2

[issue10257] Fix resource warnings in test_os

2010-10-30 Thread Brian Curtin
Changes by Brian Curtin : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue10257> ___ ___ Python-bugs-list mailing list Unsubscri

[issue10258] Fix resource warnings in distutil test_tokenize

2010-10-30 Thread Brian Curtin
Brian Curtin added the comment: Fixed in r85990. Thanks. -- assignee: -> brian.curtin nosy: +brian.curtin resolution: -> fixed stage: -> committed/rejected status: open -> closed type: -> resource usage versions: +Python

[issue10258] Fix resource warnings in test_tokenize

2010-10-31 Thread Brian Brazil
Brian Brazil added the comment: Fixing title. -- title: Fix resource warnings in distutil test_tokenize -> Fix resource warnings in test_tokenize ___ Python tracker <http://bugs.python.org/issu

[issue10264] Fix resource warnings in test_smtplib

2010-10-31 Thread Brian Brazil
New submission from Brian Brazil : Please see attached. -- components: Tests files: test_smtplib_fd_leak.patch keywords: patch messages: 120047 nosy: bbrazil priority: normal severity: normal status: open title: Fix resource warnings in test_smtplib versions: Python 3.3 Added file: http

[issue10265] Fix fd leak in sunau

2010-10-31 Thread Brian Brazil
New submission from Brian Brazil : Please see attached. It's possible that this change will lead to fds leaking if someone is passing in a fd, however a) this is consistent with how other modules (e.g. uu) do it and b) of the 2 (!) uses of this module I found on Google Codesearch, both

[issue10265] Fix fd leak in sunau

2010-10-31 Thread Brian Curtin
Brian Curtin added the comment: Forget the attachment? -- nosy: +brian.curtin type: -> resource usage versions: +Python 3.2 -Python 3.3 ___ Python tracker <http://bugs.python.org/issu

[issue10266] uu.decode fd leak if in_file is a filename

2010-10-31 Thread Brian Brazil
New submission from Brian Brazil : I missed this when fixing issue 10246. The attached patch fixes this and adds a test that produces a resource warning with the old code. -- components: Library (Lib) files: uu_decode_fd_leak.patch keywords: patch messages: 120054 nosy: bbrazil

[issue10265] Fix fd leak in sunau

2010-10-31 Thread Brian Brazil
Brian Brazil added the comment: That'd help alright. -- keywords: +patch Added file: http://bugs.python.org/file19446/sunau_fd_leak.patch ___ Python tracker <http://bugs.python.org/is

[issue10266] uu.decode fd leak if in_file is a filename

2010-10-31 Thread Brian Brazil
Brian Brazil added the comment: The patch is against current SVN. -- ___ Python tracker <http://bugs.python.org/issue10266> ___ ___ Python-bugs-list mailin

[issue10265] Fix fd leak in sunau

2010-10-31 Thread Brian Brazil
Brian Brazil added the comment: Currently, if you pass in a fd it'll be closed by the __del__. My patch no longer does this so any use of the module depending on this behaviour could leak an fd. However, noone seems to use the module that way. V2 attached. -- Added file:

[issue10246] uu.encode fd leak if arguments are filenames

2010-10-31 Thread Brian Brazil
Brian Brazil added the comment: The garbage collector should take care of the vast majority of these, it's only bugs in the C like issue 10253 that I'd worry about. -- ___ Python tracker <http://bugs.python.o

[issue9846] ZipExtFile provides no mechanism for closing the underlying file object

2010-10-31 Thread Brian Curtin
Brian Curtin added the comment: A fix to this would help silence a number of ResourceWarning messages coming out of the test suite. -- nosy: +brian.curtin ___ Python tracker <http://bugs.python.org/issue9

[issue10269] Fix some resource warnings in test_sax

2010-10-31 Thread Brian Brazil
New submission from Brian Brazil : Please see attached. -- components: Tests files: test_sax_fd_leak.patch keywords: patch messages: 120077 nosy: bbrazil priority: normal severity: normal status: open title: Fix some resource warnings in test_sax versions: Python 3.3 Added file: http

[issue10270] Fix resource warnings in test_threading

2010-10-31 Thread Brian Brazil
New submission from Brian Brazil : Please see attached. -- components: Tests files: test_threading_fd_leak.patch keywords: patch messages: 120079 nosy: bbrazil priority: normal severity: normal status: open title: Fix resource warnings in test_threading Added file: http

[issue10275] how to know that a module is a module, a function is a function ?

2010-10-31 Thread Brian Curtin
Brian Curtin added the comment: See the "types" module, specifically types.ModuleType. Compare that to your "type(os)" result. This is not a support channel. Please see python-list for these types of questions. -- nosy: +brian.curtin resolution: -> reject

[issue10277] sax leaks a fd if source is a filename

2010-11-01 Thread Brian Brazil
New submission from Brian Brazil : If saxutils.prepare_input_source is passed a filename or url, it'll end up leaking an fd via IncrementalParser.parse and ExpatParser.parse. This can be seen by enabling resource warnings and running test_sax. This should be fixed. -- compo

[issue10279] test_gc failure on Windows x64

2010-11-01 Thread Brian Curtin
New submission from Brian Curtin : == FAIL: test_garbage_at_shutdown (test.test_gc.GCTests) -- Traceback (most recent call last): File "c:\python-dev\py3

[issue10290] Fix resource warnings in distutils

2010-11-01 Thread Brian Curtin
New submission from Brian Curtin : The attached patch cleans up the numerous ResourceWarning messages that distutils test runs generate. The changes basically just close all open files - some in the test suite, some in the library code. No context managers were used since distutils appears in

[issue10290] Fix resource warnings in distutils

2010-11-01 Thread Brian Curtin
Brian Curtin added the comment: Wow, I should open my eyes. Dupe of #10252 -- assignee: tarek -> resolution: -> duplicate stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python

[issue10252] Fix resource warnings in distutils

2010-11-01 Thread Brian Curtin
Brian Curtin added the comment: The patch shouldn't use context managers, as distutils claims to support 2.3. #10290 contains a similar patch which doesn't use 'with'. (Sorry to duplicate efforts here, forgot to search...) -- nosy: +brian.curtin sta

[issue10252] Fix resource warnings in distutils

2010-11-02 Thread Brian Brazil
Brian Brazil added the comment: I don't see your patch on the other bug, so I've updated mine not to use with. -- Added file: http://bugs.python.org/file19470/distutils_fd_leak_v2.patch ___ Python tracker <http://bugs.python.o

[issue10305] Cleanup up ResourceWarnings in multiprocessing

2010-11-03 Thread Brian Curtin
New submission from Brian Curtin : As shown in a debug run of test_multiprocessing, at least two places in managers.py apparently leave open sockets. Lines 786 and 805 are the culprits, both util log lines. -- components: Library (Lib) messages: 120367 nosy: asksol, brian.curtin

[issue10279] test_gc failure on Windows x64

2010-11-04 Thread Brian Curtin
Brian Curtin added the comment: Works for me. -- assignee: brian.curtin -> pitrou ___ Python tracker <http://bugs.python.org/issue10279> ___ ___ Python-

[issue1926] NNTPS support in nntplib

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

[issue10027] os.lstat/os.stat don't set st_nlink on Windows

2010-11-05 Thread Brian Curtin
Brian Curtin added the comment: Works for me. I think it should be ok to commit. -- assignee: -> ocean-city ___ Python tracker <http://bugs.python.org/issu

[issue10252] Fix resource warnings in distutils

2010-11-06 Thread Brian Curtin
Changes by Brian Curtin : Added file: http://bugs.python.org/file19524/fix_pipe_close.diff ___ Python tracker <http://bugs.python.org/issue10252> ___ ___ Python-bug

[issue10370] py3 readlines() reports wrong offset for UnicodeDecodeError

2010-11-08 Thread Brian Warner
New submission from Brian Warner : I noticed that the UnicodeDecodeError exception produced by trying to do open(fn).readlines() (i.e. using the default ASCII encoding) on a file that's actually UTF-8 reports the wrong offset for the first undecodeable character. From what I can tel

[issue9995] "setup.py register sdist upload" requires pass to be saved

2010-11-09 Thread Brian Curtin
Changes by Brian Curtin : -- type: security -> behavior ___ Python tracker <http://bugs.python.org/issue9995> ___ ___ Python-bugs-list mailing list Unsubscri

[issue10370] py3 readlines() reports wrong offset for UnicodeDecodeError

2010-11-09 Thread Brian Warner
Brian Warner added the comment: > Use .readline() to locate an invalid byte is not the right algorithm. If > you would like to do that, you should open the file in binary mode and > decodes the content yourself, chunk by chunk. Or if you manipulate small > files, you can use .r

[issue10134] test_email failures on Windows: end of line issue?

2010-11-15 Thread Brian Curtin
Brian Curtin added the comment: > Still not sure why they were not showing up on the buildbots. Victor was > working from an svn checkout and I from the binary installer, so it's not > just a difference in the svn eol handling. I too had only been seeing this in my checkout,

[issue9116] test_capi.test_no_FatalError_infinite_loop crash on Windows

2010-11-15 Thread Brian Curtin
Brian Curtin added the comment: The patch works for me. Unfortunately my knowledge on this particular area is very low so I can't really evaluate the patch. -- ___ Python tracker <http://bugs.python.org/i

[issue10432] concurrent.futures.as_completed() spins waiting for futures to complete

2010-11-17 Thread Brian Quinlan
Brian Quinlan added the comment: Looks good but you forgot to actually use your new Waiter ;-) Committed as r86491. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python track

[issue11288] Python installed from MSI doesn't work

2011-02-22 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: +brian.curtin, loewis ___ Python tracker <http://bugs.python.org/issue11288> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11288] Python installed from MSI doesn't work

2011-02-22 Thread Brian Curtin
Brian Curtin added the comment: It works fine for me. Just did a 32-bit Python 3.2 install on a Windows 7 64-bit machine and IDLE works. -- ___ Python tracker <http://bugs.python.org/issue11

[issue11324] ConfigParser(interpolation=None) doesn't work

2011-02-25 Thread Brian Curtin
Changes by Brian Curtin : -- assignee: -> lukasz.langa nosy: +lukasz.langa ___ Python tracker <http://bugs.python.org/issue11324> ___ ___ Python-bugs-list mai

[issue7769] SimpleXMLRPCServer.SimpleXMLRPCServer.register_function as decorator

2011-03-08 Thread Brian Curtin
Brian Curtin added the comment: Santoso - since this is a feature request it would need to be retargeted to 3.3 -- versions: +Python 3.3 -Python 2.7 ___ Python tracker <http://bugs.python.org/issue7

[issue11406] There is no os.listdir() equivalent returning generator instead of list

2011-03-08 Thread Brian Curtin
Brian Curtin added the comment: -1 on going back through blah/xblah all over again. -- nosy: +brian.curtin ___ Python tracker <http://bugs.python.org/issue11

[issue11469] Fix resource warning in test_trailers

2011-03-11 Thread Brian Curtin
Brian Curtin added the comment: FYI this was created during my PyCon talk...needed a non-dev account for the demo. -- nosy: +brian.curtin ___ Python tracker <http://bugs.python.org/issue11

[issue11483] python fails to follow symlinks on windows

2011-03-13 Thread Brian Curtin
Brian Curtin added the comment: This is a duplicate of #6727, which is now easier to fix due to the symlink work in 3.2. -- resolution: -> duplicate stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bug

[issue6727] ImportError when package is symlinked on Windows

2011-03-13 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: +brian.curtin ___ Python tracker <http://bugs.python.org/issue6727> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11489] json.dumps not parsable by json.loads (on Linux only)

2011-03-13 Thread Brian Merrell
New submission from Brian Merrell : The following works on Win7x64 Python 2.6.5 and breaks on Ubuntu 10.04x64-2.6.5. This raises three issues: 1) Shouldn't anything generated by json.dumps be parsed by json.loads? 2) It appears this is an invalid unicode character. Shouldn't this

[issue11488] Add writelines test coverage in tempfile

2011-03-14 Thread Brian Curtin
Brian Curtin added the comment: Agreed, looks fine. -- ___ Python tracker <http://bugs.python.org/issue11488> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11489] json.dumps not parsable by json.loads (on Linux only)

2011-03-14 Thread Brian Merrell
Brian Merrell added the comment: >I am not sure this should be fixed in 2.x. Lone surrogates seem to >round-trip >just fine in 2.x and there likely to be existing code that >relies on this. I generally agree but am then at a loss as to how to detect and deal with lone surrogate

[issue11491] dbm.open(..., flag="n") raises dbm.error if file exists and is rejected by whichdb

2011-03-14 Thread Brian Curtin
Brian Curtin added the comment: Attached is a slightly updated version of the patch. If the assertEqual for any reason were to fail, the file wouldn't be closed, leading to a ResourceWarning. That'll work on 3.2+, but if this is backported consideration will have to be made

[issue11491] dbm.open(..., flag="n") raises dbm.error if file exists and is rejected by whichdb

2011-03-14 Thread Brian Curtin
Brian Curtin added the comment: The 3.x side of things is taken care of. Still need to see if there is any issue on 2.7 where things are organized differently and dbm is in C. -- assignee: -> brian.curtin stage: -> commit review ___

[issue11503] Expand test coverage in posixpath

2011-03-14 Thread Brian Curtin
Changes by Brian Curtin : -- keywords: +needs review nosy: +brian.curtin stage: -> patch review ___ Python tracker <http://bugs.python.org/issue11503> ___ _

[issue11512] adding test suite for cgitb

2011-03-14 Thread Brian Curtin
Changes by Brian Curtin : -- assignee: -> brian.curtin keywords: +needs review stage: -> patch review versions: +Python 2.7, Python 3.1, Python 3.2, Python 3.3 ___ Python tracker <http://bugs.python.org/i

[issue9362] Make exit/quit hint more novice friendly

2011-03-14 Thread Brian Curtin
Changes by Brian Curtin : -- resolution: -> rejected stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.o

[issue1038909] pydoc method documentation lookup enhancement

2011-03-14 Thread Brian Curtin
Changes by Brian Curtin : -- resolution: -> rejected stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue10775] assertRaises as a context manager should accept a 'msg' keyword argument.

2011-03-15 Thread Brian Curtin
Brian Curtin added the comment: I showed robquad how to do the review stuff at PyCon but I forgot about the publish part. Robbie, if you hit "Publish + Mail Comments" near the top of the page after you've left comments, it'll send them out. What he noticed was that chan

[issue11509] fileinput module unit test coverage improvements

2011-03-15 Thread Brian Curtin
Brian Curtin added the comment: Many thanks for the patch, Denver! -- assignee: -> brian.curtin resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python

[issue11503] Expand test coverage in posixpath

2011-03-15 Thread Brian Curtin
Brian Curtin added the comment: Tested the patch on Windows -- all tests pass. -- ___ Python tracker <http://bugs.python.org/issue11503> ___ ___ Python-bug

[issue11577] testcase for exception binhex.Error

2011-03-16 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: +brian.curtin ___ Python tracker <http://bugs.python.org/issue11577> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10535] Enable warnings by default in unittest

2011-03-17 Thread Brian Curtin
Brian Curtin added the comment: I'm not seeing those warnings anymore, so I think the patch can be ignored. -- ___ Python tracker <http://bugs.python.org/is

[issue11583] os.path.isdir() is slow on windows

2011-03-17 Thread Brian Curtin
Brian Curtin added the comment: I made a bunch of the stat changes in 3.2 so I'll assign this to myself and take a look. -- assignee: -> brian.curtin stage: -> needs patch ___ Python tracker <http://bugs.python.

[issue11596] import error in test_fileinput.py when bz2 not installed (windows)

2011-03-18 Thread Brian Curtin
Brian Curtin added the comment: Thanks for the patch! -- assignee: -> brian.curtin nosy: +brian.curtin resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python

[issue11629] Reference implementation for PEP 397

2011-03-22 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: +brian.curtin ___ Python tracker <http://bugs.python.org/issue11629> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11636] fh is not defined in npyio.py fromregex

2011-03-22 Thread Brian Curtin
Brian Curtin added the comment: You should report this to whoever makes npyio.py -- nosy: +brian.curtin resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue11620] winsound.PlaySound() with SND_MEMORY should accept bytes instead of strings

2011-03-22 Thread Brian Curtin
Changes by Brian Curtin : -- components: +Extension Modules, Windows -Library (Lib) nosy: +brian.curtin stage: -> needs patch type: -> behavior ___ Python tracker <http://bugs.python.org/i

[issue11641] raw_input() -> input() security issue

2011-03-22 Thread Brian Curtin
Brian Curtin added the comment: This is incorrect. Please look at Python/bltinmodule.c for how input() is implemented - there is no eval involved. -- nosy: +brian.curtin ___ Python tracker <http://bugs.python.org/issue11

[issue11641] raw_input() -> input() security issue

2011-03-22 Thread Brian Curtin
Changes by Brian Curtin : -- type: security -> ___ Python tracker <http://bugs.python.org/issue11641> ___ ___ Python-bugs-list mailing list Unsubscri

[issue11642] regression: input() doesn't strip a trailing newline on Windows

2011-03-22 Thread Brian Curtin
Brian Curtin added the comment: 3.2.1 will have the fix. -- nosy: +brian.curtin resolution: -> duplicate stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue11635] concurrent.futures uses polling

2011-03-22 Thread Brian Quinlan
Brian Quinlan added the comment: I would suggest that you base your patch on 3.3/default. -- ___ Python tracker <http://bugs.python.org/issue11635> ___ ___ Pytho

[issue11635] concurrent.futures uses polling

2011-03-23 Thread Brian Quinlan
Brian Quinlan added the comment: Your approach seems workable but your patch allows the interpreter to exit while work items are still being processed. See the comment at the top of concurrent/futures/thread.py. -- ___ Python tracker <h

[issue11635] concurrent.futures uses polling

2011-03-23 Thread Brian Quinlan
Brian Quinlan added the comment: Sorry, I didn't read an error message very carefully. When I apply your patch I see: >>> from concurrent.futures import * >>> from time import * >>> t = ThreadPoolExecutor(5) >>> t.submit(sleep, 100) >>> Erro

[issue11656] Debug builds for Windows would be very helpful

2011-03-23 Thread Brian Curtin
Brian Curtin added the comment: I believe there was a previous request for this which was rejected, likely for reasons Amaury listed. -- nosy: +brian.curtin, loewis ___ Python tracker <http://bugs.python.org/issue11

[issue11668] _multiprocessing.Connection.poll with timeout uses polling under Windows

2011-03-24 Thread Brian Curtin
Brian Curtin added the comment: SYNCHRONIZE comes for free on pipes created with CreateNamedPipe, so there's nothing to do there. I think it's more likely that we'll have to use WaitForMultipleObjects and include the pipe handle with a signal handler for Ctrl-C. I believ

[issue1602] windows console doesn't print or input Unicode

2011-03-25 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue1602> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11668] _multiprocessing.Connection.poll with timeout uses polling under Windows

2011-03-25 Thread Brian Curtin
Brian Curtin added the comment: Attaching an initial patch implementing the same functionality but using WaitForMultipleObjects. Here's some details: WFMO takes an array of objects to wait on, which is the pipe handle and sigint_event which is a handle to an event which gets set when C

[issue11687] distutils register does not work from the command line

2011-03-27 Thread Brian Curtin
Brian Curtin added the comment: In the end, this is a duplicate of #11272 -- it's not specific to distutils but this is where the issue pops up. input() in 3.2.0 isn't working properly so you won't be able to run the register command. This is fixed for 3.2.1 In the meantime,

[issue1673007] urllib2 requests history + HEAD support

2011-03-28 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: +brian.curtin ___ Python tracker <http://bugs.python.org/issue1673007> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8150] urllib needs ability to set METHOD for HTTP requests

2011-03-28 Thread Brian Curtin
Brian Curtin added the comment: Closing as duplicate. #1673007 tackles the same issues and has a few patches available. -- nosy: +brian.curtin resolution: -> duplicate stage: test needed -> committed/rejected status: open -> closed superseder: -> urllib2 requests hi

[issue10632] multiprocessing generates a fatal error

2011-03-28 Thread Brian Quinlan
Brian Quinlan added the comment: No, I wasn't able to replicate. -- ___ Python tracker <http://bugs.python.org/issue10632> ___ ___ Python-bugs-list m

[issue11416] netrc module does not handle multiple entries for a single host

2011-03-28 Thread Brian Curtin
Brian Curtin added the comment: Can you add your tests to Lib/test/test_netrc.py? -- nosy: +brian.curtin ___ Python tracker <http://bugs.python.org/issue11

[issue11724] concurrent.futures: executor.submit() runs until completion even when future times out or is canceled

2011-03-30 Thread Brian Quinlan
Brian Quinlan added the comment: This is the expected behavior. Future.cancel() returns a bool indicating if the future was cancelled or not. If it returns False then there is no way to stop it. The behavior that you are seeing for shutdown is documented as: """ shutdown(wai

[issue10632] multiprocessing generates a fatal error

2011-03-31 Thread Brian Quinlan
Brian Quinlan added the comment: Filing a new bug might have been a mistake. Once the investigation in issue 10517 isolated the failure as being in a different module, I thought it best to file a new bug with a minimal repro case. Fill free to cleanup

[issue11732] Skip decorator for tests requiring manual intervention on Windows

2011-03-31 Thread Brian Curtin
New submission from Brian Curtin : Attached is a patch which adds skip_unless_unattended, which ideally would be used with at least test_faulthandler when running on Windows. Running the tests on a Windows desktop results in the user having to click through Windows Error Reporting dialogs in

[issue11732] Skip decorator for tests requiring manual intervention on Windows

2011-03-31 Thread Brian Curtin
Brian Curtin added the comment: Attached is an example of how this might be used with Lib/test/test_faulthandler.py -- nosy: +haypo, loewis Added file: http://bugs.python.org/file21494/faulthandler_example.diff ___ Python tracker <h

[issue11750] Mutualize win32 functions

2011-04-03 Thread Brian Curtin
Brian Curtin added the comment: Big +1. I'll work up a patch. -- assignee: -> brian.curtin ___ Python tracker <http://bugs.python.org/issue11750> ___ _

[issue11754] Changed test to check calculated constants in test_string.py

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

[issue11758] increase xml.dom.minidom test coverage

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

[issue10175] vs version for win32 compilation of extension modules is undocumented.

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

[issue11774] Issue tracker sends notification mails twice...

2011-04-05 Thread Brian Curtin
Brian Curtin added the comment: http://psf.upfronthosting.co.za/roundup/meta is the bug tracker for the bug tracker. Also, consider that if you are subscribed to any of the tracker mailing lists such as python-bugs-list, you might get multiple copies of tracker comments. -- nosy

[issue11776] types.MethodType() params and usage is not documented

2011-04-05 Thread Brian Curtin
Changes by Brian Curtin : -- stage: -> needs patch type: -> behavior ___ Python tracker <http://bugs.python.org/issue11776> ___ ___ Python-bugs-list

[issue11777] Executor.map does not submit futures until iter.next() is called

2011-04-05 Thread Brian Quinlan
New submission from Brian Quinlan : from concurrent import futures with futures.ThreadPoolExecutor(max_workers=5) as e: e.map(print, range(10)) # No output -- assignee: bquinlan components: Library (Lib) messages: 133104 nosy: bquinlan priority: normal severity: normal status: open

[issue11777] Executor.map does not submit futures until iter.next() is called

2011-04-05 Thread Brian Quinlan
Brian Quinlan added the comment: I think that it surprising behavior, especially considering that asking for the *first* element in the iterator causes *all* of the futures to be created. -- ___ Python tracker <http://bugs.python.org/issue11

[issue11732] Skip decorator for tests requiring manual intervention on Windows

2011-04-06 Thread Brian Curtin
Brian Curtin added the comment: Disabling and re-enabling is another possibility, and it's probably more likely to help in the long run. Most (all?) Windows machines have error reporting enabled unless you mess with the registry manually, so the only place tests would be run with my

[issue11777] Executor.map does not submit futures until iter.next() is called

2011-04-07 Thread Brian Quinlan
Brian Quinlan added the comment: Nice catch. I hadn't noticed that the docs are lying :-) -- ___ Python tracker <http://bugs.python.org/issue11777> ___ ___

[issue11777] Executor.map does not submit futures until iter.next() is called

2011-04-07 Thread Brian Quinlan
Changes by Brian Quinlan : -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/issue11777> ___ ___ Python-bugs-list

[issue5162] multiprocessing cannot spawn child from a Windows service

2011-04-11 Thread Brian Curtin
Brian Curtin added the comment: This looks reasonable to me. If no one beats me to it, I'll check it in tonight. -- ___ Python tracker <http://bugs.python.org/i

<    1   2   3   4   5   6   7   8   9   10   >