Re: [Python-Dev] os.path.normcase rationale?

2010-10-03 Thread Dan Villiom Podlaski Christiansen
On 3 Oct 2010, at 02:35, Nir Soffer wrote: On Sat, Sep 25, 2010 at 1:36 AM, James Y Knight f...@fuhm.net wrote: An OSX code sketch is available here (summary: call FSPathMakeRef to get an FSRef from a path string, then FSRefMakePath to make it back into a path, which will then have the

Re: [Python-Dev] os.path.normcase rationale?

2010-10-03 Thread James Y Knight
On Oct 3, 2010, at 9:18 AM, Dan Villiom Podlaski Christiansen wrote: A simpler alternative would probably be the F_GETPATH fcntl. An example: That requires that you have permission to open the file (and to actually do so which might have other effects), while the File Manager's FSRef method

[Python-Dev] framework build for 2.7 using old sqlite?

2010-10-03 Thread Doug Hellmann
I'm trying to write a little program that uses the full text search extension module for sqlite with Python 2.7 on Snow Leopard. I installed Python by downloading the DMG file from python.org. According to the Python docs

Re: [Python-Dev] framework build for 2.7 using old sqlite?

2010-10-03 Thread Doug Hellmann
On Oct 3, 2010, at 11:29 AM, Doug Hellmann wrote: I'm trying to write a little program that uses the full text search extension module for sqlite with Python 2.7 on Snow Leopard. I installed Python by downloading the DMG file from python.org. According to the Python docs

Re: [Python-Dev] [Python-checkins] r85152 - tracker/instances/python-dev/config.ini.template

2010-10-03 Thread Martin v. Löwis
Modified: tracker/instances/python-dev/config.ini.template +[django] +# generate on a per-instance basis +secret_key = 'e...@4s$*(idwm5-87teftxlksckmy8$tyo7(tm!n-5x)zeuheex' I assume the secrecy of this is rather irrelevant? It's only the template. In the instance, you have to replace it with

Re: [Python-Dev] Rietveld integration into Roundup

2010-10-03 Thread Daniel Stutzbach
On Sat, Oct 2, 2010 at 3:55 PM, Martin v. Löwis mar...@v.loewis.dewrote: I'll have to come up with a better way to determine the branch which a patch was created on. That would also be helpful for those of us using DVCS software to talk to the svn server. :-) -- Daniel Stutzbach, Ph.D.

Re: [Python-Dev] Rietveld integration into Roundup

2010-10-03 Thread Senthil Kumaran
Thanks Martin, this is really good. On Sun, Oct 3, 2010 at 1:33 AM, Martin v. Löwis mar...@v.loewis.de wrote:  Patches are skipped if:  * they have been added to Rietveld already  * they have no clear base version (i.e. they don't originate    from svn diff)  * they belong to no or a closed

[Python-Dev] Inclusive Range

2010-10-03 Thread Eviatar Bach
Hello, I have a proposal of making the range() function inclusive; that is, range(3) would generate 0, 1, 2, and 3, as opposed to 0, 1, and 2. Not only is it more intuitive, it also seems to be used often, with coders often writing range(0, example+1) to get the intended result. It would be easy

Re: [Python-Dev] Inclusive Range

2010-10-03 Thread Benjamin Peterson
2010/10/3 Eviatar Bach eviatarb...@gmail.com: Hello, I have a proposal See the python-ideas mailing list. of making the range() function inclusive; that is, range(3) would generate 0, 1, 2, and 3, as opposed to 0, 1, and 2. Not only is it more intuitive, it also seems to be used often,

Re: [Python-Dev] Inclusive Range

2010-10-03 Thread Cameron Simpson
On 03Oct2010 20:04, Eviatar Bach eviatarb...@gmail.com wrote: | I have a proposal of making the range() function inclusive; that is, | range(3) would generate 0, 1, 2, and 3, as opposed to 0, 1, and 2. Not only | is it more intuitive, it also seems to be used often, with coders often | writing