Re: bytecode obfuscation

2005-02-06 Thread Philippe Fremy
Adam DePrince wrote: No amount of obfuscation is going to help you. Theorically, that's true. Anything obfuscated can be broken, just like the non obfuscated version. However it takes more skills and time to break it. And that's the point. By raising the barrier for breaking a product, you just

Re: Next step after pychecker

2005-02-02 Thread Philippe Fremy
Skip Montanaro wrote: Francis> "Every well-formed expression of the language can be assigned a Francis> type that can be deduced from the constituents of the Francis> expression alone." Bird and Wadler, Introduction to Functional Francis> Programming, 1988 Francis> This is certa

Re: Next step after pychecker

2005-02-01 Thread Philippe Fremy
I do not want to discourage Philippe Fremy but I think that this would be very very difficult to do without modifying Python itself. That's the conclusion I reached to too after lurking on the ocaml list. What FP languages rely upon to achieve type inference is a feature named "str

Re: Python's idiom for function overloads

2005-02-01 Thread Philippe Fremy
Frequently, in Python, code which checks for types, rather than checking for features, ends up being excessively restrictive and insufficiently general. That's true, but checking for the exact features that are going to be needed by your code is usually quite complicated and painful to maintain.

Re: Python's idiom for function overloads

2005-01-31 Thread Philippe Fremy
Hi Frans, Since Python doesn't have static typing, how is the same result as traditional function overloads results in acheived? With dynamic typing obviously. :-) You can not reproduce the C++ overload idiom but you can get something close with manual type testing. > To in a > function

Next step after pychecker

2005-01-31 Thread Philippe Fremy
Hi, I would like to develop a tool that goes one step further than pychecker to ensure python program validity. The idea would be to get close to what people get on ocaml: a static verification of all types of the program, without any kind of variable declaration. This would definitely brin