[issue1353] mp4 missing from mimetypes.py

2007-10-29 Thread Jacob
New submission from Jacob: mp4 is missing from the mimetypes.py list of valid mimetypes. mp4 is registered with IANA and is defined in the mpeg-4 standard as a container for mpeg-4 codecs such as h264. Lack of this definition means the format cannot be recognised by software dependsing on the

[issue3881] IDLE won't start in custom directory.

2008-09-16 Thread Jacob
New submission from Jacob <[EMAIL PROTECTED]>: Hello. I run Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) on Windows Vista Home Premium. IDLE won't start if not installed in the default directory. When insalled in a custom directory, running idle.py (\Lib\idlelib\idle.py) produces

[issue3881] IDLE won't start in custom directory.

2008-09-16 Thread Jacob
Jacob <[EMAIL PROTECTED]> added the comment: No, nothing. It's just a standart clean installation. ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.

[issue3881] IDLE won't start in custom directory.

2009-01-17 Thread Jacob
Jacob added the comment: I don't think it's just his machine (and mine), but i don't think so. Unfortunealy, i don't have a Windows Vista key ready, else i'd have testet it on a clean install, but i'll try to install the same package on the next comp

[issue3881] IDLE won't start in custom directory.

2009-01-17 Thread Jacob
Jacob added the comment: Okay, i'll try to find a key for Vista in all my drawers, and install a clean version, try it, and then i'll tell you the result. I just can't see what could produce the error at our computers. ___ Python

[issue3881] IDLE won't start in custom directory.

2009-01-18 Thread Jacob
Jacob added the comment: I don't think thats the solution. "C:\Program Files\Python\2.6\" and "C:\Programas\Python\2.6\" are the same, as "C:\Program Files\Python\2.6\" is a symbolic link to "C:\Programas\Python\2.6\" to allow compatibil

[issue3881] IDLE won't start in custom directory.

2009-01-18 Thread Jacob
Jacob added the comment: Great idea :) Maybe we're starting to find the problem. I'm using a Danish version of Windows Vista Home Premium SP1, and C:\Programmer is the danish path for C:\Program Files. I'll try that, and leave another message whe

[issue3881] IDLE won't start in custom directory.

2009-01-20 Thread Jacob
Jacob added the comment: Installing to C:\Program Files\Python\ worked. Now we just have to find out WHY it doesn't work with the C:\[Programmer/Programmas]\ to C:\Program Files\ link. ___ Python tracker <http://bugs.python.org/i

[issue3881] IDLE won't start in custom directory.

2009-01-22 Thread Jacob
Jacob added the comment: Fantastic. I started this post in October, and now we finaly found a solution. Thank you Martin. Will this patch be included in future versions of python? Best regards, Jacob. ___ Python tracker <http://bugs.python.org/issue3

[issue24273] _scproxy.so causes EXC_BAD_ACCESS (SIGSEGV)

2015-05-23 Thread Jacob
New submission from Jacob: This looks very related to: http://bugs.python.org/issue13829 I have very simple test code that looks like this: import requests r = requests.get('http://www.google.com') print('requests.get() succeeded') The above code works

[issue24273] _scproxy.so causes EXC_BAD_ACCESS (SIGSEGV)

2015-05-24 Thread Jacob
Jacob added the comment: Thanks! That does work. I'm concerned there may be unintended or undesired consequences of this. Hope the bug gets fixed, but will use the workaround for now. -- ___ Python tracker <http://bugs.python.org/is

[issue45359] TopologicalSorter is not Generic at runtime (but is in typeshed)

2021-12-10 Thread Jacob Hayes
Jacob Hayes added the comment: Thanks for the tips! I've been using this patch in my own code in a early imported `__init__.py`: ``` from graphlib import TopologicalSorter from types import GenericAlias if not hasattr(TopologicalSorter, "__class_getitem__"): # p

[issue46227] add pathlib.Path.walk method

2022-01-02 Thread Jacob Nilsson
Change by Jacob Nilsson : -- nosy: +ajoino ___ Python tracker <https://bugs.python.org/issue46227> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46352] Steps To Do Arlo Setup

