Re: [Python-Dev] Status of MS Windows CE port

2008-09-26 Thread Ulrich Eckhardt
On Thursday 25 September 2008, Martin v. Löwis wrote:
> > 1. TCHAR is always WCHAR
>
> Python shouldn't be using TCHAR at all; that getpathp uses it is
> misguided (IMO).

It already does, see below...

> > The first point is interesting to the desktop win32 variants because
> > everything since NT4 (or even 3.x) also used UCS2 or UTF-16 internally.
> > Only win9x and ME(?) use 8-bit chars, and since support for them is being
> > dropped, this would save a few conversions while allowing better Unicode
> > support. I think getting Python to compile with _UNICODE #defined will be
> > my first step.
>
> Please don't. Whether or not _UNICODE is defined should have no effect.

Well, currently it does make a difference. Simple example: CreateFile(). One 
of the parameters is actually documented at LPCTSTR, which is a TCHAR string. 
That means that under CE, CreateFile(), which is actually a macro, resolves 
to CreateFileW and the existing code that passes a char-string doesn't work.

> > The third means that functions like e.g. system() are simply not
> > available in the supplied C API.
>
> In this case, not defining HAVE_SYSTEM would be already sufficient, no?

I'll take a look, I actually don't know.


> > The last one only affects the build system and possibly the integration
> > of unit testing. pythonce.sf.net already have one based on SCons, which
> > is nice and easily extended. Being able to build 64 bit variants on 32
> > bit systems and vice versa might be another benefit.
>
> Wouldn't it be easier to extend the VS projects? VS targets CE fairly
> well, no?

VS2005 works really good with CE5 and later. My problem here is that I can't 
provide a projectfile that suits everyone, because different devices have 
different SDKs and each configuration/SDK/CPU is another entry in that file. 
Further, the SDKs or devices differ in what they support, the platform CE as 
such doesn't exist.

Uli

-- 
Sator Laser GmbH
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932

**
   Visit our website at 
**
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten 
bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen 
Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein 
sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, 
weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte 
Änderungen enthalten. Sator Laser GmbH ist für diese Folgen nicht 
verantwortlich.

**

___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


[Python-Dev] Summary of Python tracker Issues

2008-09-26 Thread Python tracker

ACTIVITY SUMMARY (09/19/08 - 09/26/08)
Python tracker at http://bugs.python.org/

To view or respond to any of the issues listed below, click on the issue 
number.  Do NOT respond to this message.


 2052 open (+35) / 13746 closed (+32) / 15798 total (+67)

Open issues with patches:   660

Average duration of open issues: 713 days.
Median duration of open issues: 1818 days.

Open Issues Breakdown
   open  2037 (+34)
pending15 ( +1)

Issues Created Or Reopened (69)
___

turtle in the tkinter package?   09/20/08
CLOSED http://bugs.python.org/issue3884reopened loewis
   patch   

subprocess failing in GUI applications on Windows09/21/08
   http://bugs.python.org/issue3905reopened georg.brandl  
   

Building PDF documentation from tex files09/19/08
   http://bugs.python.org/issue3909created  wplappert 
   

2.6 regression in socket.ssl method  09/19/08
   http://bugs.python.org/issue3910created  matejcik  
   patch   

ftplib.FTP.makeport() bug09/19/08
   http://bugs.python.org/issue3911created  giampaolo.rodola  
   patch   

unittest. assertAlmostEqual() documentation incomplete   09/20/08
CLOSED http://bugs.python.org/issue3912created  roysmith  
   patch   

compound_stmt syntax includes 'decorated'09/20/08
CLOSED http://bugs.python.org/issue3913created  dangyogi  
   

augop definition does not include "//="  09/20/08
CLOSED http://bugs.python.org/issue3914created  dangyogi  
   

Broken link in 14.7 curses, Python Library Reference 09/20/08
CLOSED http://bugs.python.org/issue3915created  jasoneth  
   

layout of build directories for Windows not current  09/20/08
CLOSED http://bugs.python.org/issue3916created  gagenellina   
   patch   

set_display definition allows empty '{' '}' in Language Definiti 09/21/08
CLOSED http://bugs.python.org/issue3917created  dangyogi  
   

random.uniform suprisingly (good kind) does not work as document 09/21/08
CLOSED http://bugs.python.org/issue3918created  xuinkrbin 
   

PySys_SetObject crashes after Py_NewInterpreter().   09/21/08
CLOSED http://bugs.python.org/issue3919created  grahamd   
   

