Re: [Python-Dev] Evaluated cmake as an autoconf replacement

2009-04-12 Thread Giovanni Bajo
On Fri, 10 Apr 2009 11:49:04 +1000, Neil Hodgson wrote: >This means that generated Visual Studio project files will not work > for other people unless a particular absolute build location is > specified for everyone which will not suit most. Each person that wants > to build Python will have t

Re: [Python-Dev] Evaluated cmake as an autoconf replacement

2009-04-12 Thread Giovanni Bajo
On Mon, 30 Mar 2009 20:34:21 +0200, Christian Heimes wrote: > Hallo Alexander! > > Alexander Neundorf wrote: >> This of course depends on the definition of "as good as" ;-) Well, I >> have met Windows-only developers which use CMake because it is able to >> generate project files for different ve

Re: [Python-Dev] Needing help to change the grammar

2009-04-12 Thread Glenn Linderman
On approximately 4/12/2009 2:41 PM, came the following characters from the keyboard of Tony Nelson: At 16:30 -0400 04/12/2009, Terry Reedy wrote: ... Source in .pyb (python-brazil) is parsed with with your new parser, ... In case anyone ever does this again, I suggest that the extension be

Re: [Python-Dev] [Python-ideas] Proposed addtion to url lib.parse in 3.1 (and urlparse in 2.7)

2009-04-12 Thread Antoine Pitrou
Mart Sõmermaa gmail.com> writes: > > Proposal: add add_query_params() for appending query parameters to an URL to urllib.parse and urlparse. Is there anything to /remove/ a query parameter? ___ Python-Dev mailing list Python-Dev@python.org http://mai

Re: [Python-Dev] Needing help to change the grammar

2009-04-12 Thread Tony Nelson
At 16:30 -0400 04/12/2009, Terry Reedy wrote: ... > Source in .pyb (python-brazil) is parsed with with your new parser, ... In case anyone ever does this again, I suggest that the extension be the language and optionally country code: .py_pt or .py_pt_BR -- _

Re: [Python-Dev] Proposed addtion to urllib.parse in 3.1 (and urlparse in 2.7)

2009-04-12 Thread Cameron Simpson
On 12Apr2009 16:15, Mart S?mermaa wrote: | On Sun, Apr 12, 2009 at 3:23 PM, Jacob Holm wrote: | > Hi Mart | >>>> add_query_params('http://example.com/a/b/c?a=b', b='d', foo='/bar') | >>'http://example.com/a/b/c?a=b&b=d&foo=%2Fbar < | >> http://example.com/a/b/c?a=b&b=d&foo=%2Fbar>' | >> |

Re: [Python-Dev] [Python-ideas] Proposed addtion to urllib.parse in 3.1 (and urlparse in 2.7)

2009-04-12 Thread Lino Mastrodomenico
2009/4/12 Mart Sõmermaa : > The bad thing about reasoning about query strings is that there is no > comprehensive documentation about their meaning. Both RFC 1738 and RFC 3986 > are rather vague in that matter. FYI the HTML5 spec (http://whatwg.org/html5 ) may have a better contact with reality th

Re: [Python-Dev] Needing help to change the grammar

2009-04-12 Thread Terry Reedy
Harry (Thiago Leucz Astrizi) wrote: Yes, I have plans to ask for help in the brazilian Python mailing list when I finish to prepare the C source code for this project. Then I expect to receive help to translate the python modules for this new language. There's a lot of work to do. There are on

Re: [Python-Dev] Needing help to change the grammar

2009-04-12 Thread Harry (Thiago Leucz Astrizi)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Written by "Martin v. Löwis" : > Notice that Python source is represented in UTF-8 in the parser. It > might be that the C source code has a different encoding, which > would cause the strcmp to fail. No, all the files in the surce code were already

Re: [Python-Dev] [Python-ideas] Proposed addtion to urllib.parse in 3.1 (and urlparse in 2.7)

2009-04-12 Thread Mart Sõmermaa
On Sun, Apr 12, 2009 at 3:23 PM, Jacob Holm wrote: > Hi Mart > >>>> add_query_params('http://example.com/a/b/c?a=b', b='d', foo='/bar') >>'http://example.com/a/b/c?a=b&b=d&foo=%2Fbar < >> http://example.com/a/b/c?a=b&b=d&foo=%2Fbar>' >> >> Duplicates are discarded: >> > > Why discard dupl

Re: [Python-Dev] Possible py3k io wierdness

2009-04-12 Thread Brian Quinlan
I've added a new proposed patch to: http://bugs.python.org/issue5700 The idea is: - only IOBase implements close() (though a subclass can override close without causing problems so long as it calls super().close() or calls .flush() and ._close() directly) - change IOBase.close to call .flush(

Re: [Python-Dev] [Python-ideas] Proposed addtion to urllib.parse in 3.1 (and urlparse in 2.7)

2009-04-12 Thread Mart Sõmermaa
The general consensus in python-ideas is that the following is needed, so I bring it to python-dev to final discussions before I file a feature request in bugs.python.org. Proposal: add add_query_params() for appending query parameters to an URL to urllib.parse and urlparse. Implementation: http: