[issue7946] Convoy effect with I/O bound threads and New GIL

2021-01-14 Thread Stuart Axon
Stuart Axon added the comment: Catching up on the comments on this, it seems like nobody has enough certainty to say it will work well enough. In Linux, the scheduler is pluggable, which lets other non-default schedulers be shipped and tried in the real world. - See schedutil, introduced

[issue34972] json dump silently converts int keys to string

2020-04-05 Thread Stuart Bishop
Stuart Bishop added the comment: (sorry, my example is normal Python behavior. {1:1, 1.0:2} == {1:2} , {1.0:1} == {1:1} ) -- nosy: +stub ___ Python tracker <https://bugs.python.org/issue34

[issue39623] __str__ and __repr__ for asyncio.Task still omit arg values

2020-02-13 Thread Stuart Ball
New submission from Stuart Ball : This is not very helpful if your gather or wait contains multiple versions of foo with different argument values: `` Should just be: `` Would probably take all of 5 minutes to implement and make a lot of people's lives easier. -- mes

[issue33193] Cannot create a venv on Windows when directory path contains dollar character

2018-03-31 Thread Stuart Cuthbertson
New submission from Stuart Cuthbertson : I should clarify first that I haven't reproduced the following bug specifically with venv. I was asked to raise this here after raising an identical issue about virtualenv (https://github.com/pypa/virtualenv/issues/1154); a GitHub user told me

[issue25942] Do not immediately SIGKILL subprocess child processes upon ^C

2018-01-30 Thread Stuart Berg
Change by Stuart Berg : -- nosy: +stuarteberg ___ Python tracker <https://bugs.python.org/issue25942> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25942] subprocess.call SIGKILLs too liberally

2017-11-04 Thread Stuart Berg
Change by Stuart Berg : -- pull_requests: +4245 ___ Python tracker <https://bugs.python.org/issue25942> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28837] 2to3 does not wrap zip correctly

2017-02-15 Thread Stuart Berg
Changes by Stuart Berg : -- pull_requests: +85 ___ Python tracker <http://bugs.python.org/issue28837> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28837] 2to3 does not wrap zip correctly

2017-02-11 Thread Stuart Berg
Stuart Berg added the comment: Patch submitted as github PR #24: https://github.com/python/cpython/pull/24 -- ___ Python tracker <http://bugs.python.org/issue28

[issue28837] 2to3 does not wrap zip correctly

2017-01-19 Thread Stuart Berg
Changes by Stuart Berg : Added file: http://bugs.python.org/file46343/fix-28837.patch ___ Python tracker <http://bugs.python.org/issue28837> ___ ___ Python-bugs-list m

[issue28837] 2to3 does not wrap zip correctly

2017-01-19 Thread Stuart Berg
Changes by Stuart Berg : Removed file: http://bugs.python.org/file46342/fix-28837.patch ___ Python tracker <http://bugs.python.org/issue28837> ___ ___ Python-bugs-list m

[issue28837] 2to3 does not wrap zip correctly

2017-01-19 Thread Stuart Berg
Stuart Berg added the comment: Sorry for re-uploading the patch; I made some pep8 fixes. -- Added file: http://bugs.python.org/file46342/fix-28837.patch ___ Python tracker <http://bugs.python.org/issue28

[issue28837] 2to3 does not wrap zip correctly

2017-01-19 Thread Stuart Berg
Changes by Stuart Berg : Removed file: http://bugs.python.org/file46341/fix-28837.patch ___ Python tracker <http://bugs.python.org/issue28837> ___ ___ Python-bugs-list m

[issue28837] 2to3 does not wrap zip correctly

2017-01-19 Thread Stuart Berg
Changes by Stuart Berg : Added file: http://bugs.python.org/file46341/fix-28837.patch ___ Python tracker <http://bugs.python.org/issue28837> ___ ___ Python-bugs-list m

[issue28837] 2to3 does not wrap zip correctly

2017-01-19 Thread Stuart Berg
Changes by Stuart Berg : Removed file: http://bugs.python.org/file46339/fix-28837.patch ___ Python tracker <http://bugs.python.org/issue28837> ___ ___ Python-bugs-list m

[issue28837] 2to3 does not wrap zip correctly