OpenBSD 4.4 still doesn't support _XOPEN_SOURCE  09/21/08
   http://bugs.python.org/issue3920created  loewis
   patch, needs review 

smtplib cannot sendmail over TLS 09/21/08
   http://bugs.python.org/issue3921created  shidot
   

3.0rc1 missing tk lib in sys.path?   09/21/08
CLOSED http://bugs.python.org/issue3922created  jmfauth   
   

'genexpr_for' in definition of 'call' in Language Reference. 09/21/08
CLOSED http://bugs.python.org/issue3923created  dangyogi  
   

cookielib chokes on non-integer cookie version, should ignore it 09/21/08
   http://bugs.python.org/issue3924created  DenNukem  
   

test_distutils fails on cygwin   09/21/08
CLOSED http://bugs.python.org/issue3925created  ocean-city
   patch, easy 

Idle doesn't obey the new improved warnings ar

[Python-Dev] preliminary findings of compiling python to javascript and running it under google "V8"

2008-09-26 Thread Luke Kenneth Casson Leighton
http://groups.google.com/group/pyjamas-dev/browse_thread/thread/5e14ac70508112e5/53ca0b8190f35e21?hl=en#53ca0b8190f35e21

may be of interest to some people.
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Status of MS Windows CE port

2008-09-26 Thread Martin v. Löwis
>> Please don't. Whether or not _UNICODE is defined should have no effect.
> 
> Well, currently it does make a difference. Simple example: CreateFile().

It's not so simple: Python doesn't actually call CreateFile, AFAICT
(well, it does, in _msi.c, but I hope you aren't worried about that
module on CE).

> One 
> of the parameters is actually documented at LPCTSTR, which is a TCHAR string. 
> That means that under CE, CreateFile(), which is actually a macro, resolves 
> to CreateFileW and the existing code that passes a char-string doesn't work.

True, but irrelevant: Python doesn't actually use CreateFile. Instead,
it calls both CreateFileA and CreateFileW (in posixmodule.c).

> VS2005 works really good with CE5 and later. My problem here is that I can't 
> provide a projectfile that suits everyone, because different devices have 
> different SDKs and each configuration/SDK/CPU is another entry in that file. 
> Further, the SDKs or devices differ in what they support, the platform CE as 
> such doesn't exist.

Hmm. And you *can* provide an SCons file that supports all the SDKs?

Regards,
Martin
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


[Python-Dev] Reminder: Python 2.6 final next Wednesday

2008-09-26 Thread Barry Warsaw

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

This is a reminder that Python 2.6 final is schedule for release next  
Wednesday, October 1st.


Once again, I've gone through the release blocker issues and knocked  
anything that doesn't specifically affect 2.6 to deferred blocker.   
This leaves us with  7 open blocking issues.


Please spend some time over the next several days reviewing patches,  
making comments and working toward closing these issues.  Email me  
directly if you have any questions, or ping me on irc.  Unfortunately,  
my 'net connection may be a little bit flakey until Wednesday, but I  
will do my best to get online and follow up as needed.


Please pitch in to help get Python 2.6 released on time!

Thanks,
- -Barry

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Darwin)

iQCVAwUBSN1hJnEjvBPtnXfVAQIQfQQAgYr0tuzJhm3LZX/1SaCwRJcX09UvNH1I
CjZHs2TKS22MjF9d3mmBgcEJPl9AwGE+6EF6OiSgrsNRoRtnN0MMT3nQo+deRkan
P3jUgMFJMFkA7Uq5MmuNnEnKZXa/bsu/8Om/4wqHqvtDXbUQkZPfyE8BFwBzJJSM
Aa6Wp3wieFs=
=r4iD
-END PGP SIGNATURE-
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


[Python-Dev] PyCon 2009 Call for Proposals

2008-09-26 Thread Aahz
Call for proposals -- PyCon 2009 -- 
===

Want to share your experience and expertise? PyCon 2009 is looking for
proposals to fill the formal presentation tracks. The PyCon conference
days will be March 27-29, 2009 in Chicago, Illinois, preceded by the
tutorial days (March 25-26), and followed by four days of development
sprints (March 30-April 2).

Previous PyCon conferences have had a broad range of presentations,
from reports on academic and commercial projects to tutorials and case
studies. We hope to continue that tradition this year.

Online proposal submission will open on September 29, 2008. Proposals
will be accepted through November 03, with acceptance notifications
coming out on December 15. For the detailed call for proposals,
please see:

   

