Menu

#59 Trivial: dict.has_key() is going away

MySQLdb
closed
MySQLdb (53)
5
2012-09-19
2009-02-04
No

Python 3.0 removes the dict.has_key() method, and there is one use remaining in trunk that'll eventually cause problems.

http://docs.python.org/3.0/whatsnew/3.0.html#builtins

Discussion

  • Kyle VanderBeek

    Kyle VanderBeek - 2009-02-04
     
  • Kyle VanderBeek

    Kyle VanderBeek - 2009-02-06

    This has been applied to trunk for 1.3 and later.

    Committed revision 568.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.