2022-01-11 Thread Jacob Martin
Change by Jacob Martin : -- components: Installation files: Arlo camera setup.jpg nosy: jacobmartin717 priority: normal severity: normal status: open title: Steps To Do Arlo Setup type: security versions: Python 3.8 Added file: https://bugs.python.org/file50558/Arlo camera setup.jpg

[issue46440] ArgumentParser.parse_args exits on missing required argument with exit_on_error=False

2022-01-23 Thread Jacob Walls
Change by Jacob Walls : -- keywords: +patch nosy: +jacobtylerwalls nosy_count: 1.0 -> 2.0 pull_requests: +29018 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30832 ___ Python tracker <https://bugs.p

[issue41255] Argparse.parse_args exits on unrecognized option with exit_on_error=False

2022-01-28 Thread Jacob Walls
Change by Jacob Walls : -- nosy: +jacobtylerwalls nosy_count: 6.0 -> 7.0 pull_requests: +29183 pull_request: https://github.com/python/cpython/pull/30832 ___ Python tracker <https://bugs.python.org/issu

[issue41259] Find adverbs is not correct on the documentation

2022-02-04 Thread Jacob Walls
Jacob Walls added the comment: Fixed in PR 21420, suggest closing as fixed. -- nosy: +jacobtylerwalls ___ Python tracker <https://bugs.python.org/issue41

[issue38941] xml.etree.ElementTree.Element inconsistent warning for bool

2022-02-05 Thread Jacob Walls
Change by Jacob Walls : -- keywords: +patch nosy: +jacobtylerwalls nosy_count: 6.0 -> 7.0 pull_requests: +29326 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/31149 ___ Python tracker

[issue45948] Unexpected instantiation behavior for xml.etree.ElementTree.XMLParser(target=None)

2022-02-05 Thread Jacob Walls
Change by Jacob Walls : -- keywords: +patch nosy: +jacobtylerwalls nosy_count: 1.0 -> 2.0 pull_requests: +29329 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31152 ___ Python tracker <https://bugs.p

[issue34191] argparse: Missing subparser error message should be more clear

2022-02-05 Thread Jacob Walls
Jacob Walls added the comment: Duplicate of issue29298 (fixed) -- nosy: +jacobtylerwalls ___ Python tracker <https://bugs.python.org/issue34191> ___ ___ Pytho

[issue45948] Unexpected instantiation behavior for xml.etree.ElementTree.XMLParser(target=None)

2022-02-12 Thread Jacob Walls
Change by Jacob Walls : -- pull_requests: +29458 pull_request: https://github.com/python/cpython/pull/31299 ___ Python tracker <https://bugs.python.org/issue45

[issue46771] Add some form of cancel scopes

2022-02-16 Thread Jacob Nilsson
Change by Jacob Nilsson : -- nosy: +ajoino ___ Python tracker <https://bugs.python.org/issue46771> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46798] xml.etree.ElementTree: get() doesn't return default value, always ATTLIST value

2022-03-04 Thread Jacob Walls
Jacob Walls added the comment: I agree not a bug. To ignore the document default you can set `specified_attributes` on the parser as documented: https://docs.python.org/3/library/pyexpat.html#xml.parsers.expat.xmlparser.specified_attributes Also, this was explicitly worked on recently in

[issue43292] xml.ElementTree iterparse filehandle left open

2022-03-05 Thread Jacob Walls
Change by Jacob Walls : -- keywords: +patch nosy: +jacobtylerwalls nosy_count: 4.0 -> 5.0 pull_requests: +29815 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31696 ___ Python tracker <https://bugs.p

[issue25707] Add the close method for ElementTree.iterparse() object

2022-03-05 Thread Jacob Walls
Change by Jacob Walls : -- keywords: +patch nosy: +jacobtylerwalls nosy_count: 4.0 -> 5.0 pull_requests: +29816 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/31696 ___ Python tracker

[issue46461] Kodi crashing

2022-03-06 Thread Jacob Nilsson
Jacob Nilsson added the comment: >From Kodi GH issues, they suspect is related to the work on subinterpreters >https://github.com/xbmc/xbmc/issues/19961#issuecomment-1008151611: "The bulk of this issue is due to how python and it's modules handle sub interpreters. There

[issue12361] Memory Leak in File Logging

2011-06-18 Thread Jacob Perkins
New submission from Jacob Perkins : I have a custom proxy server that was using a WatchedFileHandler for logging requests (the files were rotated with logrotate). It was leaking memory, and I had to use supervisord's memmon plugin to restart it whenever it exceed a certain thresho

[issue12387] IDLE save hotkey problem

2011-06-22 Thread Jacob VB
New submission from Jacob VB : IDLE (for Python 3.2) fails to save using the ctrl-s keyboard shortcut when caps-lock is enabled, and instead only saves when ctrl-shift-s is pressed. When caps-lock is disabled, all shortcuts work normally. -- components: IDLE messages: 138828 nosy

[issue12387] IDLE save keyboard shortcut problem

2011-06-22 Thread Jacob VB
Changes by Jacob VB : -- title: IDLE save hotkey problem -> IDLE save keyboard shortcut problem ___ Python tracker <http://bugs.python.org/issue12387> ___ _

[issue12387] IDLE save keyboard shortcut problem

2011-06-22 Thread Jacob VB
Jacob VB added the comment: IDLE (for Python 3.2) fails to save using the ctrl-s keyboard shortcut when caps-lock is enabled, and instead only saves when ctrl-shift-s is pressed. When caps-lock is disabled, all shortcuts work normally

[issue12387] IDLE save keyboard shortcut problem

2011-06-22 Thread Jacob VB
Jacob VB added the comment: I'm running Windows 7 Home Premium 64-bit, on an Alienware M17x (a laptop) using the built-in keyboard. It's definitely possible that the problem is Windows-specific; perhaps it has to do with the fact that when caps lock is on the shift modifier seems

[issue12361] Memory Leak in File Logging

2011-06-28 Thread Jacob Perkins
Jacob Perkins added the comment: Sorry about this. Turns out the flattening of memory usage was a temporary coincidence, and I eventually tracked the bug down to an old version of MySQLdb. -- resolution: -> invalid status: pending ->

[issue1006238] cross compile patch

2011-03-25 Thread Jacob Godserv
Jacob Godserv added the comment: I have two questions: Will a new developer be assigned to this bug? And, why are we wasting comments and grave-digging five-year-old discussions? -- ___ Python tracker <http://bugs.python.org/issue1006

[issue47137] MemoryError

2022-03-27 Thread Jacob Nilsson
Jacob Nilsson added the comment: Python 3.6 reach end of life in December 2021, is this error reproducible in Python 3.7 and above? If that is still the case, do you have an example of an exact input causing this crash? "random input" is not a lot to go by. -- nos

[issue43496] Save As dialog in IDLE doesn't accept keyboard shortcuts on MacOS

2021-03-14 Thread Jacob Walls
New submission from Jacob Walls : Cmd-A to select all or Cmd-Z to undo, etc., have no effect when typing in the "Save As:" or "Tags:" fields of the native Save As... dialog on MacOS. Cmd-R, curiously, opens a Finder window. IDLE dialogs such as Search behave as expecte

[issue43535] Make str.join auto-convert inputs to strings.

2021-03-23 Thread Jacob Nilsson
Jacob Nilsson added the comment: For what my opinion is worth, I agree with Grégory's suggestion because the ',' part of ','.join(...) is almost as unintuitive as the problems Raymond's suggestions are trying to fix. I was going to suggest a builtin to work on

[issue43595] Can not add a metclass that inherits both ABCMeta & ABC to a Union

2021-03-23 Thread Jacob Nilsson
Jacob Nilsson added the comment: Hi, I tried both code snippets, and they work for me with the output: typing.Union[str, abc.ABC] For your second code snippet. Tested on 3.7.6 (IPython though) on a Windows machine, can test it on Linux tomorrow. -- nosy: +ajoino

[issue43802] Seg fault on macOS using multiprocessing.JoinableQueue

2021-04-10 Thread Jacob Walls
New submission from Jacob Walls : macOS 10.13.6 Python 3.9.2 I can consistently reproduce a seg fault while using multiprocessing.JoinableQueue in Python 3.9.2. My use case is the sheet music processing library music21. My fork includes a folder of 209 files I use to reproduce, running 3

[issue43802] Seg fault on macOS using multiprocessing.JoinableQueue

