Re: convert unicode characters to visibly similar ascii characters

2008-07-02 Thread Peter Bulychev
Thank you. That is exactly what I was looking for. 2008/7/2 Jim <[EMAIL PROTECTED]>: > Peter Bulychev wrote: > > I want to convert unicode character into ascii one. > You have to make some arbitrary choices of what to translate. Based > on some materials on effbot's

Re: convert unicode characters to visibly similar ascii characters

2008-07-01 Thread Peter Bulychev
Thank you for you answer. If you only want this to work for a subset, please define that subset. Actually, I want to convert only punctuations (dots, commas, hyphens and so on). -- Best regards, Peter Bulychev. -- http://mail.python.org/mailman/listinfo/python-list

convert unicode characters to visibly similar ascii characters

2008-07-01 Thread Peter Bulychev
eturn "'"`. I believe there is more elegant way. Am I right? Thanks. -- Best regards, Peter Bulychev. -- http://mail.python.org/mailman/listinfo/python-list

Clone Digger: the tool for finding software clones; GSoC 2008

2008-03-23 Thread Peter Bulychev
automatic refactoring feature) *) to develop the tool which will help people to create better programs You can see the project ideas here: http://clonedigger.sourceforge.net/google_summer_of_code.html Please, fill free to ask me any questions you may have. -- Best regards, Peter Bulychev. -- http

Re: question about module compiler: line numbers and positions of substring, which are covered by AST nodes

2008-03-17 Thread Peter Bulychev
sources *) Modify the Parser module *) Build Python (or just parser.so) *) Drag the node.n_col_offset field to the Compiler module It should be noted that this solution will not be cross-platform. Good luck! 2008/3/16, Peter Bulychev <[EMAIL PROTECTED]>: > > Hello. > > I u

question about module compiler: line numbers and positions of substring, which are covered by AST nodes

2008-03-16 Thread Peter Bulychev
ng what I want? As I understand, module Compiler is automatically generated by some parser generator. Maybe I can modify it? -- Best regards, Peter Bulychev. -- http://mail.python.org/mailman/listinfo/python-list