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/008108.html below:

[Python-Dev] Python keywords (was Lockstep iteration

[Python-Dev] Python keywords (was Lockstep iteration - eureka!) [Python-Dev] Python keywords (was Lockstep iteration - eureka!)Moshe Zadka Moshe Zadka <moshez@math.huji.ac.il>
Thu, 10 Aug 2000 04:28:00 +0300 (IDT)
On Thu, 10 Aug 2000, Mark Hammond wrote:

> Sometimes it is worse than annoying!
> 
> In the COM and CORBA worlds, it can be a showstopper - if an external
> object happens to expose a method or property named after a Python keyword,
> then you simply can not use it!

How about this (simple, but relatively unannoying) convention:

To COM name:
	- remove last "_", if any

From COM name:
	- add "_" is it's a keyword
	- add "_" if last character is "_"

--
Moshe Zadka <moshez@math.huji.ac.il>
There is no IGLU cabal.
http://advogato.org/person/moshez




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