Re: [Python-Dev] bytearray and array.array are not thread-safe

2008-07-07 Thread Antoine

> Unfortunately, it's also a significant change at this point. I
> personally won't have time to provide a patch, but I think a patch
> is needed before the last beta. IOW, the issue should become a
> release blocker.

Agreed. Unfortunately I don't have much time to write a patch either.
Perhaps in one or two weeks, but it would be better if someone beats me to
it.

Regards

Antoine.


___
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] buildbots

2008-07-07 Thread Antoine Pitrou

Hello,

As someone who could (perhaps) (potentially) provide a buildbot machine, there
are several questions which need answering before I take a decision:

- are more buildbots needed and if so, which kinds of platforms/architectures?
- for which software? Python itself? third-party apps and libraries?
- how resource-consuming is it? CPU? memory? disk space? can it run along other
services fine or does it need the whole machine for itself?
- how time-consuming is it (in terms of human work)? I may spend a bit of time
at the start to set it up but I'd like it to it run quite flawlessly afterward.
I'm really not a sysadmin at heart...

I suppose other interested people could ask themselves the same questions...

Just my 2 cents.

Antoine.


___
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] buildbots

2008-07-07 Thread Grig Gheorghiu
On Mon, Jul 7, 2008 at 5:39 AM, Antoine Pitrou <[EMAIL PROTECTED]> wrote:
>
>
> - are more buildbots needed and if so, which kinds of platforms/architectures?

I can't really answer that question for the python code buildbot farm,
but for the Pybots community project, the platforms we currently have
are in a table on this page:

http://pybots.org/

If you are able to offer something that's not on the list, that'd be
good. But any help at all is appreciated.

I believe Windows has traditionally been under-represented in all
buildbot farms, and it's likely to stay that way...

> - for which software? Python itself? third-party apps and libraries?

For Pybots, we're testing third-party apps and libraries against
changes made to Python core. If you're interested in a 3rd party
project, and you're willing to stay on top of that project's buildbot
status, and notify both the project leaders and the Python core devs
whenever you notice an ugly breakage -- then you're exactly the kind
of guy we need on the Pybots project :-)


> - how resource-consuming is it? CPU? memory? disk space? can it run along 
> other
> services fine or does it need the whole machine for itself?

In my experience, buildbot runs fine on newer hardware. It does
consume CPU, so if you have a slow machine, it might start impacting
your other processes.


> - how time-consuming is it (in terms of human work)? I may spend a bit of time
> at the start to set it up but I'd like it to it run quite flawlessly 
> afterward.
> I'm really not a sysadmin at heart...

The initial learning curve can be a bit steep, but I'm here to help.
Once you add your buildslave to the buildbot farm, things should run
fairly smoothly. You will get notified via email / RSS about
breakages, and then you'll have to invest the time to see what kind of
breakage it is, and to notify the interested parties.

>
> I suppose other interested people could ask themselves the same questions...
>
> Just my 2 cents.
>
> Antoine.

Thanks for the questions, they really help IMO. I also hope the answers helped.

Grig
___
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] Community buildbots and Python release quality metrics

2008-07-07 Thread Grig Gheorghiu
On Sun, Jul 6, 2008 at 2:09 PM, Grig Gheorghiu <[EMAIL PROTECTED]> wrote:

> I'll send a message to the pybots mailing list asking people whose
> buildbots are turned off if they're still interested in running them.
> Negative or no answers will mean we can remove them from the farm.
>

OK, I posted a message to the pybots mailing list and I removed 2
slaves. Out of the 6 remaining, 4 are currently active, and one will
hopefully soon be active starting next week. This leaves just one
unanswered for so far. I also got an email from another person
volunteering a buildslave, so we'll soon have 7 machines.

As I said, if anybody else wants to participate in the Pybots project,
please let me know! I'll also post a blog entry on this soon.

Grig
___
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] __module__ not found on ported Python

2008-07-07 Thread Pree Raj
Hi,
I am trying to port Python to ThreadX.
I have managed to get the prompt.
However when I try "import sys" or any built in module I get an error

__import__ not found.

initmain() in the Initialization code is commented out at present because of
some errors.
Could it be because of this ?

Also, I would like to know which are the MUST HAVE built in modules to be
included for normal working of my ported version of Python.

Thanks,
Priya
___
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] __module__ not found on ported Python

2008-07-07 Thread Brett Cannon
On Mon, Jul 7, 2008 at 1:48 PM, Pree Raj <[EMAIL PROTECTED]> wrote:
[SNIP]
> Also, I would like to know which are the MUST HAVE built in modules to be
> included for normal working of my ported version of Python.

You can look at sys.builtin_module_names to see what CPython compiles
in. Otherwise you just have to go based on what error messages say. =)

-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] __module__ not found on ported Python

2008-07-07 Thread Pree Raj
Thanks Brett.
I have been able to do initmain() now.
However, if I do  "import sys" from the python prompt I still get

ImportError: __import__ not found
I am not sure where the initialization is going wrong for this error to show
up.
Can someone please help.







On Mon, Jul 7, 2008 at 2:15 PM, Brett Cannon <[EMAIL PROTECTED]> wrote:

> On Mon, Jul 7, 2008 at 1:48 PM, Pree Raj <[EMAIL PROTECTED]> wrote:
> [SNIP]
> > Also, I would like to know which are the MUST HAVE built in modules to be
> > included for normal working of my ported version of Python.
>
> You can look at sys.builtin_module_names to see what CPython compiles
> in. Otherwise you just have to go based on what error messages say. =)
>
> -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] __module__ not found on ported Python

2008-07-07 Thread Martin v. Löwis
> ImportError: __import__ not found
> I am not sure where the initialization is going wrong for this error to
> show up.
> Can someone please help.

This isn't really the right list to ask for help, at least without
studying some source code prior to posting. The specific error message
is produced in ceval.c, IMPORT_NAME. Use debugging technologies
to trace through the code to find out what went wrong.

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