Re: [Python-Dev] Compiler used to build Python for Windows

2008-03-06 Thread Greg Ewing
Alexey Borzenkov wrote:

> I think the best lesson here is Tcl. Because it uses stubs mechanism,
> you don't need to depend on tclXX.dll, you don't deal with really
> direct implementation details, you don't care about runtimes,

How does that solve the problem of an extension using
one stdio library and the base interpreter another?

> Maybe it's possible (and not too late) for
> Python to somehow embrace such mechanism?

There would have to be an awful lot of stubs to cover
the whole Python/C API... but maybe that isn't seen as
a problem.

-- 
Greg
___
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] BSDDB3

2008-03-06 Thread Steve Holden
Gregory P. Smith wrote:
> 
> On 3/4/08, *Jesus Cea* <[EMAIL PROTECTED] > wrote:
> 
> That said, it is my aim to keep bsddb in stdlib, providing a stable and
> featureful module. I think keeping bsddb development inside python svn
> is not appropiate. Currently (I could change idea), my approach will be
> keeping pybssdb as a separate project and sync with python SVN from time
> to time. Mainly to take advantage of buildbot architecture and, of
> course, to be able to release python with current bindings.
> 
> Since I have no python commit access, this seems a sensible approach.
> And I could do frequent pybssdb releases (let say, every couple of
> months) without waiting for a full python release (current approach).
> 
> 
> That makes sense.  I also agree with Neal's comments, merging back into 
> python in reasonable sized chunks is good.  Don't worry about commit 
> access for now, I'll do the initial pybsddb back into python trunk 
> merges until we get that setup.  I've merged the python trunk changes 
> that others have made back into the pybsddb tree.
> 
> PS: I have tried to sign the Python Contributor Agreement, but I am not
> sure about current pybsddb license terms. Help welcomed.
> 
> 
> The current bsddb license first and foremost is the Python license.  If 
> I read the comments in the _bsddb file correctly I believe you could 
> also call it a MIT style license.  Keep things simple, just write 
> "Python License" on your contributor form and submit it.
> 
Unfortunately that won't do it. At present the PSF can only accept 
contributions under two initial licenses: either the Academic Free 
License v 2.1 or the Apache License v 2.0. See

   http://www.python.org/psf/contrib/

This is because only these licenses have been approved by attorneys as 
giving the PSF the necessary unencumbered permission to relicense for 
distribution *under* the Python license.

So Jesus was right to be concerned about licensing. I know it's a pain, 
but there are reasons. I don't see anything in the file to stop _bsddb.c 
being licensed to the PSF under either approved initial license. The 
licensing FAQ

   http://wiki.python.org/moin/PythonSoftwareFoundationLicenseFaq

explains why you can't just contribute code "under the PSF license", and 
the contributor agreement requires that each contribution should include 
the contributor's valid copyright notice and the phrase "Licensed to PSF 
under a Contributor Agreement." This condition appears to be more 
honored in the breach than the observance though, since the phrase 
currently only seems to appear five times in the whole source unless I 
need to practice my grep-fu.

As to the library that _bsddb wraps, I have not checked its licensing 
conditions and so cannot say how it is licensed to the PSF for 
redistribution, nor do I know whether Oracle's acquisition of SleepyCat 
will affect future versions. Bet it gave the MySQL guys some sleepless 
nights, though.

regards
  Steve
-- 
Steve Holden+1 571 484 6266   +1 800 494 3119
Holden Web LLC  http://www.holdenweb.com/

___
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] Contributor Agreement (Re: BSDDB3)

2008-03-06 Thread Jesus Cea
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Gregory P. Smith wrote:
| The current bsddb license first and foremost is the Python license.  If
| I read the comments in the _bsddb file correctly I believe you could
| also call it a MIT style license.  Keep things simple, just write
| "Python License" on your contributor form and submit it.

But Python license is not accepted for Python Contributor Agreement.
This is even in the FAQ. MIT is not accepted either. Software patents
sucks :p


