Re: [Python-Dev] looking for a contact at Google on the Blogger team

2011-05-20 Thread Eli Bendersky
On Thu, May 19, 2011 at 16:07, Doug Hellmann  wrote:
> Several of the PSF blogs hosted on Google's Blogger platform are experiencing 
> issues as fallout from the recent maintenance problems they had. We have 
> already had to recreate at least one of the translations for Python Insider 
> in order to be able to publish to it, and now we can't edit posts on Python 
> Insider itself.
>
> Can anyone put me in contact with someone at Google from the Blogger team? I 
> would at least like to know whether the "bX-qpvq7q" problem is being worked 
> on, so I can decide whether to take a hiatus or start moving us to another 
> platform. There are a lot of posts about the error on the support forums, but 
> no obvious response from Google.
>

With respect to Google Blogger, I don't see a good reason to use it as
the platform for the blog. IMHO it would be much better to go for a
less-dependencies approach and just deploy a Wordpress installation,
or possibly even something Python-based (if volunteers to maintain it
are found.

Eli
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] looking for a contact at Google on the Blogger team

2011-05-20 Thread Nick Coghlan
On Fri, May 20, 2011 at 5:02 PM, Eli Bendersky  wrote:
> On Thu, May 19, 2011 at 16:07, Doug Hellmann  wrote:
>> Several of the PSF blogs hosted on Google's Blogger platform are 
>> experiencing issues as fallout from the recent maintenance problems they 
>> had. We have already had to recreate at least one of the translations for 
>> Python Insider in order to be able to publish to it, and now we can't edit 
>> posts on Python Insider itself.
>>
>> Can anyone put me in contact with someone at Google from the Blogger team? I 
>> would at least like to know whether the "bX-qpvq7q" problem is being worked 
>> on, so I can decide whether to take a hiatus or start moving us to another 
>> platform. There are a lot of posts about the error on the support forums, 
>> but no obvious response from Google.
>>
>
> With respect to Google Blogger, I don't see a good reason to use it as
> the platform for the blog.

As with any infrastructure, there is a reasonably high cost in
changing, as people have become used to a certain way of doing things,
and porting the contents from the old system to the new one requires
additional effort.

Blogger has its problems, but it typically gets the job done well
enough (modulo cases like the one currently affecting Doug and his
team).

Cheers,
Nick.

-- 
Nick Coghlan   |   ncogh...@gmail.com   |   Brisbane, Australia
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


[Python-Dev] os.access on Windows

2011-05-20 Thread Tim Golden
There's a thread on python-list at the moment:

  http://mail.python.org/pipermail/python-list/2011-May/1272505.html

which is discussing the validity of os.access results on
Windows. Now we've been here before: I raised issue2528
for a previous enquiry some years ago and proffered a patch
which uses the AccessCheck API to perform the equivalent check,
but didn't follow through.

Someone on the new thread is suggesting -- validly -- that the
docs should highlight the limitations of this call on Windows.
But the docs for that call are already fairly involved:

  http://docs.python.org/library/os.html#os.access

We seem to have a few options in increasing order of difficulty:

* Do nothing - inform the occasional enquirer of the situation and
  leave it at that.

* Update the docs to add something which describes what the function
  actually does on the Windows platform. (Whether or not we change any code).

* Apply the patch in issue2528 to 3.3 and maybe 2.7

* Leave os.access alone but offer alternative Windows-specific
  functionality in the os module or elsewhere, using essentially
  the code in the issue2528 patch.

As a side note, the pywin32 packages don't actually include AccessCheck
at the moment. (Which makes it slightly harder to explain to people
how they could do this check for themselves). It could probably be added
over there which might ease the burden over here.

Opinions?

TJG
Tim Golden
Very Senior Analyst Programmer

CBS Outdoor UK
Camden Wharf
28 Jamestown Road
London
NW1 7BY
T: 020 7482 3000
F: 020 7267 4944


