[issue44140] WeakKeyDictionary should support lookup by id instead of hash

2021-08-26 Thread Alessio Bogon


Change by Alessio Bogon :


--
nosy: +youtux

___
Python tracker 
<https://bugs.python.org/issue44140>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue43468] functools.cached_property incorrectly locks the entire descriptor on class instead of per-instance locking

2021-08-26 Thread Alessio Bogon


Change by Alessio Bogon :


--
nosy: +youtux

___
Python tracker 
<https://bugs.python.org/issue43468>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38780] SysLogHandler crash atexit

2020-12-04 Thread Alessio Bogon


Alessio Bogon  added the comment:

Is there any update on this issue? I'm experiencing the same problem on macos.

--

___
Python tracker 
<https://bugs.python.org/issue38780>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38780] SysLogHandler crash atexit

2020-12-03 Thread Alessio Bogon


Change by Alessio Bogon :


--
nosy: +youtux

___
Python tracker 
<https://bugs.python.org/issue38780>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23179] New function proposal: string.from_iterable(iterable [, map_function])

2015-01-06 Thread Alessio Bogon

New submission from Alessio Bogon:

I would like to suggest a new string function/constructor: 
string.from_iterable(iterable [,map_function])

I think that the behaviour is intuitive: given an iterable, it construct a 
string using its element by apply a `map_function`, if provided, to each one of 
them. After that the str() constructor will be applied to each element in any 
way, to ensure that effectively an iterable of strings is used.

Of course I do not expect that you will accept this patch, but I think this 
really is a missing piece of the python library.

You can argue that I could just use
.join(iterable)
but in my opinion there are two problems:
1) if any of the elements of `iterable` is not a `str` instance, it will fail 
miserably;
2) this is not very pythonic.

This issue is meant to be an idea for the python maintainers, so I did not 
write the corresponding `Doc/libary/string.rst` documentation, but if you are 
interested I could do it.

Thank you people for your amazing work.

--
components: Library (Lib)
files: string.from_iterable.patch
keywords: patch
messages: 233554
nosy: youtux
priority: normal
severity: normal
status: open
title: New function proposal: string.from_iterable(iterable [,map_function])
type: enhancement
versions: Python 3.4, Python 3.5
Added file: http://bugs.python.org/file37619/string.from_iterable.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23179
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com