Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Protection levels in Python

Thread Tools

Protection levels in Python

Kay Schluehr
Posts: n/a
People often ask for making attributes "private" in the sense of
restricting access as in Java or C++. I've created a recipe for
attribute protection where all attributes are basically protected in
the C++ sense of being visible in the class and in subclasses and where
"public" attributes have to be declared explicitely:


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
copy protection / IP protection g Java 69 04-25-2006 04:10 PM
Protection levels after Conversion Wizard =?Utf-8?B?bXVzb3NkZXY=?= ASP .Net 1 01-09-2006 06:43 AM
Emacs python mode indent levels John Fouhy Python 2 07-15-2004 12:46 PM
Quantization levels of received symbol for viterbi decoder sunil VHDL 1 01-15-2004 03:59 PM