[issue27749] multprocessing errors on Windows: WriteFile() argument 1 must be int, not None; OSError: handle is closed

2019-01-28 Thread Michael Jacob
Michael Jacob added the comment: Does this ticket track the issue in its title or the native crash? If it's the latter, is there a new ticket for the None _handle or shall I create one? -- nosy: +Michael Jacob2 versions: +Python 3.7 ___ P

[issue27749] multprocessing errors on Windows: WriteFile() argument 1 must be int, not None; OSError: handle is closed

2019-01-31 Thread Michael Jacob
Michael Jacob added the comment: So, I'm experiencing the issue in the title, too. The pipe handle stays valid for between 5 and 60 minutes, then it goes None when written to. I'm far from understanding that code, but this crude re-connect code seems to solve the issue for me: In

[issue36086] Split IDLE into separate feature in Windows installer

2019-02-22 Thread Jacob Bundgaard
New submission from Jacob Bundgaard : I don't use IDLE to edit Python files, but do use tcl/tk for Python projects on Windows. Therefore, it would be useful for me to be able to install tcl/tk without also installing IDLE. However, in the Windows installer, tcl/tk and IDLE are bu

[issue29830] pyexpat.errors doesn't have __spec__ and __loader__ set

2017-03-16 Thread Manuel Jacob
New submission from Manuel Jacob: The same applies to pyexpat.model. It seems like pyexpat is the only builtin module which has submodules (errors, model). Normally, as I understand it, the module gets imported given a spec and the import machinery ensures that this spec ends up in the

[issue29830] pyexpat.errors doesn't have __spec__ and __loader__ set

2017-03-17 Thread Manuel Jacob
Manuel Jacob added the comment: You're of course right that pyexpat is an extension module and not a builtin module. I was confused because on PyPy it's a builtin module. But the same question applies for ExtensionFileLoader.is_package(). It returns False in the case of pyex

[issue30194] AttributeError on opening ZipFile

2017-04-27 Thread Jacob B
New submission from Jacob B: The error occurs when I attempt to run the following code: from urllib.request import urlretrieve from os import path from zipfile import ZipFile download_url = "https://www.dropbox.com/s/obiqvrt4m53pmoz/tesseract-4.0.0-alpha.zip?dl=1"; def set

[issue30558] [Suggestion] Improve documentation for set() API

