[issue38080] 2to3 urllib fixer: missing fix for urllib.getproxies

2019-09-10 Thread
New submission from 徐靖 : urllib.getproxies can be converted to urllib.request.getproxies, and their documentation looks the same. but in fix_urllib.py and my real test, it is ignored. I do not know why 2to3 does nothing. Is it a bug? -- components: 2to3 (2.x to 3.x conversion tool

[issue37626] Documentation:conflict between docs

2019-07-18 Thread
New submission from 徐靖 : In https://docs.python.org/3/whatsnew/3.4.html#api-and-feature-removals,It is said "inspect.Signature: positional-only parameters are now required to have a valid name." But in https://docs.python.org/3/library/inspect.html?highlight=3.4#inspect

[issue37626] Documentation:conflict between docs

2019-07-18 Thread
Change by 徐靖 : -- assignee: docs@python components: Documentation nosy: docs@python, shiyuchong priority: normal severity: normal status: open title: Documentation:conflict between docs versions: Python 3.5, Python 3.6, Python 3.7 ___ Python tracker

[issue37608] _thread: acquire_lock, release_lock still in use while declared to be "gone" in Documentation

2019-07-17 Thread
徐靖 added the comment: I got it that it is just my misunderstanding. Thanks. -- ___ Python tracker <https://bugs.python.org/issue37608> ___ ___ Python-bugs-list m

[issue37602] nonzero fixer problem

2019-07-17 Thread
徐靖 added the comment: Got it. I am just testing all changes in Python 3.X (in preparation for a project porting to 3.7 before I have permission to view the source code), and call __nonzero__() directly for testing. So maybe I cannot provide an example. I did not realize that it should

[issue37608] _thread: acquire_lock, release_lock still in use while declared to be "gone" in Documentation

2019-07-17 Thread
New submission from 徐靖 : In https://docs.python.org/3/whatsnew/3.0.html#library-changes Documentation, it said "Cleanup of the thread module: acquire_lock() and release_lock() are gone; use acquire() and release() instead." But in 3.7, I can still find {"acquire_lock"

[issue37602] nonzero fixer problem

2019-07-15 Thread
New submission from 徐靖 : An easy problem. It seems like nonzero fixer can only fix definition, not usage. nonzero fixer cannot fix problems like below: a = 1 a.__nonzero__() And there are no cases of __nonzero__() usage in test cases from test_fixers.py.(all cases test only definition rename