http://www.cbsoutdoor.co.uk/
http://www.cbsoutdoor.co.uk/
http://www.bigbuschallenge.com/
Don't waste paper. Think before you print.
The contents of this e-mail are confidential to the ordinary user of the e-mail 
address to which it was addressed, and may also be privileged. If you are not 
the addressee of this e-mail you may not copy, forward, disclose or otherwise 
use it or any part of it in any form whatsoever. If you have received this 
e-mail in error, please e-mail the sender by replying to this message. CBS 
Outdoor Ltd reserves the right to monitor e-mail communications from 
external/internal sources for the purposes of ensuring correct and appropriate 
use of CBS Outdoor facilities. CBS Outdoor Limited, registered in England and 
Wales with company number 02866133 and registered address at Camden Wharf, 28 
Jamestown Road, London, NW1 7BY.





This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk

___
Python-Dev mailing list
Python-Dev@python.org
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 3.x and bytes

2011-05-20 Thread Nick Coghlan
On Fri, May 20, 2011 at 10:40 AM, Ethan Furman  wrote:
> This behavior matches what I was imagining for having
> b'a' == 97.  They compare equal, yet remain distinct objects
> for all other purposes.
>
> If anybody has a link to or an explanation why equal values must be equal
> hashes I'm all ears.  My apologies in advance if this is an incredibly naive
> question.

Because whether or not two objects can coexist in the same hash table
should *not* depend on their hash values - it should depend on whether
or not they compare equal to each other. The use of hashing should
just be an optimisation, not fundamentally change the nature of the
comparison operation. (i.e. "hash(a) == hash(b) and a == b" is meant
to be a fast alternative to "a == b", not a completely different
check).

Cheers,
Nick.

-- 
Nick Coghlan   |   ncogh...@gmail.com   |   Brisbane, Australia
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] looking for a contact at Google on the Blogger team

2011-05-20 Thread Eli Bendersky
>> With respect to Google Blogger, I don't see a good reason to use it as
>> the platform for the blog.
>
> As with any infrastructure, there is a reasonably high cost in
> changing, as people have become used to a certain way of doing things,
> and porting the contents from the old system to the new one requires
> additional effort.
>
> Blogger has its problems, but it typically gets the job done well
> enough (modulo cases like the one currently affecting Doug and his
> team).

Has the Python insider blog really accumulated enough history and
cruft to make this move problematic? It's a fairly new blog, with not
much content in it. From my blogging experience, Blogger has other
limitations which eventually bite you, and since it's not very
flexible you can either live with it or move to a more flexible
platform.

All of this completely IMHO, of course. Just friendly advice ;-)
Eli
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] looking for a contact at Google on the Blogger team

2011-05-20 Thread Jesse Noller
On Fri, May 20, 2011 at 5:39 AM, Eli Bendersky  wrote:
>>> With respect to Google Blogger, I don't see a good reason to use it as
>>> the platform for the blog.
>>
>> As with any infrastructure, there is a reasonably high cost in
>> changing, as people have become used to a certain way of doing things,
>> and porting the contents from the old system to the new one requires
>> additional effort.
>>
>> Blogger has its problems, but it typically gets the job done well
>> enough (modulo cases like the one currently affecting Doug and his
>> team).
>
> Has the Python insider blog really accumulated enough history and
> cruft to make this move problematic? It's a fairly new blog, with not
> much content in it. From my blogging experience, Blogger has other
> limitations which eventually bite you, and since it's not very
> flexible you can either live with it or move to a more flexible
> platform.
>
> All of this completely IMHO, of course. Just friendly advice ;-)
> Eli

There is ongoing work for an RFP by the board to improve the
python.org publishing system/site to allow us to self-host these
things. Moving PSF properties off of it, and onto another "hosted by
someone else" site is probably not a good idea, but our hands may be
forced if google/blogger can not resolve the issues.

jesse
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] os.access on Windows

2011-05-20 Thread Brian Curtin
On Fri, May 20, 2011 at 03:38, Tim Golden wrote:

