[issue15655] PEP 384 Refactoring applied to json module

2020-06-22 Thread Antoine Pitrou
Change by Antoine Pitrou : -- nosy: -pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue15655] PEP 384 Refactoring applied to json module

2020-06-22 Thread STINNER Victor
STINNER Victor added the comment: Issue fixed in Python 3.9 with: commit 33f15a16d40cb8010a8c758952cbf88d7912ee2d Author: Dong-hee Na Date: Fri Mar 27 19:59:59 2020 +0900 bpo-40077: Convert _json module to use PyType_FromSpec() (GH-19177) Replace statically allocated types wit

[issue15655] PEP 384 Refactoring applied to json module

2012-11-08 Thread Robin Schreiber
Changes by Robin Schreiber : -- keywords: +pep3121 -patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue15655] PEP 384 Refactoring applied to json module

2012-08-17 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue15655] PEP 384 Refactoring applied to json module

2012-08-15 Thread Robin Schreiber
Robin Schreiber added the comment: Removed C++ comment and corresponding codesnipped. Also changed bad-style macro definition. -- Added file: http://bugs.python.org/file26818/_json_pep384_v1.patch ___ Python tracker

[issue15655] PEP 384 Refactoring applied to json module

2012-08-14 Thread Robin Schreiber
Robin Schreiber added the comment: Incidentally, I am deeply sorry for the C++-Style comments. I thought those would be detected by the patchcheck.py. -- ___ Python tracker ___

[issue15655] PEP 384 Refactoring applied to json module

2012-08-14 Thread Robin Schreiber
Robin Schreiber added the comment: Hey Antoine, This comment describes exactly what I intended with the "dance" in issue15653. For example the json testsuite issued multiple calls to the init function before unloading and consequently clearing the module. However it seems as if the behavior th

[issue15655] PEP 384 Refactoring applied to json module

2012-08-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: +// in case init is called multiple times within one interpreter, +// we do not have to repeat all of the initialization First, you shouldn't use C++-style comments ("//"). Second, I find this comment a bit weird. Even if init is called a second time, s

[issue15655] PEP 384 Refactoring applied to json module

2012-08-14 Thread Robin Schreiber
New submission from Robin Schreiber: Changes proposed in PEP3121 and PEP384 have now been applied to the json module! -- components: Extension Modules files: _json_pep384_v0.patch keywords: patch messages: 168222 nosy: Robin.Schreiber priority: normal severity: normal status: open title: