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.
Created on 2014年08月22日 14:57 by simonzack, last changed 2022年04月11日 14:58 by admin. This issue is now closed.
| Messages (7) | |||
|---|---|---|---|
| msg225673 - (view) | Author: Simon Zack (simonzack) | Date: 2014年08月22日 14:57 | |
The python unittest module currently uses camel case. This feels rather inconsistent with the rest of the python library, which is in lower case and follows PEP8. Would it be a good idea to add lower-case aliases, and possibly deprecate the camel case methods in the future? |
|||
| msg225698 - (view) | Author: R. David Murray (r.david.murray) * (Python committer) | Date: 2014年08月22日 19:28 | |
We tried going down this path with the Threading module in the python3 transiontion, and it was a mess. I don't think we are going to do it for any other module. |
|||
| msg225702 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2014年08月22日 19:59 | |
assertlessequal looks non-readable and assert_less_equal is two characters longer. |
|||
| msg225703 - (view) | Author: Ezio Melotti (ezio.melotti) * (Python committer) | Date: 2014年08月22日 20:07 | |
This has been already proposed and rejected in the past. It's not something that is going to happen (at least until Python 4 or 5). |
|||
| msg370170 - (view) | Author: Ram Rachum (cool-RR) * | Date: 2020年05月28日 08:05 | |
I see it's been 6 years since the last comment here. I think it's important to revisit these kind of decisions once in a while. Maybe now the time is ripe for a change? We could do it backward compatibility with a long deprecation schedule. Ezio: You said this was proposed and rejected. Can you link to the discussion? I couldn't find it. |
|||
| msg370172 - (view) | Author: Rémi Lapeyre (remi.lapeyre) * | Date: 2020年05月28日 08:12 | |
See for example https://mail.python.org/archives/list/python-ideas@python.org/thread/4HE2GFL27LGBSHGWOBDOOBPEULC52U4D/#RC3QWQUX6VP56K2WXSMRZ5IGNAUBXKRI |
|||
| msg370175 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2020年05月28日 08:21 | |
https://www.python.org/dev/peps/pep-0008/#a-foolish-consistency-is-the-hobgoblin-of-little-minds |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:58:07 | admin | set | github: 66446 |
| 2020年05月28日 08:21:11 | serhiy.storchaka | set | messages: + msg370175 |
| 2020年05月28日 08:12:11 | remi.lapeyre | set | nosy:
+ remi.lapeyre messages: + msg370172 |
| 2020年05月28日 08:05:28 | cool-RR | set | nosy:
+ cool-RR messages: + msg370170 |
| 2014年08月22日 20:07:36 | ezio.melotti | set | status: open -> closed nosy: + ezio.melotti messages: + msg225703 resolution: rejected stage: resolved |
| 2014年08月22日 19:59:17 | serhiy.storchaka | set | nosy:
+ serhiy.storchaka messages: + msg225702 |
| 2014年08月22日 19:28:06 | r.david.murray | set | nosy:
+ r.david.murray messages: + msg225698 |
| 2014年08月22日 14:57:28 | simonzack | create | |