> There's a thread on python-list at the moment:
>
>  http://mail.python.org/pipermail/python-list/2011-May/1272505.html
>
> which is discussing the validity of os.access results on
> Windows. Now we've been here before: I raised issue2528
> for a previous enquiry some years ago and proffered a patch
> which uses the AccessCheck API to perform the equivalent check,
> but didn't follow through.
>
> Someone on the new thread is suggesting -- validly -- that the
> docs should highlight the limitations of this call on Windows.
> But the docs for that call are already fairly involved:
>
>  http://docs.python.org/library/os.html#os.access
>
> We seem to have a few options in increasing order of difficulty:
>
> * Do nothing - inform the occasional enquirer of the situation and
>  leave it at that.
>
> * Update the docs to add something which describes what the function
>  actually does on the Windows platform. (Whether or not we change any
> code).
>

I think we should tread lightly in the documentation area. We already have
two note boxes, and adding a third probably scares everyone away. Maybe
there should be a bullet list of considerations to be made when using
os.access?

* Apply the patch in issue2528 to 3.3 and maybe 2.7
>

I'd vote in favor of this. If we can be a bit smarter in determining
os.access results, let's do it.

I haven't reviewed the patch other than 1 minute scan, but I'll put this on
my radar and try to get you a review.
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] os.access on Windows

2011-05-20 Thread Tim Golden

On 20/05/2011 16:21, Brian Curtin wrote:


On Fri, May 20, 2011 at 03:38, Tim Golden 
(Sorry about that; I had no idea I'd sent that from my work account)


I think we should tread lightly in the documentation area. We already
have two note boxes, and adding a third probably scares everyone away.


I entirely agree. (That's what I meant by "involved" above)


Maybe there should be a bullet list of considerations to be made when
using os.access?

* Apply the patch in issue2528 to 3.3 and maybe 2.7


I'd vote in favor of this. If we can be a bit smarter in determining
os.access results, let's do it.

I haven't reviewed the patch other than 1 minute scan, but I'll put this
on my radar and try to get you a review.


Thanks. To be honest I wrote the patch 3 years ago; I haven't even
tried to apply it to either of the current posixmodule.c. Let's
see if I can dust it off and mould it into shape, or you'll be
left fighting patch errors instead of reviewing code :)

TJG
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] packaging landed in stdlib

2011-05-20 Thread Tarek Ziadé
On Thu, May 19, 2011 at 8:30 PM, Georg Brandl  wrote:
> On 19.05.2011 13:35, Tarek Ziadé wrote:
>> Hey
>>
>> I've pushed packaging in stdlib. There are a few buildbots errors
>> we're fixing right now.
>>
>> We will continue our work in their directly for now on.
>
> Rock on!

Thanks :)

Still working on some issues under windows and solaris bbots today,
but we're getting there.

Sorry for the inconvenience

Tarek



>
> Georg
>
>
> ___
> Python-Dev mailing list
> Python-Dev@python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: 
> http://mail.python.org/mailman/options/python-dev/ziade.tarek%40gmail.com
>



-- 
Tarek Ziadé | http://ziade.org
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] looking for a contact at Google on the Blogger team

2011-05-20 Thread Eli Bendersky
> There is ongoing work for an RFP by the board to improve the
> python.org publishing system/site to allow us to self-host these
> things. Moving PSF properties off of it, and onto another "hosted by
> someone else" site is probably not a good idea, but our hands may be
> forced if google/blogger can not resolve the issues.
>
> jesse

The whole idea of a Wordpress-(or similar)-based solution is self
hosting, and less reliance on outside providers like blogger.
Wordpress is just a bunch of PHP code you place in a directory on your
server and you have a blog. You don't depend on anyone, except your
own hosting.

Eli
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] looking for a contact at Google on the Blogger team

2011-05-20 Thread Nick Coghlan
On Fri, May 20, 2011 at 7:39 PM, Eli Bendersky  wrote:
> Has the Python insider blog really accumulated enough history and
> cruft to make this move problematic? It's a fairly new blog, with not
> much content in it. From my blogging experience, Blogger has other
> limitations which eventually bite you, and since it's not very
> flexible you can either live with it or move to a more flexible
> platform.

It's not just the Python Insider blog that is affected (and *any*
effort directed towards platform changes is effort that isn't going
towards writing new articles. Of course, if Blogger don't fix the
currrent problems, then that will be a moot point - moving will be
necessary to get *anything* done).

