Petrus Hyvönen created PYLUCENE-67:
--------------------------------------

             Summary: keyword arguments are silently ignored on wrapped 
constructors
                 Key: PYLUCENE-67
                 URL: https://issues.apache.org/jira/browse/PYLUCENE-67
             Project: PyLucene
          Issue Type: Improvement
         Environment: Tested on Linux
            Reporter: Petrus Hyvönen


In using a JCC wrapped library, it is possible that a user uses keyword 
arguments instead of positional arguments for constructor / methods.

These are silently ignored which may be confusing for the user.

For example

Constructor(param1=1, param2=2) gives same as Constructor() without warning.

I think the expected behaviour would be to raise some error. 

Regards!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to