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
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
Changes by Konrad :
--
nosy: -Konrad.Delong
___
Python tracker
<http://bugs.python.org/issue8312>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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 --
Changes by Konrad Delong :
--
nosy: +konryd
___
Python tracker
<http://bugs.python.org/issue7946>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Konrad Delong :
--
nosy: +konryd
___
Python tracker
<http://bugs.python.org/issue8312>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
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
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
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
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
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
Change by Konrad Schwarz :
--
resolution: -> postponed
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
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 ?
>
> --
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(
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
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
23 matches
Mail list logo