[Python-ideas] Re: Python Developer’s Guide chinese version

2021-11-21 Thread Jean Abou Samra
to others, but the overall task is huge). Perhaps you would be better off contributing to that? Or maybe you need a quick setup guide in Chinese but not the full devguide with all reST instructions, information on branches and release cycles, technical overview sections, etc.? Best regards, Jean Abou

[Python-ideas] Re: Should Python enforce Type-checking in the future?

2021-12-10 Thread Jean Abou Samra
Hi, (NB: I'm just a lurker here, posting for almost the first time. I may say silly things.) Le 09/12/2021 à 21:32, deavid a écrit : Hi, I would like to hear the opinion of Python's community on enforcing types in the future for the language. I've been using Python as my main language for

[Python-ideas] Re: Pip & gpg story

2022-06-28 Thread Jean Abou Samra
Le 28/06/2022 à 12:59, J. Pic a écrit : Hi Currently we can upload signed packages on pypi. Shouldn't pip have a keyring of thrusted projects or developers and enforce whitelisting of untrusted packages, either through a requirement flag or through an interactive question in CLI? I think

[Python-ideas] Re: Addition to fnmatch.py

2022-06-05 Thread Jean Abou Samra
Le 05/06/2022 à 16:52, John Carter a écrit : I’d like to propose a simple addition to the 'fnmatch' module. Specificity a function that returns a list of names that match a pattern AND a list of those that don't. In a recent project I found that I wished to split a list of files and move

[Python-ideas] Re: Add InvalidStateError to the standard exception hierarchy

2022-09-01 Thread Jean Abou Samra
Le 01/09/2022 à 23:40, Steve Jorgensen a écrit : I frequently find that I want to raise an exception when the target of a call is not in an appropriate state to perform the requested operation. Rather than choosing between `Exception` or defining a custom exception, it would be nice if there