Re: [Python-Dev] PEP 481 - Migrate Some Supporting Repositories to Git and Github

2014-11-30 Thread Markus Unterwaditzer
On 1 December 2014 01:17:02 CET, Ben Finney wrote: >Donald Stufft writes: > >> I have never heard of git losing history. > >In my experience talking with Git users about this problem, that >depends >on a very narrow definition of “losing history”. > >Git encourages re-writing, and thereby losin

Re: [Python-Dev] Fwd: PEP 467: Minor API improvements for bytes & bytearray

2014-08-17 Thread Markus Unterwaditzer
On Sun, Aug 17, 2014 at 05:41:10PM -0400, Barry Warsaw wrote: > I think the biggest API "problem" is that default iteration returns integers > instead of bytes. That's a real pain. I agree, this behavior required some helper functions while porting Werkzeug to Python 3 AFAIK. > > I'm not sure .

Re: [Python-Dev] Criticism of execfile() removal in Python3

2014-06-14 Thread Markus Unterwaditzer
On Tue, Jun 10, 2014 at 05:23:12AM +0300, Paul Sokolovsky wrote: > Hello, > > I was pleasantly surprised with the response to recent post about > MicroPython implementation details > (https://mail.python.org/pipermail/python-dev/2014-June/134718.html). I > hope that discussion means that posts ab

Re: [Python-Dev] PEP 469: Restoring the iterkeys/values/items() methods

2014-04-20 Thread Markus Unterwaditzer
On Sat, Apr 19, 2014 at 02:25:53PM +1000, Steven D'Aprano wrote: > In my experience, writing polyglot 2+3 code can be easily handled with a > few helper functions, which is not the case with unicode string > literals. (Non-polygot code of course can just use the methods > directly.) I don't see

Re: [Python-Dev] Common subset of python 2 and python 3

2014-01-16 Thread Markus Unterwaditzer
On Wed, Jan 15, 2014 at 01:22:44PM +0100, "Martin v. Löwis" wrote: > Am 12.01.14 18:39, schrieb Nachshon David Armon: > >>> I propose that this new version of python use the python 3 unicode model. > >>> As the version of python will be fully compatible with both python 2 and > >>> with python 3 bu

Re: [Python-Dev] PEP 423 : naming conventions and recipes related to packaging

2013-07-05 Thread Markus Unterwaditzer
In your first plone example you first use plone.app.content, but then present the directory structure of plone.app.command. Apart from that, the PEP seems legit to me, contentwise. I think some parts are clumsily formulated, but IMO rewriting these parts wouldn't even decrease the text's length

Re: [Python-Dev] python symbolizition

2013-06-14 Thread Markus Unterwaditzer
But why? -- Markus (from phone) Pynix Wang wrote: >1.lambda expression > >c# >a.(x, y) => x == y >b.() => SomeMethod() > >ruby: > -> {|msg| puts msg} > >python can use c# like and remove "lambda" keyword. > >2.global variable > >ruby >$glo_var > >python can use $ or @ or another and remove "glob

Re: [Python-Dev] PEP 443 Accepted

2013-06-05 Thread Markus Unterwaditzer
As somebody who missed the discussion about it and right now took a quick look at the PEP, i ask myself how subclasses are handled, as i don't see anything about it in the PEP, just support for ABCs. E.g if issubclass(Apple, Fruit) And i call a function which has registered an implementati