In general, though, infrastructure changes start from a position of
"not worth the hassle", just like code changes. It takes a pretty
compelling set of features to justify switching, and, while Blogger
isn't the best engine out there, it isn't terrible either (especially
once you replace their lousy comment system with something that is at
least half usable like DISQUS).

Cheers,
Nick.

-- 
Nick Coghlan   |   ncogh...@gmail.com   |   Brisbane, Australia
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] looking for a contact at Google on the Blogger team

2011-05-20 Thread Nick Coghlan
On Sat, May 21, 2011 at 1:35 AM, Eli Bendersky  wrote:
>> There is ongoing work for an RFP by the board to improve the
>> python.org publishing system/site to allow us to self-host these
>> things. Moving PSF properties off of it, and onto another "hosted by
>> someone else" site is probably not a good idea, but our hands may be
>> forced if google/blogger can not resolve the issues.
>>
>> jesse
>
> The whole idea of a Wordpress-(or similar)-based solution is self
> hosting, and less reliance on outside providers like blogger.
> Wordpress is just a bunch of PHP code you place in a directory on your
> server and you have a blog. You don't depend on anyone, except your
> own hosting.

As Jesse has said, there is an RFP in development to improve
python.org to the point where we can self-host blogs and the like and
deal with the associated user account administration appropriately.
But when it comes to collaborative blogs, it *isn't* just a matter of
dropping a blogging engine in and running with it.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncogh...@gmail.com   |   Brisbane, Australia
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] looking for a contact at Google on the Blogger team

2011-05-20 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05/20/2011 11:35 AM, Eli Bendersky wrote:
>> There is ongoing work for an RFP by the board to improve the
>> python.org publishing system/site to allow us to self-host these
>> things. Moving PSF properties off of it, and onto another "hosted by
>> someone else" site is probably not a good idea, but our hands may be
>> forced if google/blogger can not resolve the issues.
>>
>> jesse
> 
> The whole idea of a Wordpress-(or similar)-based solution is self
> hosting, and less reliance on outside providers like blogger.
> Wordpress is just a bunch of PHP code you place in a directory on your
> server and you have a blog. You don't depend on anyone, except your
> own hosting.

And your own sysadmins now have to chase fixes for remotely-exploitable
WP bugs:

 http://www.wordpressexploit.com/



Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   "Excellence by Design"http://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3WkBQACgkQ+gerLs4ltQ72iwCeIhkCLXm26ujJJ3kqh9vKB4fr
dMYAn05qsoyiNxio02UAYJ7luLjVaSML
=OFdv
-END PGP SIGNATURE-

___
Python-Dev mailing list
Python-Dev@python.org
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

2011-05-20 Thread Python tracker

ACTIVITY SUMMARY (2011-05-13 - 2011-05-20)
Python tracker at http://bugs.python.org/

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

Issues counts and deltas:
  open2794 (+10)
  closed 21115 (+46)
  total  23909 (+56)

Open issues with patches: 1201 


Issues opened (37)
==

#8796: Deprecate codecs.open()
http://bugs.python.org/issue8796  reopened by haypo

#11377: Deprecate platform.popen()
http://bugs.python.org/issue11377  reopened by eric.araujo

#12068: test_logging failure in test_rollover
http://bugs.python.org/issue12068  reopened by pitrou

#12073: regrtest: use faulthandler to dump the tracebacks on SIGUSR1
http://bugs.python.org/issue12073  opened by haypo

#12074: regrtest: display the current number of failures
http://bugs.python.org/issue12074  opened by haypo

#12075: python3.2 memory leak when setting integer key in dictionary
http://bugs.python.org/issue12075  opened by kaizhu

#12077: Harmonizing descriptor protocol documentation
http://bugs.python.org/issue12077  opened by davide.rizzo

#12079: decimal.py: TypeError precedence in fma()
http://bugs.python.org/issue12079  opened by skrah

#12080: decimal.py: performance in _power_exact
http://bugs.python.org/issue12080  opened by skrah

#12081: Remove distributed copy of libffi
http://bugs.python.org/issue12081  opened by benjamin.peterson

#12082: Python/import.c still references fstat even with DONT_HAVE_FST
http://bugs.python.org/issue12082  opened by joshtriplett

#12084: os.stat() on windows doesn't consider relative symlink
http://bugs.python.org/issue12084  opened by ocean-city

#12085: subprocess.Popen.__del__ raises AttributeError if __init__ was
http://bugs.python.org/issue12085  opened by chortos

#12086: Tutorial doesn't discourage name mangling
http://bugs.python.org/issue12086  opened by sheep

#12087: install_egg_info fails with UnicodeEncodeError depending on lo
http://bugs.python.org/issue12087  opened by hagen

#12089: regrtest.py doesn't check for unexpected output anymore?
http://bugs.python.org/issue12089  opened by haypo

#12090: 3.2: build --without-threads fails
http://bugs.python.org/issue12090  opened by skrah

#12091: multiprocessing: simplify ApplyResult and MapResult with threa
http://bugs.python.org/issue12091  opened by charles-francois.natali

#12097: python.exe crashes if it is unable to find its .dll
http://bugs.python.org/issue12097  opened by techtonik

#12098: Child process running as debug on Windows
http://bugs.python.org/issue12098  opened by thebits

#12100: Incremental encoders of CJK codecs reset the codec at each cal
http://bugs.python.org/issue12100  opened by haypo

#12101: PEPs should have consecutive revision numbers
http://bugs.python.org/issue12101  opened by techtonik

#12102: mmap requires file to be synced
http://bugs.python.org/issue12102  opened by rion...@gmail.com

#12103: Documentation of open() does not claim 'e' support in mode str
http://bugs.python.org/issue12103  opened by mmarkk

#12105: open() does not able to set flags, such as O_CLOEXEC
http://bugs.python.org/issue12105  opened by mmarkk

#12106: reflect syntatic sugar in with ast
http://bugs.python.org/issue12106  opened by benjamin.peterson

#12107: TCP listening sockets created without FD_CLOEXEC flag
http://bugs.python.org/issue12107  opened by Christophe.Devriese

#12112: The new packaging module should not use the locale encoding
http://bugs.python.org/issue12112  opened by haypo

#12113: test_packaging fails when run twice
http://bugs.python.org/issue12113  opened by pitrou

#12114: packaging.util._find_exe_version(): potential deadlock
http://bugs.python.org/issue12114  opened by haypo

#12115: some tests need to be skipped on threadless systems
http://bugs.python.org/issue12115  opened by tarek

#12117: Failures with PYTHONDONTWRITEBYTECODE: test_importlib, test_im
http://bugs.python.org/issue12117  opened by pitrou

#12121: test_packaging failure when ssl is not available
http://bugs.python.org/issue12121  opened by pitrou

#12124: python -m test test_packaging test_zipimport failure
http://bugs.python.org/issue12124  opened by haypo

#12125: test_sysconfig fails on OpenIndiana because of test_packaging
http://bugs.python.org/issue12125  opened by haypo

#12126: incorrect select documentation
http://bugs.python.org/issue12126  opened by exarkun

#12127: Inconsistent leading zero treatment
http://bugs.python.org/issue12127  opened by Peter.Wentworth



Most recent 15 issues with no replies (15)
==

#12126: incorrect select documentation
http://bugs.python.org/issue12126

#12125: test_sysconfig fails on OpenIndiana because of test_packaging
http://bugs.python.org/issue12125

#12121: test_packaging failure when ssl is not available
http://bugs.python.org/issue12121

#12114: packaging.util._find_exe_version(): potential deadlock
http://bugs.python.org/issue12114

#12106: reflect syntatic sugar in wi

Re: [Python-Dev] os.access on Windows

