[issue20777] PyArg_ParseTupleAndKeywords does not respect arguments format.

2014-02-27 Thread Berker Peksag

Changes by Berker Peksag berker.pek...@gmail.com:


--
resolution:  - invalid
stage:  - committed/rejected

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20777
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20777] PyArg_ParseTupleAndKeywords does not respect arguments format.

2014-02-26 Thread Carlos Ferreira

Carlos Ferreira added the comment:

Solved. This issue had nothing to do with Python API.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20777
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20777] PyArg_ParseTupleAndKeywords does not respect arguments format.

2014-02-25 Thread Carlos Ferreira

New submission from Carlos Ferreira:

PyArg_ParseTupleAndKeywords is not respecting the format string sy*ss

When using the format sbss with the following valid arguments
enp0s8, 0, 08:00:27:da:b3:47, 08:00:27:11:22:33
there is no error and the function succeeds in parsing the arguments.

But when passing the following valid arguments,
8bf2f93c-8f44-4960-a2de-71f87130882e, bytes(list([0,0,0,1])), 
08:00:27:11:22:33, 10.0.0.3
it will fail stating that the 3rd argument has a null character.

--
components: Extension Modules
messages: 212236
nosy: Claymore
priority: normal
severity: normal
status: open
title: PyArg_ParseTupleAndKeywords does not respect arguments format.
type: behavior
versions: Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20777
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20777] PyArg_ParseTupleAndKeywords does not respect arguments format.

2014-02-25 Thread Carlos Ferreira

Carlos Ferreira added the comment:

(Please ignore the previous post)

PyArg_ParseTupleAndKeywords is not respecting the format string sy*ss

When using the format sbss with the following valid arguments
enp0s8, 0, 08:00:27:da:b3:47, 08:00:27:11:22:33
there is no error and the function succeeds in parsing the arguments.

But when using the format sy*ss with the following valid arguments,
8bf2f93c-8f44-4960-a2de-71f87130882e, bytes(list([0,0,0,1])), 
08:00:27:11:22:33, 10.0.0.3
it will fail stating that the 3rd argument has a null character.

--
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20777
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com