[issue45639] Support modern image formats in MIME types

2021-10-27 Thread Adam Konrad
Change by Adam Konrad : -- keywords: +patch pull_requests: +27523 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29259 ___ Python tracker <https://bugs.python.org/issu

[issue45639] Support modern image formats in MIME types

2021-10-27 Thread Adam Konrad
New submission from Adam Konrad : Modern image types webp and avif are not recognized by the mimetypes module. Problem: Many tools are written in Python and running on macOS. Good example is the AWS CLI. Running commands like "s3 sync" will save files with .webp and .avif exten

[issue43252] deepcopy of weakref proxies

2021-04-15 Thread Konrad Schwarz
Konrad Schwarz added the comment: Well, in the example code, the memo dictionary contains the (hard) reference to newly created objects but ultimately, at the close of the deepcopy, the objects are (hard) referenced using the normal "child" attributes. I don't however know

[issue43383] imprecise handling of weakref callbacks

2021-03-04 Thread Konrad Schwarz
Change by Konrad Schwarz : -- resolution: -> postponed stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue43383] imprecise handling of weakref callbacks

2021-03-04 Thread Konrad Schwarz
Konrad Schwarz added the comment: Unfortunately, my management has impressed other priorities upon me; I can't delve deeper into this subject at the moment. My takeaway is that the error very likely lies on my side; maybe I need to re-check local variables and del them explicitly. I

[issue43383] imprecise handling of weakref callbacks

2021-03-03 Thread Konrad Schwarz
Konrad Schwarz added the comment: > If I understand correctly, the reported bug is that you're seeing a weakref > callback being executed > after the weakref.ref instance it's attached to is deleted. Is that correct? Exactly. I del what should be the only reference to th

[issue43383] imprecise handling of weakref callbacks

2021-03-02 Thread Konrad Schwarz
New submission from Konrad Schwarz : I am seeing the following non-deterministic behavior: My code processes DeviceTree, a tree-based specification format for hardware descriptions, that includes cross-references ("phandles"). For all intents and purposes, this format is simi

[issue43252] deepcopy of weakref proxies

2021-02-18 Thread Konrad Schwarz
New submission from Konrad Schwarz : copy.deepcopy()-ing a tree structure that has internal parent and cross-reference links implemented as weakref.proxy() objects causes the weak reference proxies themselves to be copied (still refering to their original referents) rather than weak

[issue42324] Doctest: directives

2020-11-11 Thread Konrad Schwarz
Konrad Schwarz added the comment: Yes it is. On Wed, Nov 11, 2020 at 1:06 PM Karthikeyan Singaravelan < rep...@bugs.python.org> wrote: > > Karthikeyan Singaravelan added the comment: > > Is this similar to https://bugs.python.org/issue36675 ? > > --

[issue42324] Doctest: directives

2020-11-11 Thread Konrad Schwarz
New submission from Konrad Schwarz : In both PDF and HTML, the examples for Doctest directives don't actually show the directives themselves, perhaps because they syntactically start with a #. -- assignee: docs@python components: Documentation messages: 380752 nosy: docs@p

[issue40171] Attempting to import inaccessible package imports an empty package

2020-04-03 Thread Konrad Borowski
Konrad Borowski added the comment: The attached example works on Python 2, but it breaks with Python 3. This may be a regression. -- ___ Python tracker <https://bugs.python.org/issue40

[issue40171] Attempting to import inaccessible package imports an empty package

2020-04-03 Thread Konrad Borowski
New submission from Konrad Borowski : The attached shell program returns `AttributeError: module 'mod' has no attribute 'x'`. I would rather expect `ImportError` instead of loading an empty package due to permission error causing Python module to be inaccessibl

[issue36244] Lock release fails under windows

2019-03-09 Thread Konrad Ciecierski
Konrad Ciecierski added the comment: Yes, it is the same case. Still, the current official (3.7.2) release is affected by this problem. -- resolution: -> duplicate stage: -> resolved status: open -> closed ___ Python tracke

[issue36244] Lock release fails under windows

2019-03-08 Thread Konrad Ciecierski
New submission from Konrad Ciecierski : In python 3.7.2 when the subprocess releases the acquired lock, the OSError occurs: "OSError: [WinError 6] The handle is invalid". Problem does not occur under Ubuntu 18. File "multip-test.py", line 13, in worker lock.release(

[issue26425] 'TypeError: object of type 'NoneType' has no len()' in 'splitdrive'

2016-02-24 Thread Konrad
New submission from Konrad: Hello, when trying to build the 'bsddb3' extension (from https://pypi.python.org/pypi/bsddb3/6.1.1) which is necessary for Gramps ( https://gramps-project.org/wiki/index.php?title=Install_latest_BSDDB )I get the error 'TypeError: object of type &#

[issue8312] Add post/pre hooks for distutils commands

2010-08-02 Thread Konrad
Changes by Konrad : -- nosy: -Konrad.Delong ___ Python tracker <http://bugs.python.org/issue8312> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8312] Add post/pre hooks for distutils commands

2010-08-02 Thread Konrad Delong
Konrad Delong added the comment: I see no reasons to limit the command set to just these two. -- nosy: +Konrad.Delong ___ Python tracker <http://bugs.python.org/issue8

[issue8312] Add post/pre hooks for distutils commands

2010-05-09 Thread Konrad Delong
Changes by Konrad Delong : -- nosy: +konryd ___ Python tracker <http://bugs.python.org/issue8312> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2010-03-26 Thread Konrad Delong
Changes by Konrad Delong : -- nosy: +konryd ___ Python tracker <http://bugs.python.org/issue7946> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5048] Extending itertools.combinations

2009-01-25 Thread Konrad
Konrad added the comment: I'm afraid I don't have any real-world use cases. Originally, I assumed that dropping the length argument will make the function iterate over *all* combinations, which would enable me to write somehow twisted, one- liner for _inefficiently_ solving knapsa

[issue5048] Extending itertools.combinations

2009-01-24 Thread Konrad
New submission from Konrad : The function itertools.combinations might benefit from making the 'r' (length of the combinations) argument optionally a sequence. With that change one could call combinations(sequence, [2, 3]) in order to get all combinations of length 2 and 3. In parti

[issue3646] MacOS X framework install to non-standard directory fails

2008-08-22 Thread Konrad Hinsen
New submission from Konrad Hinsen <[EMAIL PROTECTED]>: The file Mac/README in Python 2.6b3 says: Installing in another place, for instance $HOME/Library/Frameworks if you have no admin privileges on your machine, has only been tested very lightly. This can be done by configuring with --

[issue3588] sysconfig variable LINKFORSHARED has wrong value for MacOS X framework build

2008-08-18 Thread Konrad Hinsen
New submission from Konrad Hinsen <[EMAIL PROTECTED]>: On a MacOS X framework build, the LINKFORSHARED variable obtained from distutils.sysconfig.get_config_vars() has the value -u _PyMac_Error Python.framework/Versions/2.5/Python The last item is incomplete, it needs to be prefixe