We look forward to seeing you in Chicago!
-- 
Aahz ([EMAIL PROTECTED])   <*> http://www.pythoncraft.com/

"Argue for your limitations, and sure enough they're yours."  --Richard Bach
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


[Python-Dev] call for help: C-API 2 to 3 porting guide

2008-09-26 Thread Benjamin Peterson
Hi guys,
I remember a while back we were bemoaning the fact that little
documentation exists for the extension module transition between 2.x
and 3.x. In the name of this effort, I've created a c porting howto
(Doc/howto/cporting.rst). I have started a few sections, but I can't
do it all alone. Please consider writing a section.

-- 
Cheers,
Benjamin Peterson
"There's no place like 127.0.0.1."
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] PyCon 2009 Call for Proposals

2008-09-26 Thread Brett Cannon
On Fri, Sep 26, 2008 at 4:25 PM, Aahz <[EMAIL PROTECTED]> wrote:
> Call for proposals -- PyCon 2009 -- 
> ===
>
> Want to share your experience and expertise? PyCon 2009 is looking for
> proposals to fill the formal presentation tracks. The PyCon conference
> days will be March 27-29, 2009 in Chicago, Illinois, preceded by the
> tutorial days (March 25-26), and followed by four days of development
> sprints (March 30-April 2).
>

I am thinking of organizing a panel this year for python-dev (much
like the one I organized in 2007). Who would be willing to be on the
panel with me if I did this?

-Brett
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] PyCon 2009 Call for Proposals

2008-09-26 Thread Benjamin Peterson
On Fri, Sep 26, 2008 at 9:36 PM, Brett Cannon <[EMAIL PROTECTED]> wrote:
> On Fri, Sep 26, 2008 at 4:25 PM, Aahz <[EMAIL PROTECTED]> wrote:
>> Call for proposals -- PyCon 2009 -- 
>> ===
>>
>> Want to share your experience and expertise? PyCon 2009 is looking for
>> proposals to fill the formal presentation tracks. The PyCon conference
>> days will be March 27-29, 2009 in Chicago, Illinois, preceded by the
>> tutorial days (March 25-26), and followed by four days of development
>> sprints (March 30-April 2).
>>
>
> I am thinking of organizing a panel this year for python-dev (much
> like the one I organized in 2007). Who would be willing to be on the
> panel with me if I did this?

Could you explain what this is to us a little more, please? :)


-- 
Cheers,
Benjamin Peterson
"There's no place like 127.0.0.1."
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] [Python-3000] Reminder: Python 2.6 final next Wednesday

2008-09-26 Thread Nick Coghlan
Barry Warsaw wrote:
> This is a reminder that Python 2.6 final is schedule for release next
> Wednesday, October 1st.
> 
> Once again, I've gone through the release blocker issues and knocked
> anything that doesn't specifically affect 2.6 to deferred blocker.  This
> leaves us with  7 open blocking issues.

Have a couple of these been fixed already? The showstoppers search on
the bug tracker is only giving me 5 hits.

Cheers,
Nick.

-- 
Nick Coghlan   |   [EMAIL PROTECTED]   |   Brisbane, Australia
---
http://www.boredomandlaziness.org
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] PyCon 2009 Call for Proposals

2008-09-26 Thread Brett Cannon
On Fri, Sep 26, 2008 at 7:37 PM, Benjamin Peterson
<[EMAIL PROTECTED]> wrote:
> On Fri, Sep 26, 2008 at 9:36 PM, Brett Cannon <[EMAIL PROTECTED]> wrote:
>> On Fri, Sep 26, 2008 at 4:25 PM, Aahz <[EMAIL PROTECTED]> wrote:
>>> Call for proposals -- PyCon 2009 -- 
>>> ===
>>>
>>> Want to share your experience and expertise? PyCon 2009 is looking for
>>> proposals to fill the formal presentation tracks. The PyCon conference
>>> days will be March 27-29, 2009 in Chicago, Illinois, preceded by the
>>> tutorial days (March 25-26), and followed by four days of development
>>> sprints (March 30-April 2).
>>>
>>
>> I am thinking of organizing a panel this year for python-dev (much
>> like the one I organized in 2007). Who would be willing to be on the
>> panel with me if I did this?
>
> Could you explain what this is to us a little more, please? :)
>

You sit in front of a bunch of people answering questions asked by the
audience. You know, a panel. =) It's just a Q&A session so that PyCon
attendees can ask python-dev a bunch of random questions. Demystifies
some things and puts faces to python-dev.

-Brett
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com