A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2000-August/008839.html below:

[Python-Dev] New dictionaries patch on SF

[Python-Dev] New dictionaries patch on SF [Python-Dev] New dictionaries patch on SFFred L. Drake, Jr. fdrake@beopen.com
Mon, 28 Aug 2000 11:19:44 -0400 (EDT)
Barry A. Warsaw writes:
 > Note that JPython does something similar for dictionaries that are
 > used for namespaces.  See PyStringMap.java.

  The difference is that there are no code changes outside
dictobject.c to make this useful for my proposal -- there isn't a new
object type involved.  The PyStringMap class is actually a different
implementation (which I did dig into a bit at one point, to create
versions that weren't bound to JPython).
  My modified dictionary objects are just dictionary objects that
auto-degrade themselves as soon as a non-string key is looked up
(including while setting values).  But the approach and rational are
very similar.


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at beopen.com>
BeOpen PythonLabs Team Member




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4