This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients Yuri Kanivetsky, benjamin.peterson, brett.cannon, ncoghlan, terry.reedy, yselivanov
Date 2018-01-05.20:14:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1515183272.67.0.467229070634.issue32450@psf.upfronthosting.co.za>
In-reply-to
Content
'ndots' is an internal name in the import-from branch of the import statement handler.  It seems reasonable in that context.  'level' is part of the public api for the ImportFrom node class, and cannot be changed as such.  It is also the parameter that receives the ndot value in the ImportFrom call, to be assigned to the level attribute.  Making the name switch in the call is at least as reasonable as in the assignment.  I am not the expert here, but I would be inclined to rejected this as not worth the code churn.
History
Date User Action Args
2018-01-05 20:14:33terry.reedysetrecipients: + terry.reedy, brett.cannon, ncoghlan, benjamin.peterson, yselivanov, Yuri Kanivetsky
2018-01-05 20:14:32terry.reedysetmessageid: <1515183272.67.0.467229070634.issue32450@psf.upfronthosting.co.za>
2018-01-05 20:14:32terry.reedylinkissue32450 messages
2018-01-05 20:14:32terry.reedycreate