Changes between Initial Version and Version 1 of Ticket #11306
- Timestamp:
- Sep 18, 2013, 6:32:13 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11306 – Description
initial v1 1 Since `has_key` is [http://docs.pythonsprints.com/python3_porting/py-porting.html formally deprecated] since Python 2.6 and even [http://docs.python.org/3.1/whatsnew/3.0.html#builtins removed in Python 3.1], and I've been removing these in various refactoring changesets (e.g. [11956]), I thought it might be better to create a ticket and replace these everywhere at once.1 Since `has_key` is [http://docs.pythonsprints.com/python3_porting/py-porting.html#replacing-dict-has-key formally deprecated] since Python 2.6 and even [http://docs.python.org/3.0/whatsnew/3.0.html#builtins removed in Python 3.0], and I've been removing these in various refactoring changesets (e.g. [11956]), I thought it might be better to create a ticket and replace these everywhere at once. 2 2 3 3 Additionally, it sounds like this will give a small performance improvement (negligible for nearly all cases I'm sure), and an increment towards #10083.