Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

[issue6986] _json crash on scanner/encoder initialization error

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


report at bugs

Nov 8, 2009, 5:35 PM

Post #1 of 3 (232 views)
Permalink
[issue6986] _json crash on scanner/encoder initialization error

STINNER Victor <victor.stinner [at] haypocalc> added the comment:

New version of my patch:
* don't create file in Lib/json/tests/: add new tests in
Lib/json/tests/test_speedups.py as asked by pitrou
* use json.scanner.c_make_scanner and json.encoder.c_make_encoder in
the test, instead of using directly the _json module

----------
Added file: http://bugs.python.org/file15291/json-crash-2.patch

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue6986>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Nov 8, 2009, 5:40 PM

Post #2 of 3 (217 views)
Permalink
[issue6986] _json crash on scanner/encoder initialization error [In reply to]

Changes by STINNER Victor <victor.stinner [at] haypocalc>:


Removed file: http://bugs.python.org/file15291/json-crash-2.patch

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue6986>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Nov 8, 2009, 5:41 PM

Post #3 of 3 (216 views)
Permalink
[issue6986] _json crash on scanner/encoder initialization error [In reply to]

STINNER Victor <victor.stinner [at] haypocalc> added the comment:

Oops, you forget json-crash-2.patch, the patch was completly wrong.
Check the json-crash-3.patch.

----------
Added file: http://bugs.python.org/file15292/json-crash-3.patch

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue6986>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.