2021-04-10 Thread Jacob Walls
Jacob Walls added the comment: Thanks for this detailed reply. I reproduced on Python 3.9.4 on the same iMac from my original report running macOS 10.13.6, but with much lesser frequency (I wouldn't use the word "consistently" anymore). I tried on a MacBook Pro with wo

[issue43802] Seg fault on macOS using multiprocessing.JoinableQueue

2021-04-18 Thread Jacob Walls
Jacob Walls added the comment: Unfortunately, at the outset I should have tested this without multiprocessing. I can reproduce without multiprocessing[1], which meant I could more easily pinpoint the failure. There is an expensive O(nm) algorithm[2] in the music21 library that is

[issue19094] urljoin should raise a TypeError if URL is not a string

2021-06-10 Thread Jacob Walls
Jacob Walls added the comment: Hi vajrasky, do you have any interest in converting your patch to a GitHub PR? If not I can see about doing so myself. Cheers. -- nosy: +jacobtylerwalls ___ Python tracker <https://bugs.python.org/issue19

[issue19094] urljoin should raise a TypeError if URL is not a string

2021-06-11 Thread Jacob Walls
Change by Jacob Walls : -- pull_requests: +25276 pull_request: https://github.com/python/cpython/pull/26687 ___ Python tracker <https://bugs.python.org/issue19

[issue37880] For argparse add_argument with action='store_const', const should default to None.

2021-06-12 Thread Jacob Walls
Jacob Walls added the comment: Sounds reasonable to me. -- components: +Library (Lib) nosy: +jacobtylerwalls type: -> behavior versions: +Python 3.11 -Python 3.9 ___ Python tracker <https://bugs.python.org/issu

[issue22234] urllib.parse.urlparse accepts any falsy value as an url

2021-06-13 Thread Jacob Walls
Change by Jacob Walls : -- nosy: +jacobtylerwalls nosy_count: 7.0 -> 8.0 pull_requests: +25291 pull_request: https://github.com/python/cpython/pull/26687 ___ Python tracker <https://bugs.python.org/issu

[issue22334] test_tcl.test_split() fails on "x86 FreeBSD 7.2 3.x" buildbot

2021-06-13 Thread Jacob Walls
Change by Jacob Walls : -- nosy: +jacobtylerwalls nosy_count: 5.0 -> 6.0 pull_requests: +25293 pull_request: https://github.com/python/cpython/pull/26687 ___ Python tracker <https://bugs.python.org/issu

[issue22334] test_tcl.test_split() fails on "x86 FreeBSD 7.2 3.x" buildbot

2021-06-13 Thread Jacob Walls
Change by Jacob Walls : -- pull_requests: -25293 ___ Python tracker <https://bugs.python.org/issue22334> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22334] test_tcl.test_split() fails on "x86 FreeBSD 7.2 3.x" buildbot

2021-06-13 Thread Jacob Walls
Jacob Walls added the comment: Sorry for noise; I typo-d when linking a PR on GitHub. Unlinked. -- ___ Python tracker <https://bugs.python.org/issue22

[issue22334] test_tcl.test_split() fails on "x86 FreeBSD 7.2 3.x" buildbot

2021-06-13 Thread Jacob Walls
Change by Jacob Walls : -- nosy: -jacobtylerwalls ___ Python tracker <https://bugs.python.org/issue22334> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22234] urllib.parse.urlparse accepts any falsy value as an url

2021-06-13 Thread Jacob Walls
Jacob Walls added the comment: Both this ticket and #19094 started from one method in urllib.parse and then generalized a proposal for the rest of the submodule to move away from duck-typing and to instead raise TypeErrors (or at least some error) for invalid types. The attached PR does

[issue22234] urllib.parse.urlparse accepts any falsy value as an url

2021-06-13 Thread Jacob Walls
Jacob Walls added the comment: Well, now I've looked at the CPython test failure more closely, and it's in `test.test_venv.EnsurePipTest` where we just download latest pip. Their release cadence suggests a new release in July, about 2-4 weeks from now. So I'll wai

[issue44242] enum.IntFlag regression: missing values cause TypeError

2021-06-14 Thread Jacob Walls
Jacob Walls added the comment: With the followup patch merged, can this be closed now? -- nosy: +jacobtylerwalls ___ Python tracker <https://bugs.python.org/issue44

[issue44455] compileall should exit nonzero for nonexistent directories

2021-06-20 Thread Jacob Walls
Change by Jacob Walls : -- components: +Library (Lib) type: -> behavior ___ Python tracker <https://bugs.python.org/issue44455> ___ ___ Python-bugs-list mai

[issue43077] Update bundled pip to 21.0.1 and setuptools to 52.0.0

2021-07-04 Thread Jacob Walls
Jacob Walls added the comment: Presumably this can be closed. -- nosy: +jacobtylerwalls ___ Python tracker <https://bugs.python.org/issue43077> ___ ___ Pytho

[issue35277] Upgrade bundled pip/setuptools

2021-07-04 Thread Jacob Walls
Jacob Walls added the comment: Presumably this can be closed. -- nosy: +jacobtylerwalls ___ Python tracker <https://bugs.python.org/issue35277> ___ ___ Pytho

[issue44587] BooleanOptionalAction displays default=SUPPRESS unlike other action types

2021-07-09 Thread Jacob Walls
Change by Jacob Walls : -- components: +Library (Lib) type: -> behavior ___ Python tracker <https://bugs.python.org/issue44587> ___ ___ Python-bugs-list mai

[issue44516] Update bundled pip to 21.1.3

2021-07-09 Thread Jacob Walls
New submission from Jacob Walls : Greetings, all. I take it this is fully resolved? -- nosy: +jacobtylerwalls ___ Python tracker <https://bugs.python.org/issue44

[issue20116] urlparse.parse_qs should take argument for query separator

2021-07-09 Thread Jacob Walls
Jacob Walls added the comment: Greetings. I believe this is mooted by #42967 as well as changes even prior to that. https://bugs.python.org/issue42967 -- nosy: +jacobtylerwalls ___ Python tracker <https://bugs.python.org/issue20

[issue31162] urllib.request.urlopen CERTIFICATE_VERIFY_FAILED error

2021-07-19 Thread Jacob Walls
Jacob Walls added the comment: Third voice chiming in to say not a bug, also. I think the last two messages inadvertently moved to pending and then back to open. I suggest closing. -- nosy: +jacobtylerwalls ___ Python tracker <ht

[issue44905] Abstract instance and class attributes for abstract base classes

2021-08-13 Thread Jacob Nilsson
Change by Jacob Nilsson : -- nosy: +ajoino ___ Python tracker <https://bugs.python.org/issue44905> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44905] Abstract instance and class attributes for abstract base classes

2021-08-16 Thread Jacob Nilsson
Jacob Nilsson added the comment: Could one possible downside of this suggestion be, if implemented like in https://newbedev.com/python-abstract-class-shall-force-derived-classes-to-initialize-variable-in-init, a slowdown in code creating a lot of instances of a class with metaclass ABCMeta

[issue45167] deepcopy of GenericAlias with __deepcopy__ method is broken

2021-09-10 Thread Jacob Hayes
New submission from Jacob Hayes : When deepcopying a parametrized types.GenericAlias (eg: a dict subclass) that has a __deepcopy__ method, the copy module doesn't detect the GenericAlias as a type and instead tries to call cls.__deepcopy__, passing `memo` inplace of self. This doesn&#

[issue45359] TopologicalSorter is not Generic at runtime (but is in typeshed)

2021-10-03 Thread Jacob Hayes
New submission from Jacob Hayes : Reproduction: ``` from graphlib import TopologicalSorter TopologicalSorter[str]({"a": {}, "b": {"a"}}) ``` ``` $ mypy /tmp/toposort.py Success: no issues found in 1 source file $ python3 /tmp/toposort.py Traceback (most r

[issue45359] TopologicalSorter is not Generic at runtime (but is in typeshed)

2021-10-03 Thread Jacob Hayes
Change by Jacob Hayes : -- keywords: +patch pull_requests: +27064 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28714 ___ Python tracker <https://bugs.python.org/issu

[issue45586] Use starred expressions in list indices

2021-10-23 Thread Jacob Nilsson
Jacob Nilsson added the comment: I don't understand, do you mean that lists should work like in your example? Or that your example code doesn't run? If you mean the first issue, that is ok I guess but I've never used indexing like that outside of numpy, pandas and the like.

[issue45586] Use starred expressions in list indices

2021-10-23 Thread Jacob Nilsson
Jacob Nilsson added the comment: Oh yeah, the reason lists don't allow the starred expression has nothing to do with the starred expression itself, it's syntactically correct and in your case a[1, *[2, 3], 4] is equivalent to a[1, 2, 3, 4]. The "problem" is that lists do

[issue45586] Use starred expressions in subscripts

2021-10-26 Thread Jacob Nilsson
Jacob Nilsson added the comment: Ok, I see. >>> a[1, 2, *[3, 4]] Would still faith with PEP 646 because lists don't accept tuples, right? >>> a[(1, 2, *[3, 4])] Traceback (most recent call last): File "", line 1, in TypeError: list indices must

[issue45729] "history and license" link has wrong target

2021-11-05 Thread Jacob Lifshay
New submission from Jacob Lifshay : https://docs.python.org/3.10/library/csv.html at the bottom the "history and license" link just links back to csv.html, rather than the correct target. -- assignee: docs@python components: Documentation messages: 405807 nosy: d

[issue32731] getpass.getuser() raises an unspecified exceptions (ImportError, OSError, etc)

2021-11-23 Thread Jacob Walls
Change by Jacob Walls : -- nosy: +jacobtylerwalls nosy_count: 4.0 -> 5.0 pull_requests: +27977 pull_request: https://github.com/python/cpython/pull/29739 ___ Python tracker <https://bugs.python.org/issu

[issue45359] TopologicalSorter is not Generic at runtime (but is in typeshed)

2021-12-09 Thread Jacob Hayes
Jacob Hayes added the comment: Thanks for merging! Should typeshed be updated for <3.11 in the meantime or do you suggest `if TYPE_CHECKING` blocks on user side? Perhaps it's a non-issue if no one else has noticed this. :) -- ___ Python

[issue38976] Add support for HTTP Only flag in MozillaCookieJar

2019-12-04 Thread Jacob Taylor
New submission from Jacob Taylor : This PR adds support for the HttpOnly flag as encoded in CURL cookiejars. This PR was mainly designed to allow the MozillaCookieJar to parse in the cookies, as previously they were considered comments and ignored. As HttpOnly is considered a non-standard

[issue38976] Add support for HTTP Only flag in MozillaCookieJar

2019-12-04 Thread Jacob Taylor
Change by Jacob Taylor : -- keywords: +patch pull_requests: +16951 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17471 ___ Python tracker <https://bugs.python.org/issu

[issue32803] smtplib: LMTP broken in the case of multiple RCPT

2020-03-10 Thread Jacob Middag
Change by Jacob Middag : -- keywords: +patch nosy: +middag nosy_count: 2.0 -> 3.0 pull_requests: +18253 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18896 ___ Python tracker <https://bugs.python.org/i

[issue40202] Misleading grammatically of ValueError Message?

2020-04-06 Thread Jacob RR
New submission from Jacob RR : hi, so I *think* that ValueError shows an error grammatically incorrect? In python 2.7 >>> x = [1,2,3] >>> f,x, a, b = [1,2,3] Traceback (most recent call last): File "", line 1, in ValueError: need more than 3 values to unpack

[issue32966] Python 3.7.2 - 0x80070643 - Fatal Error during installation

2020-04-21 Thread Jacob Melendrez
Jacob Melendrez added the comment: I am trying to uninstall python 3.7.2 because I think it is preventing me from correctly using python 3.8.2. When I go to my program list on windows 10 and try to uninstall it, it gets approximately 10% in and then gives me the message that No python 3.7

[issue40639] Strange behavior in changing nested dictionaries

2020-05-15 Thread Jacob Underwood
New submission from Jacob Underwood : I was experimenting with nested dictionaries when I came across strange behavior that I can not figure out at all. The following function, at least for me, has some weird behavior. Originally, it was a bit longer, but somehow it achieved its intended

[issue40639] Strange behavior in changing nested dictionaries

2020-05-15 Thread Jacob Underwood
Jacob Underwood added the comment: I know this post is closed, but I just wanted to say thank you for the reply and the help, and being so understanding of my many mistakes Have a good day/night!! -- ___ Python tracker <https://bugs.python.

[issue32803] smtplib: LMTP broken in the case of multiple RCPT

2020-05-18 Thread Jacob Middag
Jacob Middag added the comment: Could anyone take a look to the PR? -- ___ Python tracker <https://bugs.python.org/issue32803> ___ ___ Python-bugs-list mailin

[issue24650] Error in yield expression documentation

2021-02-27 Thread Jacob Walls
Change by Jacob Walls : -- keywords: +patch nosy: +jacobtylerwalls nosy_count: 4.0 -> 5.0 pull_requests: +23449 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/24663 ___ Python tracker

[issue40457] Python fails to compile/load _ssl module if OpenSSL is compiled with no-tls1-method

2020-05-31 Thread Manuel Jacob
Manuel Jacob added the comment: For the record, I’ve added a comment to the pull request about that ssl.PROTOCOL_TLSv1_1 / ssl.PROTOCOL_TLSv1_2 are now defined unconditionally. https://github.com/python/cpython/commit/6e8cda91d92da72800d891b2fc2073ecbc134d98#r39569316 -- nosy

[issue40868] io.TextIOBase.buffer is not necessarily a buffer

2020-06-04 Thread Manuel Jacob
New submission from Manuel Jacob : https://docs.python.org/dev/library/io.html#io.TextIOBase.buffer says: "The underlying binary buffer (a BufferedIOBase instance) that TextIOBase deals with. This is not part of the TextIOBase API and may not exist in some implementations."

[issue40871] threading.Event.wait_unset()

2020-06-05 Thread Jacob Kunnappally
New submission from Jacob Kunnappally : Just requesting a threading.Event.wait_unset(timeout=None) function. I would request the same for multiprocessing. My use case: I've made my own class that adds a little bit of IPC plumbing to the base Process class (ChildProcess). Each ChildPr

[issue40983] Can’t configure encoding used by urllib.request.url2pathname()

2020-06-15 Thread Manuel Jacob
New submission from Manuel Jacob : On Python 2, it was possible to recover a percent-encoded byte: >>> from urllib import url2pathname >>> url2pathname('%ff') '\xff' On Python 3, the byte is decoded using the utf-8 encoding and the "replace" er

[issue40983] urllib.request.url2pathname() unconditionally uses utf-8 encoding and "replace" error handler

2020-06-16 Thread Manuel Jacob
Change by Manuel Jacob : -- title: Can’t configure encoding used by urllib.request.url2pathname() -> urllib.request.url2pathname() unconditionally uses utf-8 encoding and "replace" error handler ___ Python tracker <https:/

[issue40996] urllib should fsdecode percent-encoded parts of file URIs on Unix

2020-06-16 Thread Manuel Jacob
New submission from Manuel Jacob : On Unix, file names are bytes. Python mostly prefers to use unicode for file names. On the Python <-> system boundary, os.fsencode() / os.fsdecode() are used. In URIs, bytes can be percent-encoded. On Unix, most applications pass the percent-decoded

[issue40983] urllib.request.url2pathname() unconditionally uses utf-8 encoding and "replace" error handler

2020-06-16 Thread Manuel Jacob
Manuel Jacob added the comment: I’ve created issue40996, which suggests that urllib should fsdecode percent-encoded parts of file URIs on Unix. Since the two tickets are very related and I’d prefer if the issue was solved more generally for the whole module, I close this as a duplicate

[issue17110] sys.argv docs should explaining how to handle encoding issues

2020-06-17 Thread Manuel Jacob
Manuel Jacob added the comment: The actual startup code uses Py_DecodeLocale() for converting argv from bytes to unicode. Since which Python version is it guaranteed that Py_DecodeLocale() and os.fsencode() roundtrip? -- nosy: +mjacob ___ Python

[issue41012] Some code comments refer to removed initfsencoding()

2020-06-17 Thread Manuel Jacob
New submission from Manuel Jacob : Some code comments refer to initfsencoding(), which was however removed after Python 3.7. -- messages: 371779 nosy: mjacob priority: normal severity: normal status: open title: Some code comments refer to removed initfsencoding

[issue17110] sys.argv docs should explaining how to handle encoding issues

2020-06-18 Thread Manuel Jacob
Manuel Jacob added the comment: If the encoding supports it, since which Python version do Py_DecodeLocale() and os.fsencode() roundtrip? The background of my question is that Mercurial goes some extra rounds to determine the correct encoding to emulate what Py_EncodeLocale() would do

[issue41051] Flush file after warning is written

2020-06-20 Thread Manuel Jacob
New submission from Manuel Jacob : Calling warnings.warn() will write to a file, but not flush it. On Python 3.9+, it won’t usually be a problem because the file is most likely stderr, which is always line-buffered. However, on older Python versions or if a different file is used, the current

[issue41051] Flush file after warning is written

2020-06-20 Thread Manuel Jacob
Change by Manuel Jacob : -- keywords: +patch pull_requests: +20175 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21000 ___ Python tracker <https://bugs.python.org/issu

[issue41091] Remove recommendation in curses module documentation to initialize LC_ALL and encode strings

2020-06-23 Thread Manuel Jacob
New submission from Manuel Jacob : The documentation for the curses module (https://docs.python.org/3.9/library/curses.html) has the following note: > Since version 5.4, the ncurses library decides how to interpret non-ASCII > data using the nl_langinfo function. That means that you h

[issue41091] Remove recommendation in curses module documentation to initialize LC_ALL and encode strings

2020-06-25 Thread Manuel Jacob
Change by Manuel Jacob : -- keywords: +patch pull_requests: +20319 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21159 ___ Python tracker <https://bugs.python.org/issu

[issue41221] Output of print() might get truncated in unbuffered mode

2020-07-06 Thread Manuel Jacob
New submission from Manuel Jacob : Without unbuffered mode, it works as expected: % python -c "import sys; sys.stdout.write('x'*4294967296)" | wc -c 4294967296 % python -c "import sys; print('x'*4294967296)" | wc -c 4294967297 With unbuffered

[issue41221] Output of print() might get truncated in unbuffered mode

2020-07-06 Thread Manuel Jacob
Manuel Jacob added the comment: 2147479552 is the 0x7000 bytes limit documented for write() on Linux (source: https://man7.org/linux/man-pages/man2/write.2.html). The limit could be even smaller in other circumstances or other systems. I’m adding Victor Stinner to the nosy list, as he

[issue41221] Output of print() might get truncated in unbuffered mode

2020-07-06 Thread Manuel Jacob
Manuel Jacob added the comment: `io.TextIOWrapper.write()` returns the length of the passed string instead of the actually written number of characters. % python -u -c "import sys; print(sys.stdout.write('x'*4294967296), file=sys.stderr)" | wc -c 4294967296 2147479552

[issue41221] Output of print() might get truncated in unbuffered mode

2020-07-06 Thread Manuel Jacob
Manuel Jacob added the comment: It’s possible to trigger the problem on Unix with much smaller sizes, e.g. by interrupting the write() with a signal handler (even if the signal handler doesn’t do anything). The following script starts a subprocess doing a 16MiB write and sends a signal

[issue41631] _ast module: get_global_ast_state() doesn't work with Mercurial lazy import

2020-09-08 Thread Manuel Jacob
Manuel Jacob added the comment: I couldn’t reproduce the problem with a freshly compiled Python 3.9.0rc1 on Arch Linux. Was this ever reproduced on a non-Red Hat system? -- nosy: +mjacob ___ Python tracker <https://bugs.python.org/issue41

[issue41631] _ast module: get_global_ast_state() doesn't work with Mercurial lazy import

2020-09-08 Thread Manuel Jacob
Manuel Jacob added the comment: I was running "make all" and I also ran the documentation generator command without an error. However, I tried it again and now it failed the same way as reported. With a debug build, I get "Python/Python-ast.c:231: get_ast_state: Assertion

[issue32803] smtplib: LMTP broken in the case of multiple RCPT

2020-11-13 Thread Jacob Middag
Jacob Middag added the comment: It would be nice if someone could take a look. -- versions: +Python 3.10, Python 3.9 ___ Python tracker <https://bugs.python.org/issue32

[issue2190] MozillaCookieJar ignores HttpOnly cookies

2020-11-15 Thread Jacob Taylor
Change by Jacob Taylor : -- nosy: +Jacob Taylor nosy_count: 8.0 -> 9.0 pull_requests: +22197 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17471 ___ Python tracker <https://bugs.python.org/

  1   2   >