[Python-Dev] Mapping cvs version numbers to svn revisions?

2005-11-12 Thread skip
In a bug report I filed Neal Norwitz referred me to an earlier, fixed, bug report from before the cvs-to-svn switch. The file versions were thus cvs version numbers instead of svn revisions. Is it possible to map from cvs version number to svn? In this particular situation I can fairly easily

Re: [Python-Dev] Mapping cvs version numbers to svn revisions?

2005-11-12 Thread Martin v. Löwis
[EMAIL PROTECTED] wrote: In a bug report I filed Neal Norwitz referred me to an earlier, fixed, bug report from before the cvs-to-svn switch. The file versions were thus cvs version numbers instead of svn revisions. Is it possible to map from cvs version number to svn? It would have been

Re: [Python-Dev] Checking working copy consistency

2005-11-12 Thread skip
Martin I made a script that runs through a subversion sandbox and Martin checks whether all md5sums are correct. Please run that on your Martin working copy to see whether there are still any inconsistent Martin files. Thanks Martin. I got no complaints (trunk, release23-maint,

[Python-Dev] Is some magic required to check out new files from svn?

2005-11-12 Thread skip
Is there some magic required to check out new files from the repository? I'm trying to build on the trunk and am getting compilation errors about code.h not being found. If I remember correctly, this is a new file brought over from the ast branch. Using cvs I would have executed something like

Re: [Python-Dev] Event loops, PyOS_InputHook, and Tkinter

2005-11-12 Thread Greg Ewing
[EMAIL PROTECTED] wrote: Python could dictate that the way to play ball is for other packages (Tkinter, PyGtk, wxPython, etc) to feed Python the (socket, callback) pair. Then you have a uniform way to control event-driven applications. Certainly, if all other event-driven packages are

Re: [Python-Dev] Event loops, PyOS_InputHook, and Tkinter

2005-11-12 Thread Greg Ewing
Noam Raphael wrote: All that is needed to make Tkinter and Michiels' code run together is a way to say add this callback to the input hook instead of the current replace the current input hook with this callback. Then, when the interpreter is idle, it will call all the registered callbacks,

Re: [Python-Dev] Event loops, PyOS_InputHook, and Tkinter

2005-11-12 Thread Noam Raphael
On 11/13/05, Greg Ewing [EMAIL PROTECTED] wrote: Noam Raphael wrote: All that is needed to make Tkinter and Michiels' code run together is a way to say add this callback to the input hook instead of the current replace the current input hook with this callback. Then, when the interpreter

Re: [Python-Dev] to_int -- oops, one step missing for use.

2005-11-12 Thread jepler
$ python2.4 -c 'import sys; print sys.maxint, sys.maxint == (163) - 1' 9223372036854775807 True $ python2.4 test_hi_powers.py Test 0.2 of to_int 0.16 .. -- Ran

Re: [Python-Dev] str.dedent

2005-11-12 Thread Ian Bicking
Noam Raphael wrote: Sorry, I didn't mean to mislead. I wrote easily - I guess using the current textwrap.dedent isn't really hard, but still, writing: import textwrap ... r = some_func(textwrap.dedent('''\ line1

Re: [Python-Dev] Inconsistent behaviour in import/zipimport hooks

2005-11-12 Thread Mark Hammond
release. The main reason why I changed the import behavior was pythonservice.exe from the win32 extensions. pythonservice.exe imports the module that contains the service class, but because pythonservice.exe doesn't run in optimized mode, it will only import a .py or a .pyc file, not a .pyo