Re: Pep 3105: the end of print?

2007-02-16 Thread Tobias Brox
Hopefully this issue can be partially solved by automatic code converting. -- Tobias Brox, 69°42'N, 18°57'E -- http://mail.python.org/mailman/listinfo/python-list

Re: #!/usr/bin/python or #!/usr/bin/env python?

2006-08-09 Thread Tobias Brox
l script containing some inline tcl is a shell script, though when the only shell-command is "start up tcl" and the rest of the file is tcl-code, I really don't think it can be defined as a "shell script" anymore. Particularly not if almost all tcl-scripts are started th

Re: #!/usr/bin/python or #!/usr/bin/env python?

2006-08-09 Thread Tobias Brox
#x27;s fairly common to begin tcl-scripts as a /bin/sh-file with "exec tcl" at one of the first lines, I think "file" ought to be able to recognize it. """exec" python is clearly an obscure hack not used by many, so I don't see why "f

Re: Threads vs Processes

2006-07-28 Thread Tobias Brox
[mark] > http://twistedmatrix.com/projects/core/documentation/howto/async.html . At my work, we started writing a web app using the twisted framework, but it was somehow too twisted for the developers, so actually they chose to do threading rather than using twisted's async methods. --

Re: Accessors in Python (getters and setters)

2006-07-19 Thread Tobias Brox
uage is not sufficiently advanced. -- Tobias Brox, 69°42'N, 18°57'E -- http://mail.python.org/mailman/listinfo/python-list

Re: Accessors in Python (getters and setters)

2006-07-19 Thread Tobias Brox
[ZeD] > you mean sed :) > sed 's/oldName/newName/g' oldFile > newFile I used to be a Perl programmer :-) perl -i.bak -pe 's/oldName/newName/g' * As said, this is risky as oldName can be used in other contexts. -- Tobias Brox, 69°42'N, 18°57'E --