- --
Jesus Cea Avion _/_/  _/_/_/_/_/_/
[EMAIL PROTECTED] http://www.argo.es/~jcea/ _/_/_/_/  _/_/_/_/  _/_/
jabber / xmpp:[EMAIL PROTECTED] _/_/_/_/  _/_/_/_/_/
~   _/_/  _/_/_/_/  _/_/  _/_/
"Things are not so easy"  _/_/  _/_/_/_/  _/_/_/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/_/_/_/  _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBR9ACuJlgi5GaxT1NAQLSNwP/f4x813gpXcG3HhIbav1PVTMnzKhe6PNx
5jDxEwpUNoXFRtRH2aj5Et5ecUghm2B1sbsSX5Mpfb/yKWsc9yvyDe50Z05Tm961
MvPj3o39eztZr5LtHW+FwFJuUfbAO2SMC98aGDZ+9IhwNt3/3emB1hMNCh+90tFF
aiPU0nQ14vU=
=DIGQ
-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] Auto-Assignment

2008-03-06 Thread Martin v. Löwis
I just implemented auto-assignment for the tracker, i.e. a component
can be linked to a developer so that issues mentioning the component
get assigned to that developer (unless an explicit assignment is
made).

I have assigned 2to3 to Collin Winter (this was already implemented
as a special case), and Documentation and Sphinx to Georg Brandl.

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


Re: [Python-Dev] Auto-Assignment

2008-03-06 Thread Georg Brandl
Martin v. Löwis schrieb:
> I just implemented auto-assignment for the tracker, i.e. a component
> can be linked to a developer so that issues mentioning the component
> get assigned to that developer (unless an explicit assignment is
> made).
> 
> I have assigned 2to3 to Collin Winter (this was already implemented
> as a special case), and Documentation and Sphinx to Georg Brandl.

Thanks Martin!

Georg

___
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] Auto-Assignment

2008-03-06 Thread Collin Winter
On Thu, Mar 6, 2008 at 12:19 PM, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote:
> I just implemented auto-assignment for the tracker, i.e. a component
>  can be linked to a developer so that issues mentioning the component
>  get assigned to that developer (unless an explicit assignment is
>  made).
>
>  I have assigned 2to3 to Collin Winter (this was already implemented
>  as a special case), and Documentation and Sphinx to Georg Brandl.

Thanks!
___
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] RELEASED Python 2.6a1 and 3.0a3

2008-03-06 Thread Jim Kleckner
Martin v. Löwis wrote:
>> Thanks for fixing these Martin!
> 
> I have now also uploaded signed MSI files for 3.0a3.
> 
> I have not tested them on a machine which doesn't have the
> VS 2008 CRT installed (as all the machines I can access
> right now do have it); please report what works and what
> doesn't.

When I install 2.6a1 onto a Windoze machine without any previous 
install, I get a dialog:
  There is a problem with this Windows Installer package.
  A program run as part of the setup did not finish as expected.
  Contact your support personnel or package vendor.

Note that it didn't have VS2008 or any other new code installed.

When running the Python console, running
  import Tkinter

results in an error saying that _tkinter can't be loaded.
  DLL load failed.  The system can't find _tkinter.pyd

_tkinter.pyd and tcl84.dll and tk84.dll are in DLLs and
appear to have reasonable permissions.

I suspect something in the install failed to set something
in the registry.  Is there any log file of the install
to inspect?

___
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] RELEASED Python 2.6a1 and 3.0a3

