On Apr 20, 2006, at 2:18 PM, Vasily Sulatskov wrote:
- may I suggest, that since this issue is decided completely within
the source code for types.String, that various implementations of
String, corresponding to different user preferences with regards to
Unicode treatment, be provided as mods which simply patch themselves
into the types package....that way, whatever type you put there gets
loaded in from an autoload scenario automatically.
Wow. Great idea. I never event thought of replacing class in library I
use at runtime. Thanks a lot
Well I also think people should tell me what they think of
that....its essentially more monkeypatching. Python makes it easy
to just replace the namespace within a module, which is total heresy
in "proper OO land"....would people prefer I use a more verbose
"dependency injection" approach, such as this thing http://
aspn.activestate.com/ASPN/Cookbook/Python/Recipe/413268 ? or do we
think "dependency injection" of any kind is just wrong, creating
scattered application flow thats impossible to follow (which I dont
agree with, stack traces say it all usually) ?
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sqlalchemy-users mailing list
Sqlalchemy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users