[Python-Dev] Re: PEP 646 (Variadic Generics): final call for comments
Still working on it :) Specifically the grammar changes in cpython, though I haven't found much time to work on it recently. Tune into the tensor typing meeting on Monday for a more detailed update. On Thu, 8 Jul 2021 at 19:49, Filipe Laíns wrote: > On Sat, 2021-03-20 at 14:08 +, Matthew Rahtz via Python-Dev wrote: > > Hi everyone, > > We've got to the stage now with PEP 646 that we're feeling pretty happy > with > > it. So far though we've mainly been workshopping it in typing-sig, so as > PEP 1 > > requires we're asking for some feedback here too before submitting it to > the > > steering council. > > > > If you have time over the next couple of weeks, please take a look at the > > current draft and let us know your > > thoughts: https://www.python.org/dev/peps/pep-0646/ (Note that the final > > couple of sections are out of date; > https://github.com/python/peps/pull/1880 > > clarifies which grammar changes would be required, now that PEP 637 has > been > > rejected. We also have a second PR in progress at > > https://github.com/python/peps/pull/1881 clarifying some of the > motivation.) > > > > Thanks! > > Matthew and Pradeep > > Hey, > > Any updates on this? I am very excited about this PEP :) > > Cheers, > Filipe Laíns > ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/ILYBYAWJR6TREUZBSU5SERI46JQC4SYV/ Code of Conduct: http://python.org/psf/codeofconduct/
[Python-Dev] Summary of Python tracker Issues
ACTIVITY SUMMARY (2021-07-02 - 2021-07-09) Python tracker at https://bugs.python.org/ To view or respond to any of the issues listed below, click on the issue. Do NOT respond to this message. Issues counts and deltas: open7397 ( -1) closed 48931 (+40) total 56328 (+39) Open issues with patches: 2952 Issues opened (28) == #38291: Deprecate the typing.io and typing.re pseudo-modules https://bugs.python.org/issue38291 reopened by gvanrossum #44550: Spam https://bugs.python.org/issue44550 reopened by skoolbeep #44554: pdb.main is unnecessarily complicated https://bugs.python.org/issue44554 opened by jaraco #44556: ctypes unittest crashes with libffi 3.4.2 https://bugs.python.org/issue44556 opened by zan #44560: Unrecognized charset "eucgb2312_cn" in email header for many M https://bugs.python.org/issue44560 opened by tommylikehu #44561: Some expired hyperlinks in Python documentation https://bugs.python.org/issue44561 opened by StevenHsuYL #44564: DeprecationWarning in test_enum over formatting https://bugs.python.org/issue44564 opened by xtreak #44566: StopIteration subclass suppressed by contextlib.contextmanager https://bugs.python.org/issue44566 opened by graingert #44567: venv fails when called from within long path on Windows https://bugs.python.org/issue44567 opened by schwaerz #44568: test_constructor (test.test_ssl.ContextTests) ... Fatal Python https://bugs.python.org/issue44568 opened by sxt1001 #44569: traceback.py: Allow customization of per-frame line formatting https://bugs.python.org/issue44569 opened by ammar2 #44571: itertools: takedowhile() https://bugs.python.org/issue44571 opened by pavel-lexyr #44572: Calls to platform._syscmd_ver() dependent functions consume ST https://bugs.python.org/issue44572 opened by glukhov.k #44573: Organize some data files in the Lib/test directory https://bugs.python.org/issue44573 opened by Leonardofreua #44574: IDLE: Implement or delete python-context-help. https://bugs.python.org/issue44574 opened by terry.reedy #44577: Probably defect in Python 3.7.11 https://bugs.python.org/issue44577 opened by vladislavko #44579: shutil.copy() inefficient implementation in Windows https://bugs.python.org/issue44579 opened by sfmc #44580: pprint does not work for typing.Mapping https://bugs.python.org/issue44580 opened by hclark #44581: Interpreter can execute quickened opcodes in tracing mode https://bugs.python.org/issue44581 opened by Mark.Shannon #44583: Failure to build on OSF1. https://bugs.python.org/issue44583 opened by jaykrell #44584: Deprecate thread debugging PYTHONTHREADDEBUG=1 https://bugs.python.org/issue44584 opened by vstinner #44585: csv library does not correctly interpret some files https://bugs.python.org/issue44585 opened by voidloop #44586: unittest requires __init__.py for test discovery https://bugs.python.org/issue44586 opened by ma19 #44587: BooleanOptionalAction displays default=SUPPRESS unlike other a https://bugs.python.org/issue44587 opened by a.badger #44588: Possible double Py_XDECREF in cpython typeobject.c https://bugs.python.org/issue44588 opened by Wesley-Jzy #44589: Pattern Matching - duplicate keys in mapping patterns https://bugs.python.org/issue44589 opened by quentel #44590: Create frame objects lazily when needed https://bugs.python.org/issue44590 opened by Mark.Shannon #44592: tkinter focus_get() with non-tkinter Tk widget https://bugs.python.org/issue44592 opened by Akuli Most recent 15 issues with no replies (15) == #44590: Create frame objects lazily when needed https://bugs.python.org/issue44590 #44587: BooleanOptionalAction displays default=SUPPRESS unlike other a https://bugs.python.org/issue44587 #44585: csv library does not correctly interpret some files https://bugs.python.org/issue44585 #44580: pprint does not work for typing.Mapping https://bugs.python.org/issue44580 #44569: traceback.py: Allow customization of per-frame line formatting https://bugs.python.org/issue44569 #44568: test_constructor (test.test_ssl.ContextTests) ... Fatal Python https://bugs.python.org/issue44568 #44564: DeprecationWarning in test_enum over formatting https://bugs.python.org/issue44564 #44556: ctypes unittest crashes with libffi 3.4.2 https://bugs.python.org/issue44556 #44554: pdb.main is unnecessarily complicated https://bugs.python.org/issue44554 #44540: venv: activate.bat fails for venv with special characters in P https://bugs.python.org/issue44540 #44539: Imghdr JPG Quantized https://bugs.python.org/issue44539 #44532: multi subinterpreters use _PyStructSequence_InitType failed. https://bugs.python.org/issue44532 #44528: Move IP version resolving to http.server's API https://bugs.python.org/issue44528 #44525: Implement CALL_FUNCTION adaptive interpreter optimizations https://bugs.python.org/issue44525 #44522: [doc] open() function errors='surrogateescape' has inaccurate https://bugs.python
[Python-Dev] [slightly OT] cryptographically strong random.SystemRandom()
Greetings! A question [1] has arisen about the viability of `random.SystemRandom` in Pythons before and after the secrets module was introduced (3.5 I think) -- specifically does it give independent and uniform discrete distribution for cryptographic purposes across CPython 3.x versions? Any help appreciated! -- ~Ethan~ [1] https://stackoverflow.com/q/68319071/208880 ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/JH5BS7FBK3EA4I7NJDD6GG3G56YXMDFC/ Code of Conduct: http://python.org/psf/codeofconduct/
[Python-Dev] Re: [slightly OT] cryptographically strong random.SystemRandom()
[Ethan Furman] > A question [1] has arisen about the viability of `random.SystemRandom` in > Pythons before and after the secrets module was introduced > (3.5 I think) -- specifically > > does it give independent and uniform discrete distribution for > cryptographic purposes across CPython 3.x versions? > > ,,, > [1] https://stackoverflow.com/q/68319071/208880 `secrets` is just a wrapper around `random.SystemRandom`, so the presence or absence of `secrets` doesn't matter. As to SystemRandom, all answers depend on the quality of the platform os.urandom(), which Python has no control over. See my answer here, and the comments on it: https://stackoverflow.com/questions/20936993/how-can-i-create-a-random-number-that-is-cryptographically-secure-in-python/20937265#20937265 ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/7TZWAZCNFC4ZMRQENWQ5DDIFU6QPGN4Z/ Code of Conduct: http://python.org/psf/codeofconduct/
[Python-Dev] Re: [slightly OT] cryptographically strong random.SystemRandom()
On 7/9/21 2:25 PM, Tim Peters wrote: > `secrets` is just a wrapper around `random.SystemRandom`, so the > presence or absence of `secrets` doesn't matter. > > As to SystemRandom, all answers depend on the quality of the platform > os.urandom(), which Python has no control over. See my answer here, > and the comments on it: > > https://stackoverflow.com/questions/20936993/ Good to know, thanks. -- ~Ethan~ ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/ZGCYXLN6FS3RUHRWH65EDDS5CDMVDBJH/ Code of Conduct: http://python.org/psf/codeofconduct/