2008-03-06 Thread Jim Kleckner
Jim Kleckner wrote:
> Martin v. Löwis wrote:
>>> Thanks for fixing these Martin!
>> I have now also uploaded signed MSI files for 3.0a3.
>>
>> I have not tested them on a machine which doesn't have the
>> VS 2008 CRT installed (as all the machines I can access
>> right now do have it); please report what works and what
>> doesn't.
> 
> When I install 2.6a1 onto a Windoze machine without any previous 
> install, I get a dialog:
>   There is a problem with this Windows Installer package.
>   A program run as part of the setup did not finish as expected.
>   Contact your support personnel or package vendor.
> 
> Note that it didn't have VS2008 or any other new code installed.
> 
> When running the Python console, running
>   import Tkinter
> 
> results in an error saying that _tkinter can't be loaded.
>   DLL load failed.  The system can't find _tkinter.pyd
> 
> _tkinter.pyd and tcl84.dll and tk84.dll are in DLLs and
> appear to have reasonable permissions.
> 
> I suspect something in the install failed to set something
> in the registry.  Is there any log file of the install
> to inspect?

I forgot to mention that this is on a current-patch XP
system and that I also tried python-2.6.13944.msi
from the buildbot just in case after uninstalling/reinstalling.


___
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] RELEASED Python 2.6a1 and 3.0a3

2008-03-06 Thread Martin v. Löwis
> I suspect something in the install failed to set something
> in the registry.  Is there any log file of the install
> to inspect?

You need to run

msiexec /i  /l*v 

to generate a logfile for the installation.

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


Re: [Python-Dev] [Python-3000] RELEASED Python 2.6a1 and 3.0a3

2008-03-06 Thread Martin v. Löwis
> When I install 2.6a1 onto a Windoze machine without any previous 
> install, I get a dialog:
>   There is a problem with this Windows Installer package.
>   A program run as part of the setup did not finish as expected.
>   Contact your support personnel or package vendor.
> 
> Note that it didn't have VS2008 or any other new code installed.
> 
> When running the Python console, running

How did you do that if you can't install the file?

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


Re: [Python-Dev] [Python-3000] RELEASED Python 2.6a1 and 3.0a3

2008-03-06 Thread Jim Kleckner
Martin v. Löwis wrote:
>> When I install 2.6a1 onto a Windoze machine without any previous 
>> install, I get a dialog:
>>   There is a problem with this Windows Installer package.
>>   A program run as part of the setup did not finish as expected.
>>   Contact your support personnel or package vendor.
>>
>> Note that it didn't have VS2008 or any other new code installed.
>>
>> When running the Python console, running
> 
> How did you do that if you can't install the file?

It got far enough to have entries in "All Programs/Python 2.6"

___
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] RELEASED Python 2.6a1 and 3.0a3

2008-03-06 Thread Martin v. Löwis
> Ok, I have the 3MB log file.  Should I upload it
> somewhere or is there a pattern to find?

Please compress it, and make a bug report on
bugs.python.org.

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


Re: [Python-Dev] Auto-Assignment

2008-03-06 Thread Thomas Heller
Martin v. Löwis schrieb:
> I just implemented auto-assignment for the tracker, i.e. a component
> can be linked to a developer so that issues mentioning the component
> get assigned to that developer (unless an explicit assignment is
> made).
> 

You can autoassign ctypes issues to me, as you might have guessed.

Thomas

___
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] Auto-Assignment

2008-03-06 Thread Martin v. Löwis
Thomas Heller wrote:
> Martin v. Löwis schrieb:
>> I just implemented auto-assignment for the tracker, i.e. a component
>> can be linked to a developer so that issues mentioning the component
>> get assigned to that developer (unless an explicit assignment is
>> made).
>>
> 
> You can autoassign ctypes issues to me, as you might have guessed.

ctypes is currently not a "component" in the tracker. Should it be
one?

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


Re: [Python-Dev] Auto-Assignment

2008-03-06 Thread Thomas Heller
Martin v. Löwis schrieb:
> Thomas Heller wrote:
>> Martin v. Löwis schrieb:
>>> I just implemented auto-assignment for the tracker, i.e. a component
>>> can be linked to a developer so that issues mentioning the component
>>> get assigned to that developer (unless an explicit assignment is
>>> made).
>>>
>> 
>> You can autoassign ctypes issues to me, as you might have guessed.
> 
> ctypes is currently not a "component" in the tracker. Should it be
> one?
> 
Hm, I didn't see that.

What is a components, and do you think it should be one?

Thomas

___
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