2017-06-02 Thread Jacob Pratt
New submission from Jacob Pratt: While going through the documentation, I found that set() has surprisingly little documentation, not even a list of built-in methods. I'm not sure exactly what is missing, but I know that issubset and issuperset isn't in there (that's what I

[issue36086] Split IDLE into separate feature in Windows installer

2019-02-24 Thread Jacob Bundgaard
Change by Jacob Bundgaard : -- keywords: +patch pull_requests: +12055 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue36086> ___ _

[issue36086] Split IDLE into separate feature in Windows installer

2019-02-24 Thread Jacob Bundgaard
Jacob Bundgaard added the comment: I'm glad to hear that you might consider a patch. I've created a draft pull request for this, but I still need to figure out how to encode the dependency from IDLE to Tcl/Tk in WIX. Do you have an

[issue33322] Overridden __getitem__ not called on use of slice syntax when inheriting from tuple

2018-04-20 Thread Jacob Thalman
New submission from Jacob Thalman : class MyTuple(tuple): def __getitem__(self, item): print "Getting {}".format(item) t = MyTuple((1, 2)) t[0] -> "Getting 0" t[1] -> "Getting 1" t[slice(None)] -> "Getting slice(None, None, None)" t

[issue32481] Hitting the acute accent ´ button on a Danish keyboard causes Python with tkinter to crash immediately.

2018-01-02 Thread Jacob Jorvang
New submission from Jacob Jorvang : Hitting the acute accent ´ button on a Danish keyboard causes Python with tkinter to crash immediately. This is a problem because the key is just left of the backspace key. Using: Python 3.6.3 MacOS version of tkinter ActiveTCL 8.6.4.1 MacBook-Pro

[issue13797] Allow objects implemented in pure Python to export PEP 3118 buffers

2013-06-15 Thread Jacob Holm
Changes by Jacob Holm : -- nosy: +Jacob.Holm ___ Python tracker <http://bugs.python.org/issue13797> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21672] Python for Windows 2.7.7: Path Configuration File No Longer Works With UNC Paths

2014-06-05 Thread Jacob Blair
New submission from Jacob Blair: I just upgraded from 2.7.6 to 2.7.7, on Windows, and have encountered different behavior in my path configuration (.pth) files. One of my files had lines similar to these: \\host\sharefolder These paths (UNC-style), are not being loaded into sys.path. It is

[issue21309] Confusing "see also" for generic C-level __init__ methods in help output

2014-06-09 Thread Jacob Beck
Jacob Beck added the comment: I just got burned by this in io.StringIO, so I did a bit of looking. This was changed in r85710aa396ef in Objects/typeobject.c. The new revision makes as much sense as the old one, which wasn't helpful either and replaced an equally unhelpful revision at

[issue6626] show Python mimetypes module some love

2009-08-02 Thread Jacob Rus
New submission from Jacob Rus : See discussion started right at the end of the month at http://mail.python.org/pipermail/python-dev/2009-July/090928.html And continued at http://mail.python.org/pipermail/python-dev/2009-August/thread.html Basically, the mimetypes module is fragile and very

[issue6626] show Python mimetypes module some love

2009-08-02 Thread Jacob Rus
Jacob Rus added the comment: This diff should leave the semantics of the module essentially unchanged (including lazy-loading of default files), and also leave the particular MIME types used unchanged, even though these are out of date and should be updated; a subsequent suggested version

[issue6626] show Python mimetypes module some love

2009-08-02 Thread Jacob Rus
Jacob Rus added the comment: Here is a version of the patch which does away with the lazy loading: these are a small handful of easy-to-parse ~40k files; if the import takes an extra eye-blink, it shouldn't be too big a deal. -- Added file: http://bugs.python.org/file14630/mimet

[issue6626] show Python mimetypes module some love

2009-08-02 Thread Jacob Rus
Changes by Jacob Rus : Removed file: http://bugs.python.org/file14629/mimetypes-2.diff ___ Python tracker <http://bugs.python.org/issue6626> ___ ___ Python-bugs-list m

[issue6626] show Python mimetypes module some love

2009-08-02 Thread Jacob Rus
Jacob Rus added the comment: A fixed version of the patch from msg91200, 2009-08-02 20:08 -- Added file: http://bugs.python.org/file14631/mimetypes2.diff ___ Python tracker <http://bugs.python.org/issue6

[issue6626] show Python mimetypes module some love

2009-08-02 Thread Jacob Rus
Jacob Rus added the comment: This version (#4) switches to expressing the default types as a list of tuples instead of as a dict, so that we can include duplicate rows so that "reverse" type -> extension lookups will behave properly, once we start changing the actual content of

[issue6626] show Python mimetypes module some love

2009-08-02 Thread Jacob Rus
Jacob Rus added the comment: Here is a list I generated of all the current Apache mime.types: I would just as soon include this in the python standard library, either just the Apache file as is, or even these python object literals (maybe in a file outside of mimetypes.py), and then *not

[issue6626] show Python mimetypes module some love

2009-08-11 Thread Jacob Rus
Jacob Rus added the comment: Plone uses this thing, which has *much* more complexity than necessary for the standard library, but it might be nice to pick up the code for pulling types out of the windows registry, for instance. http://svn.plone.org/svn/archetypes/Products.MimetypesRegistry

[issue6626] show Python mimetypes module some love

2009-08-11 Thread Jacob Rus
Changes by Jacob Rus : Removed file: http://bugs.python.org/file14632/mimetypes4.diff ___ Python tracker <http://bugs.python.org/issue6626> ___ ___ Python-bugs-list mailin

[issue6626] show Python mimetypes module some love

2009-08-11 Thread Jacob Rus
Changes by Jacob Rus : Added file: http://bugs.python.org/file14696/mimetypes4.diff ___ Python tracker <http://bugs.python.org/issue6626> ___ ___ Python-bugs-list mailin

[issue6626] show Python mimetypes module some love

2009-08-14 Thread Jacob Rus
Jacob Rus added the comment: Okay, here's a version of this patch which (a) adds deprecation warnings, and (b) doesn't bother with lazy init. It should still be nearly completely backwards compatible with the previous mimetypes module. -- Added file: http://bugs.python.org

[issue6626] show Python mimetypes module some love

2009-08-14 Thread Jacob Rus
Jacob Rus added the comment: And at Rietveld, patch version 5: http://codereview.appspot.com/107042 -- ___ Python tracker <http://bugs.python.org/issue6

[issue1006238] cross compile patch

2010-01-07 Thread Jacob Godserv
Jacob Godserv added the comment: This bug affects me as well. Adding myself to CC. -- nosy: +javaJake ___ Python tracker <http://bugs.python.org/issue1006

[issue1006238] cross compile patch

2010-01-07 Thread Jacob Godserv
Jacob Godserv added the comment: The stage of this bug could be changed to "patch review", since a patch is available. -- ___ Python tracker <http://bugs.python.org

[issue1230540] sys.excepthook doesn't work in threads

2017-02-24 Thread Jacob Mansfield
Jacob Mansfield added the comment: Does this affect threads started with the multiprocessing library as well? -- nosy: +Jacob Mansfield ___ Python tracker <http://bugs.python.org/issue1230

[issue17223] Initializing array.array with unicode type code and buffer segfaults

2013-02-17 Thread Manuel Jacob
New submission from Manuel Jacob: >>> from array import array >>> str(array('u', b'asdf')) [1]19411 segmentation fault (core dumped) python This error occures with Python 3.3 and hg tip but not with Python 3.2. -- components: Librar

[issue17223] Initializing array.array with unicode type code and buffer segfaults

2013-02-17 Thread Manuel Jacob
Manuel Jacob added the comment: The attached patch fixes the crash. Output: >>> from array import array >>> str(array('u', b'asdf')) Traceback (most recent call last): File "", line 1, in ValueError: character U+66647361 is not in range [U+00

[issue17223] Initializing array.array with unicode type code and buffer segfaults

2013-02-17 Thread Manuel Jacob
Manuel Jacob added the comment: I've attached a new patch with a test that segfaults on Python 3.3 and passes on hg tip with the patch applied. -- Added file: http://bugs.python.org/file29110/issue17223_with_test.diff ___ Python tracker

[issue17275] io.BufferedWriter shows wrong type in argument error message

2013-02-22 Thread Manuel Jacob
New submission from Manuel Jacob: >>> import io >>> io.BufferedWriter(io.BytesIO(), 1024, 1024, 1024) Traceback (most recent call last): File "", line 1, in TypeError: BufferedReader() takes at most 2 arguments (4 given) It should be "BufferedWri

[issue17275] io.BufferedWriter shows wrong type in argument error message

2013-02-22 Thread Manuel Jacob
Manuel Jacob added the comment: The attached patch fixes the issue. Should I write a test? -- keywords: +patch Added file: http://bugs.python.org/file29161/issue17275.diff ___ Python tracker <http://bugs.python.org/issue17

[issue17275] io.BufferedWriter shows wrong type in argument error message

2013-02-22 Thread Manuel Jacob
Manuel Jacob added the comment: Added a new patch including tests for the C implementations of BufferedWriter and BufferedRandom. -- Added file: http://bugs.python.org/file29164/issue17275_with_test.diff ___ Python tracker <http://bugs.python.

[issue17223] Initializing array.array with unicode type code and buffer segfaults

2013-02-23 Thread Manuel Jacob
Manuel Jacob added the comment: http://docs.python.org/3/library/array.html states that the 'u' type code is deprecated together with the rest of the Py_UNICODE API (which includes PyUnicode_FromUnicode), so keeping this using PyUnicode_FromUnicode shoul

[issue17336] Complex number representation round-trip doesn't work with signed zero values

2013-03-02 Thread Manuel Jacob
New submission from Manuel Jacob: When evaluating, signed zero complex numbers aren't recovered correctly. >>> -0j (-0-0j) >>> (-0-0j) 0j >>> 0j 0j According to http://docs.python.org/dev/reference/datamodel.html#object.__repr__ the representation can be use

[issue26367] importlib.__import__ does not fail for invalid relative import

2016-02-15 Thread Manuel Jacob
New submission from Manuel Jacob: Python 3.6.0a0 (default:6c6f7dff597b, Feb 16 2016, 01:24:51) [GCC 5.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import importlib >>> importlib.__import__(&#x

[issue26367] importlib.__import__ does not fail for invalid relative import

2016-02-16 Thread Manuel Jacob
Changes by Manuel Jacob : -- keywords: +patch Added file: http://bugs.python.org/file41937/relimport-3.5.patch ___ Python tracker <http://bugs.python.org/issue26

[issue26367] importlib.__import__ does not fail for invalid relative import

2016-02-16 Thread Manuel Jacob
Changes by Manuel Jacob : Added file: http://bugs.python.org/file41938/relimport-3.6.patch ___ Python tracker <http://bugs.python.org/issue26367> ___ ___ Python-bug

[issue26367] importlib.__import__ does not fail for invalid relative import

2016-02-18 Thread Manuel Jacob
Manuel Jacob added the comment: (For some reason, I forgot to submit the previous comment). The attached patches fix the issue (one for the 3.5 branch, one for the default branch) by bringing importlib.__import__ closer to the builtin __import__. The extra code in the default / 3.6 branch is

[issue26367] importlib.__import__ does not fail for invalid relative import

2016-02-18 Thread Manuel Jacob
Manuel Jacob added the comment: Done. I'm a bit surprised this wasn't necessary for my previous two patches, but they were even more trival than this one. ;) Do we have to wait until my tracker profile is updated? -- ___ Python trac

[issue26367] importlib.__import__ does not fail for invalid relative import

2016-02-21 Thread Manuel Jacob
Manuel Jacob added the comment: I think the "What's New" entry has two typos. It should be `importlib.__import__()` instead of `importlib.__init__()` and SystemError instead of RuntimeError. -- ___ Python tracker <http

[issue26469] Bug in ConfigParser when setting new values in extended interpolation

2016-03-02 Thread Michael Jacob
New submission from Michael Jacob: There seems to be a bug in configparser when setting new values in extended interpolation: python --version Python 3.5.1 from configparser import ConfigParser, ExtendedInterpolation c=ConfigParser(interpolation=ExtendedInterpolation) c.add_section('

[issue26469] Bug in ConfigParser when setting new values in extended interpolation

2016-03-02 Thread Michael Jacob
Michael Jacob added the comment: My bad. ConfigParser expects an interpolation object, not a class. Instead of c=ConfigParser(interpolation=ExtendedInterpolation) you need to create it with: c=ConfigParser(interpolation=ExtendedInterpolation()) Sorry about that. -- resolution

[issue17576] PyNumber_Index() is not int-subclass friendly (or operator.index() docos lie)

2015-02-24 Thread Manuel Jacob
Manuel Jacob added the comment: Maybe I'm missing something, but it seems to me that test_int_subclass_with_index() is testing for the exactly wrong behaviour. Isn't the point of this issue that operator.index(a) should be equal to a.__index__()? Why are the tests checking tha

[issue35786] get_lock() method is not present for Values created using multiprocessing.Manager()

2020-07-06 Thread Ian Jacob Bertolacci
Ian Jacob Bertolacci added the comment: What's being done about this? I would say this is less "misleading documentation" and more "incorrect implementation" There is also not an obvious temporary work-around. -- nosy: +IanBertolacci _

<    1   2