> 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 .
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
>
$ python2.4 -c 'import sys; print sys.maxint, sys.maxint == (1<<63) - 1'
9223372036854775807 True
$ python2.4 test_hi_powers.py
Test 0.2 of to_int 0.16
..
--
Ran
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
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 cal
[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 wi
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
"
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-mai
On 11/12/05, Raymond Hettinger <[EMAIL PROTECTED]> wrote:
> > The motivation
> > is to be able to write multilined strings easily without damaging the
> > visual indentation of the source code
>
> That is somewhat misleading. We already have that ability. What is
> being proposed is moving existi
Tim Delaney wrote:
> With Microsoft changing the CRT all the time, I think I'd much prefer seeing
> effort going towards MinGW becoming the official Windows build platform.
> There was a considerable amount of angst with the 2.4 release that can be
> blamed solely on the CRT change (and hence di
OK, Tim and I corresponded off-list (after that Aahz graciously
suggested direct mail). The code I have is still stand-alone,
but I get good speeds: 60% - 70% of the speed of int(string, base).
It will take a little bit to figure out how it best belongs in
the Python sources, so don't look for an
"Martin v. Löwis" wrote:
> Using VS2005 for official builds would only be an option with the
> next major release (2.5), and I personally don't see that happening:
> AFAICT, it is not that much of a change as VS2003 was (i.e. for
> Python, nothing is gained AFAICT); also, I'm getting the impressio
> The motivation
> is to be able to write multilined strings easily without damaging the
> visual indentation of the source code
That is somewhat misleading. We already have that ability. What is
being proposed is moving existing code to a different namespace. So the
motivation is really someth
Following Avi's suggestion, can I raise this thread up again? I think
that Reinhold's .dedent() method can be a good idea after all.
The idea is to add a method called "dedent" to strings. It would do
exactly what the current textwrap.indent function does. The motivation
is to be able to write mul
Jim Jewett wrote:
> (6) Mark Hammond suggests that it might be easier to
> replace the interactive portions of python based on the
> "code" module. matplotlib suggests using ipython
> instead of standard python for similar reasons.
>
> If that is really the simplest answer (and telling users
>
Hi Skip,
I made a script that runs through a subversion
sandbox and checks whether all md5sums are correct.
Please run that on your working copy to see whether
there are still any inconsistent files.
Regards,
Martin
import os, xml.dom.minidom, md5
def checkdir(arg, path, files):
if not pat
On 11/12/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> If I have a Gtk app I have to feed other (socket, callback) pairs to it. It
> takes care of adding it to the select() call. Python could dictate that the
> way to play ball is for other packages (Tkinter, PyGtk, wxPython, etc) to
> feed
[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 be
Paul Moore wrote:
> I hope this is of some use - it would be brilliant if VC 2005 Express
> could be a supported build environment. (Of course, MS have updated
> the CRT again, so binaries built with VC 2005 Express aren't binary
> compatible with extensions built for the standard release... :-( )
On 11/10/05, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote:
> Christos Georgiou wrote:
> > I didn't see any mention of this product in the Python-Dev list, so I
> > thought to let you know.
> >
> > http://msdn.microsoft.com/vstudio/express/visualc/download/
> >
> > There is also a link for a CD image
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
in
21 matches
Mail list logo