2017-01-19 Thread Stuart Berg
Stuart Berg added the comment: In addition to zip(), this problem also affects map() and filter(). The problem is that the match patterns in FixZip, FixMap, and FixFilter do not allow for more than one "trailer" node. (And even if they did, their transform() methods aren'

[issue21628] 2to3 does not fix zip in some cases

2017-01-19 Thread Stuart Berg
Stuart Berg added the comment: Already closed, but FWIW, I think this was incorrectly marked as a duplicate. Issue 20742 discusses a different issue related to lib2to3 and zip. Meanwhile, this issue has been raised again in 28837, so I will continue the discussion there. (I have a patch

[issue28631] [2.7/3.5/3.6 Regression] crash using ctypes

2016-11-14 Thread Stuart Prescott
Stuart Prescott added the comment: Having added the suggested restype (plus a lot of others and also quite a few extra argtypes), we now have code that works across a few different versions of Python once again. Thanks for the hint, eryksun and also thanks to doko for proxying the report and

[issue26368] grammatical error in documentation

2016-02-15 Thread Ryan Stuart
New submission from Ryan Stuart: The note for 18.5.5.1. Stream functions is missing a word. It should read "Note The top-level functions in this module are meant **as** convenience wrappers only; there’s really nothing special there, and if they don’t do exactly what you want, feel fr

[issue24773] Implement PEP 495 (Local Time Disambiguation)

2015-10-02 Thread Stuart Bishop
Changes by Stuart Bishop : -- nosy: +stub ___ Python tracker <http://bugs.python.org/issue24773> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23757] tuple function gives wrong answer when called on list subclass with custom __iter__

2015-05-13 Thread Stuart Bishop
Stuart Bishop added the comment: Can we get this reopened? As David MacIver points out, this seems entirely a wart in tuple's constructor (compared to all the other builtin types), whereas 10977 is worrying about how 3rd party code using the C API can corrupt subclasses of builtin typ

[issue17989] ElementTree.Element broken attribute setting

2013-05-19 Thread Joe Stuart
Joe Stuart added the comment: Looks like a typo in arbitrary. AttributeError: Can't set arbitraty attributes on Element -- ___ Python tracker <http://bugs.python.org/is

[issue17989] ElementTree.Element broken attribute setting

2013-05-17 Thread Joe Stuart
Joe Stuart added the comment: Forgot to update the XMLParser() assignment. -- Added file: http://bugs.python.org/file30301/ElementTree.patch ___ Python tracker <http://bugs.python.org/issue17

[issue17989] ElementTree.Element broken attribute setting

2013-05-17 Thread Joe Stuart
Changes by Joe Stuart : Removed file: http://bugs.python.org/file30300/ElementTree.patch ___ Python tracker <http://bugs.python.org/issue17989> ___ ___ Python-bugs-list m

[issue17989] ElementTree.Element broken attribute setting

2013-05-17 Thread Joe Stuart
Joe Stuart added the comment: This patch should fix the issue of the classes being overwritten by the c accelerated ones. -- Added file: http://bugs.python.org/file30300/ElementTree.patch ___ Python tracker <http://bugs.python.org/issue17

[issue17989] ElementTree.Element broken attribute setting

2013-05-17 Thread Joe Stuart
Changes by Joe Stuart : Removed file: http://bugs.python.org/file30298/ElementTree.patch ___ Python tracker <http://bugs.python.org/issue17989> ___ ___ Python-bugs-list m

[issue17989] ElementTree.Element broken attribute setting

2013-05-17 Thread Joe Stuart
Joe Stuart added the comment: At the end of ElementTree all of the c accelerators are being imported and it looks like only XMLParser is being used. Here is a patch that only imports XMLParser. -- keywords: +patch Added file: http://bugs.python.org/file30298/ElementTree.patch

[issue17989] ElementTree.Element broken attribute setting

2013-05-17 Thread Joe Stuart
Joe Stuart added the comment: It looks like it's being called from the c extension. I would think it should still throw an exception though? >>> e = etree.Element >>> e.ham = 1 Traceback (most recent call last): File "", line 1, in TypeError: can't set

[issue17709] http://docs.python.org/2.7/objects.inv doesn't support :func:`repr` or :exc:`Exception`

2013-04-13 Thread Russell Stuart
Changes by Russell Stuart : Added file: http://bugs.python.org/file29796/conf.py ___ Python tracker <http://bugs.python.org/issue17709> ___ ___ Python-bugs-list mailin

[issue17709] http://docs.python.org/2.7/objects.inv doesn't support :func:`repr` or :exc:`Exception`

2013-04-13 Thread Russell Stuart
Changes by Russell Stuart : Added file: http://bugs.python.org/file29795/conf.py ___ Python tracker <http://bugs.python.org/issue17709> ___ ___ Python-bugs-list mailin

[issue17709] http://docs.python.org/2.7/objects.inv doesn't support :func:`repr` or :exc:`Exception`

2013-04-13 Thread Russell Stuart
New submission from Russell Stuart: .. topic:: http://docs.python.org/2.7/objects.inv doesn't support :func:`repr` or :exc:`Exception` A bug report for Python 2.7's docs. .. _intro: Bug === Running:: sphinx-build -c conf2.7 -n -b html -E . html Produces:: Running Sph

[issue17008] Descriptor __get__() invoke is bypassed in the class context

2013-01-21 Thread stuart
New submission from stuart: I emulated a real classmethod using python: class cm(object): def __init__(self, o): self.o = o def __get__(self, obj, type=None): return self.o.__get__(obj, type) then I check whether it is workable in the interactive mode and it is working

[issue11691] sqlite3 Cursor.description doesn't set type_code

2011-03-26 Thread William Edward Stuart Clemens
William Edward Stuart Clemens added the comment: The patch for version 3.3 has a one line difference. -- assignee: -> docs@python components: +Documentation, Library (Lib) -None nosy: +docs@python versions: +Python 3.3 Added file: http://bugs.python.org/file21

[issue11691] sqlite3 Cursor.description doesn't set type_code

2011-03-26 Thread William Edward Stuart Clemens
New submission from William Edward Stuart Clemens : The DB API Spec 2.0 (PEP 249) clearly requires that column name and type_code be set as the first two values in Cursor.description the other 5 attributes are optional. The sqlite3 module doesn't set type_code. -- components:

[issue4972] let's equip ftplib.FTP with __enter__ and __exit__

2010-05-09 Thread Stuart Axon
Stuart Axon added the comment: It would be good for consistency, yes. -- ___ Python tracker <http://bugs.python.org/issue4972> ___ ___ Python-bugs-list mailin

[issue8080] os.uname failing in windows

2010-03-06 Thread Stuart Axon
New submission from Stuart Axon : I'm not sure why this is happening, but os.uname() is failing on my computer in XP Home 32bit. Tested in the normal shell and MSys The code in platform.py looks like it should work to me. [C:\usr\Python26\Lib]python Python 2.6.4 (r264:75708, Oct 26 200

[issue7717] Compilation fixes for IRIX

2010-01-18 Thread Stuart Shelton
Stuart Shelton added the comment: As-per 7718 I'm happy to complete any relevant paperwork: these patches (which are by now of my own creation: Frank Everdij helped sort out the N32.s fixes, but these were no longer required by 2.6.4 and 2.7) are already posted in the public Gento

[issue7718] Build shared libpythonX.Y.so on IRIX

2010-01-18 Thread Stuart Shelton
Stuart Shelton added the comment: I've no objection to signing the relevant paperwork if that's what's needed to get this committed - if someone could point me in the direction of what I needed to do in order to do so? -- no

[issue4972] let's equip ftplib.FTP with __enter__ and __exit__

2009-10-12 Thread Stuart Axon
Stuart Axon added the comment: zipfile also would make a good target for a contextmanager (as noted here - http://tarekziade.wordpress.com/2009/01/20/python-standard-lib-give-me-more-withs/ ) -- nosy: +stuaxo ___ Python tracker <h

[issue6461] multiprocessing: freezing apps on Windows

2009-08-07 Thread Stuart Mentzer
Stuart Mentzer added the comment: Further experimentation revealed that freeze_support() works properly and the proposed patch is not necessary or desirable for the general freeze case. In the case of an embedded app that calls set_executable() it seems that the "else" block calling _

[issue6461] multiprocessing: freezing apps on Windows

2009-07-18 Thread Stuart Mentzer
Stuart Mentzer added the comment: Thanks Jesse. If you make broader changes that my patch I am happy to test on Windows and with py2exe if that is helpful. I will try to get the py2exe folks to look at the broader multiprocessing issues I describe as well. If multiprocessing supports freezing

[issue6461] multiprocessing: freezing apps on Windows

2009-07-10 Thread Stuart Mentzer
New submission from Stuart Mentzer : Freezing apps with multiprocessing on Windows seems to be broken. First, in get_command_line in multiprocessing/forking.py I find that this code: if getattr(sys, 'frozen', False): return [sys.executable, '--multi

[issue5098] Environ doesn't escape spaces properly

2009-01-29 Thread Stuart Axon
New submission from Stuart Axon : os.environ doesn't escape spaces, but does backslashes and others In the windows python interpreter I echo'd the variable 'ProgramFiles', then in the commandprompt. >>> from os import environ >>> environ['ProgramFi

[issue2173] Python fails silently on bad locale

2008-12-11 Thread Stuart Woodward
Stuart Woodward <[EMAIL PROTECTED]> added the comment: I'm running on Mac OS X. I applied the patch issue2173.patch and it solved the "make: *** [sharedmods] Error 1" problem. A cursory test of /usr/local/bin/python3.0 was successful. -

[issue4567] Registry key not set if unattended installation used

2008-12-06 Thread Stuart Axon
Stuart Axon <[EMAIL PROTECTED]> added the comment: If you type msiexec /? it pops a window with this text in it: Windows (R) Installer. V 3.01.4001.5512 msiexec /Option [Optional Parameter] Install Options Installs or configures a product

[issue4567] Registry key not set if unattended installation used

2008-12-06 Thread Stuart Axon
Stuart Axon <[EMAIL PROTECTED]> added the comment: Sure, no problem - sorry for the lack of detail... The windows installer (tested on 2.5.2) normally puts some values in the windows registry at: HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\ (where is the python version). Includi

[issue4567] Registry key not set if unattended installation used

2008-12-06 Thread Stuart Axon
New submission from Stuart Axon <[EMAIL PROTECTED]>: If the msi is installed with /quiet it installs to the default location, but the registry key is not set, making it harder for other programs to find the installation. - in my case I had to make a batch file that installed it, then re

[issue1025395] email.Utils.parseaddr fails to parse valid addresses

2008-01-11 Thread Stuart D Gathman
Stuart D Gathman added the comment: tiran: yes, but that is the wrong answer, and that example is already in the testcase list (with what I believe is the right answer). _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/iss

[issue1221] email.Utils.parseaddr("a(WRONG)@b")

2008-01-11 Thread Stuart D Gathman
Stuart D Gathman added the comment: See Issue1025395 __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1221> __ ___ Python-bugs-list mailing list Unsubs

[issue1221] email.Utils.parseaddr("a(WRONG)@b")

2008-01-11 Thread Stuart D Gathman
Stuart D Gathman added the comment: see Issue1029395 -- nosy: +sdgathman __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1221> __ ___ Python-bugs-list

[issue1025395] email.Utils.parseaddr fails to parse valid addresses

2008-01-11 Thread Stuart D Gathman
Stuart D Gathman added the comment: Test cases so far: >>> parseaddr('[EMAIL PROTECTED]') ('', '[EMAIL PROTECTED]') >>> parseaddr('"Full Name" <[EMAIL PROTECTED]>') ('Full Name', '[EMAIL PROTECTED]&#

[issue1025395] email.Utils.parseaddr fails to parse valid addresses

2008-01-11 Thread Stuart D Gathman
Stuart D Gathman added the comment: Same or related issues: Issue1221, Issue1409460 _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1025395> _ ___ Pyth

[issue1025395] email.Utils.parseaddr fails to parse valid addresses

2008-01-10 Thread Stuart D Gathman
Stuart D Gathman added the comment: Repeating because previous real life test case was rejected as 'spam': It also fails to parse: >>> from email.Utils import parseaddr >>> parseaddr('[EMAIL PROTECTED] <[EMAIL PROTECTED]>') ('', '[EMA

[issue1025395] email.Utils.parseaddr fails to parse valid addresses

2008-01-10 Thread Stuart D Gathman
Stuart D Gathman added the comment: Ok, I see the '@' is technically not allowed in an atom. But it either needs to throw an invalid syntax exception, or heuristically return something reasonable. _ Tracker <[EMAIL PROTECTED]> <htt

[issue1025395] email.Utils.parseaddr fails to parse valid addresses

2008-01-10 Thread Stuart D Gathman
Stuart D Gathman added the comment: # A quick and very dirty fix for common broken cases, with test cases. import rfc822 def parseaddr(t): """Split email into Fullname and address. >>> parseaddr('[EMAIL PROTECTED]') ('', '[EMAIL

[issue1025395] email.Utils.parseaddr fails to parse valid addresses

2008-01-10 Thread Stuart D Gathman
Changes by Stuart D Gathman: -- type: -> behavior _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1025395> _ ___ Python-bugs-list mailing li