Re: Python3 / PTL Files

Patrik Simons <[email protected]> Mon, 10 Nov 2014 13:02:54 +0200
Newsgroups gmane.comp.web.quixote.user
Message-ID <[email protected]>
On Fri, 7 Nov 2014 09:08:38 +0000 Robert Ladyman <[email protected]> wrote:

> Dear All,
> 
> I've been (locally) modifying Quixote to support Python3 and have updated the 
> PTL code accordingly - however, the tests for PTL are very small. If anyone 
> has any PTL files they would be willing to share for testing purposes, I 
> would be very thankful. If you would also be willing to have them form part 
> of a test suite (when suitably anonymised) would you please indicate that.
> 

I don't have any PTL files for testing, but we have been
using Quixote with python 3.4 for a couple of months.

The code can be found at http://neotide.fi/quixote/Quixote-2.8-for3.4.tar.gz

Only simple_server.py has been tested as we mostly use quixote under windows
together with an ISAPI handler: http://neotide.fi/quixote/isapi_handler.py

I haven't touched _c_htmltext.c so that doesn't work, but I subclassed
htmltext from str and implemented the missing string methods.

-- 
Patrik



> As an aside, the PTL code uses the current (as coded) Python compiler (in this 
> case 3.4.0) and will compile the PTL files using that version's syntax (in 
> other words, your PTL files will be executed as Python3 PTL's).
> 
> Regards,
> RJL
> 
> 
> -- 
> Robert Ladyman
> File-Away Limited
> 3 Ralston Business Centre, Newtyle, Blairgowrie
> Perthshire  PH12 8TL SCOTLAND
> Tel: +44 (0) 1828 898 158
> Mobile: +44 (0) 7732 771 649
> http://www.file-away.co.uk
> 
> ============================================
> Registered Office: 30 Church Street, Newtyle, Blairgowrie
> Perthshire, PH12 8TZ SCOTLAND
> Registered in Scotland, Company Number SC222086
> _______________________________________________
> Quixote-users mailing list
> [email protected]
> http://lists.quixote.ca/cgi-bin/mailman/listinfo/quixote-users
>