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

Mailing List Archive: Python: Bugs

[issue15615] More tests for JSON decoder to test Exceptions

 

 

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


report at bugs

Aug 10, 2012, 3:12 AM

Post #1 of 5 (268 views)
Permalink
[issue15615] More tests for JSON decoder to test Exceptions

New submission from Kushal Das:

Added two more tests in json module to test exception cases.

test_extra_data: this test checks the error condition when we have extra data in the stream.

test_invalid_escape: this test checks for the invalid escape sequence in the stream

----------
components: Tests
files: json_tests.patch
keywords: patch
messages: 167863
nosy: kushaldas
priority: normal
severity: normal
status: open
title: More tests for JSON decoder to test Exceptions
type: enhancement
versions: Python 3.4
Added file: http://bugs.python.org/file26755/json_tests.patch

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue15615>
_______________________________________
_______________________________________________
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

Aug 11, 2012, 8:01 AM

Post #2 of 5 (256 views)
Permalink
[issue15615] More tests for JSON decoder to test Exceptions [In reply to]

Antoine Pitrou added the comment:

Hi and thank you. The patch looks fine to me. Could you sign a contributor's agreement: http://www.python.org/psf/contrib/ ?

----------
nosy: +ezio.melotti, pitrou
versions: +Python 2.7, Python 3.2, Python 3.3 -Python 3.4

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue15615>
_______________________________________
_______________________________________________
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

Aug 11, 2012, 1:36 PM

Post #3 of 5 (256 views)
Permalink
[issue15615] More tests for JSON decoder to test Exceptions [In reply to]

Kushal Das added the comment:

Contributor's agreement signed and sent to the given email address.
Thanks for the input.

----------

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue15615>
_______________________________________
_______________________________________________
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

Aug 18, 2012, 11:54 AM

Post #4 of 5 (252 views)
Permalink
[issue15615] More tests for JSON decoder to test Exceptions [In reply to]

Roundup Robot added the comment:

New changeset cd9a4883dd02 by Antoine Pitrou in branch '3.2':
Issue #15615: Add some tests for the json module's handling of invalid input data.
http://hg.python.org/cpython/rev/cd9a4883dd02

New changeset 01717c3da4fb by Antoine Pitrou in branch 'default':
Issue #15615: Add some tests for the json module's handling of invalid input data.
http://hg.python.org/cpython/rev/01717c3da4fb

New changeset b16a5f0d0c87 by Antoine Pitrou in branch '2.7':
Issue #15615: Add some tests for the json module's handling of invalid input data.
http://hg.python.org/cpython/rev/b16a5f0d0c87

----------
nosy: +python-dev

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue15615>
_______________________________________
_______________________________________________
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

Aug 18, 2012, 11:56 AM

Post #5 of 5 (251 views)
Permalink
[issue15615] More tests for JSON decoder to test Exceptions [In reply to]

Antoine Pitrou added the comment:

Thanks and congratulations for your patch! It's now committed to all three branches.

----------
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue15615>
_______________________________________
_______________________________________________
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.