2011-05-20 Thread Guido van Rossum
On May 20, 2011 8:30 AM, "Tim Golden"  wrote:
> On 20/05/2011 16:21, Brian Curtin wrote:
>
>> On Fri, May 20, 2011 at 03:38, Tim Golden  (Sorry about that; I had no idea I'd sent that from my work account)
>
>> I think we should tread lightly in the documentation area. We already
>> have two note boxes, and adding a third probably scares everyone away.
>
> I entirely agree. (That's what I meant by "involved" above)

TBH I think the less attractive we can make os.access() look the
better. It uses the real uid instead of the effective uid, it
encourages LBYL behavior, the outcome may be incorrect, it doesn't
work on Windows... The ONLY reason to ever use it is in a setuid()
program. But who writes those any more? (Esp. in Python!)

-- 
--Guido van Rossum (python.org/~guido)
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


[Python-Dev] Hello!

2011-05-20 Thread Charles-François Natali
Hi,

My name is Charles-François Natali, I've been using Python for a
couple years, and I've recently been granted commit priviledge.
I just wanted to say hi to everyone on this list, and let you know
that I'm really happy and proud of joining this great community.

Cheers,

cf
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


[Python-Dev] in latest Py3k site.py: configparser.NoSectionError: No section: 'posix_prefix'

2011-05-20 Thread Stefan Behnel

Hi,

since May 19, I get the exception below in the latest py3k site.py when 
trying to run a distutils build with it (building Cython). The changelog 
since the previous (working) CPython build is here:


https://sage.math.washington.edu:8091/hudson/job/py3k-hg/374/

The failing build is here:

https://sage.math.washington.edu:8091/hudson/job/cython-devel-build-py3k/1313/console

This is on 64bit Linux. I tried with a clean checkout, no difference. Is 
this problem obvious to someone, is there anything that needs adaptation on 
our side (I hope not), or should I file a bug report?


Thanks,

Stefan


"""
$ python setup.py bdist --formats=gztar --cython-profile
Traceback (most recent call last):
  File "/.../python/lib/python3.3/configparser.py", line 842, in items
d.update(self._sections[section])
KeyError: 'posix_prefix'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/.../python/lib/python3.3/site.py", line 537, in 
main()
  File "/.../python/lib/python3.3/site.py", line 522, in main
known_paths = addusersitepackages(known_paths)
  File "/.../python/lib/python3.3/site.py", line 263, in addusersitepackages
user_site = getusersitepackages()
  File "/.../python/lib/python3.3/site.py", line 238, in getusersitepackages
user_base = getuserbase() # this will also set USER_BASE
  File "/.../python/lib/python3.3/site.py", line 228, in getuserbase
USER_BASE = get_config_var('userbase')
  File "/.../python/lib/python3.3/sysconfig.py", line 576, in get_config_var
return get_config_vars().get(name)
  File "/.../python/lib/python3.3/sysconfig.py", line 472, in get_config_vars
_init_posix(_CONFIG_VARS)
  File "/.../python/lib/python3.3/sysconfig.py", line 324, in _init_posix
makefile = get_makefile_filename()
  File "/.../python/lib/python3.3/sysconfig.py", line 318, in 
get_makefile_filename

return os.path.join(get_path('stdlib'), config_dir_name, 'Makefile')
  File "/.../python/lib/python3.3/sysconfig.py", line 436, in get_path
return get_paths(scheme, vars, expand)[name]
  File "/.../python/lib/python3.3/sysconfig.py", line 426, in get_paths
return _expand_vars(scheme, vars)
  File "/.../python/lib/python3.3/sysconfig.py", line 142, in _expand_vars
for key, value in _SCHEMES.items(scheme):
  File "/.../python/lib/python3.3/configparser.py", line 845, in items
raise NoSectionError(section)
configparser.NoSectionError: No section: 'posix_prefix'
"""

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


Re: [Python-Dev] looking for a contact at Google on the Blogger team

2011-05-20 Thread Georg Brandl
On 20.05.2011 17:35, Eli Bendersky wrote:
>> There is ongoing work for an RFP by the board to improve the
>> python.org publishing system/site to allow us to self-host these
>> things. Moving PSF properties off of it, and onto another "hosted by
>> someone else" site is probably not a good idea, but our hands may be
>> forced if google/blogger can not resolve the issues.
>>
>> jesse
> 
> The whole idea of a Wordpress-(or similar)-based solution is self
> hosting, and less reliance on outside providers like blogger.
> Wordpress is just a bunch of PHP code you place in a directory on your
> server

That's exactly the problem.

Georg

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


Re: [Python-Dev] looking for a contact at Google on the Blogger team

2011-05-20 Thread Martin v. Löwis
> As Jesse has said, there is an RFP in development to improve
> python.org to the point where we can self-host blogs and the like and
> deal with the associated user account administration appropriately.

To run a blog on www.python.org, a PEP is not needed. If anybody would
volunteer to set this up, it could be done in no time.

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


Re: [Python-Dev] os.access on Windows

2011-05-20 Thread Martin v. Löwis
> TBH I think the less attractive we can make os.access() look the
> better. It uses the real uid instead of the effective uid, it
> encourages LBYL behavior, the outcome may be incorrect, it doesn't
> work on Windows... The ONLY reason to ever use it is in a setuid()
> program. But who writes those any more? (Esp. in Python!)

+1. The best way to determine "could I access this file" is to try
to access it, and be prepared to get an exception. So we might
deprecate-then-delete it on Windows.

People who *really* need to know in advance should use the Windows
API for that on Windows (i.e. call AccessCheck).

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


Re: [Python-Dev] looking for a contact at Google on the Blogger team

2011-05-20 Thread Doug Hellmann

On May 20, 2011, at 5:47 PM, Martin v. Löwis wrote:

>> As Jesse has said, there is an RFP in development to improve
>> python.org to the point where we can self-host blogs and the like and
>> deal with the associated user account administration appropriately.
> 
> To run a blog on www.python.org, a PEP is not needed. If anybody would
> volunteer to set this up, it could be done in no time.

The blog is working again, so we can continue using the tool chain we have.

Thanks,
Doug

--
Doug Hellmann
Communications Director
Python Software Foundation
http://python.org/psf/

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


[Python-Dev] Python 2.6.7 release candidate 2 now available

2011-05-20 Thread Barry Warsaw
Hello to all you Pythoneers and Pythonistas,

I'm happy to announce the availability of Python 2.6.7 release candidate 2.
Release candidate 1 was not widely announced due to a mismatch between the
Mercurial and Subversion branches.  Barring any unforeseen issues, this will
be the last release candidate before 2.6.7 final, which is currently scheduled
for June 3, 2011.

As previously announced, Python 2.6 is in security-fix only mode.  This means
that general bug fix maintenance has ended, and only critical security fixes
are supported.  We will support Python 2.6 in security-fix only mode until
October 2013.  Also, this is a source-only release; no installers for Windows
or Mac OS X will be provided.

Please download and test this release candidate.

http://www.python.org/download/releases/2.6.7/

The NEWS file contains a list of changes since 2.6.6.

http://www.python.org/download/releases/2.6.7/NEWS.txt

Many thanks go out to the entire Python community for their contributions
great and small.

Enjoy,
-Barry
(on behalf of the Python development community)



signature.asc
Description: PGP signature
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] in latest Py3k site.py: configparser.NoSectionError: No section: 'posix_prefix'

2011-05-20 Thread Ned Deily
In article ,
 Stefan Behnel  wrote:
> since May 19, I get the exception below in the latest py3k site.py when 
> trying to run a distutils build with it (building Cython). The changelog 
> since the previous (working) CPython build is here:
> 
> https://sage.math.washington.edu:8091/hudson/job/py3k-hg/374/
> 
> The failing build is here:
> 
> https://sage.math.washington.edu:8091/hudson/job/cython-devel-build-py3k/1313/
> console
> 
> This is on 64bit Linux. I tried with a clean checkout, no difference. Is 
> this problem obvious to someone, is there anything that needs adaptation on 
> our side (I hope not), or should I file a bug report?

It's a bug introduced by the packaging (Distutils2) feature.  Thanks for 
finding it first.

http://bugs.python.org/issue12131

-- 
 Ned Deily,
 n...@acm.org

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


Re: [Python-Dev] Hello!

2011-05-20 Thread Ross Lagerwall
On Fri, 2011-05-20 at 19:01 +0200, Charles-François Natali wrote:
> Hi,
> 
> My name is Charles-François Natali, I've been using Python for a
> couple years, and I've recently been granted commit priviledge.
> I just wanted to say hi to everyone on this list, and let you know
> that I'm really happy and proud of joining this great community.

Congratulations, welcome.

Ross

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