Is this a bug or a feature?
Consider the following program:
# TestProgram.py
def Test():
# global x
x = 1
exec(compile('print([x+1,x+2])', 'MyTest', 'exec'))
exec(compile('print([x+i for i in range(1,3)])', 'MyTest', 'exec'))
Test()
In Python 2.7.15 the output is
[2, 3]
[2, 3]
> -Original Message-
> From: Python-Dev list=sdamon@python.org> On Behalf Of Ivan Pozdeev via Python-Dev
> Sent: Tuesday, June 5, 2018 10:01 PM
> To: python-dev@python.org
> Subject: Re: [Python-Dev] Microsoft to acquire GitHub for $7.5 b
>
> On 05.06.2018 17:28, Martin Gainty
On Tue, Jun 5, 2018, at 12:17, MRAB wrote:
> Unicode 11.0.0 has been released. Will Python 3.7 be updated to it, or
> is it too late?
https://github.com/python/cpython/pull/7439 will update 3.8. Generally, we've
considered updating the Unicode database to be a feature and not backported
On 05.06.2018 17:28, Martin Gainty wrote:
who owns the Data hosted on Github?
Github Author?
Microsoft?
Martin
https://help.github.com/articles/github-terms-of-service/#d-user-generated-content
:
"/You own content you create, but you allow us certain rights to it, so
that we can display
who owns the Data hosted on Github?
Github Author?
Microsoft?
Martin
__
From: Python-Dev on behalf
of M.-A. Lemburg
Sent: Tuesday, June 5, 2018 7:54 AM
To: Antoine Pitrou; python-dev@python.org
Subject: Re:
Unicode 11.0.0 has been released. Will Python 3.7 be updated to it, or
is it too late?
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
I know Kushal set up ABI testing for Fedora and has brought up taking the
work he did for that and bringing it over to CPython, but I also know he is
offline for personal reasons ATM and won't be able to to reply for a little
while.
On Mon, 4 Jun 2018 at 08:06 Eric Snow wrote:
> I've pointed
On 5 June 2018 at 23:10, Matěj Cepl wrote:
> On 2018-06-04, 23:38 GMT, Steven D'Aprano wrote:
> > No, but Guido is right: neither is anyone else.
> >
> > In that regard, Microsoft is probably *more* likely to keep pumping
> > money into a failing business if it gives them a strategic advantage,
On 05.06.2018 17:56, Chris Barker wrote:
OK,
looking a bit deeper:
In [69]: timedelta.__new__.__doc__
Out[69]: 'Create and return a new object. See help(type) for accurate
signature.'
In [70]: timedelta.__init__.__doc__
Out[70]: 'Initialize self. See help(type(self)) for accurate
OK,
looking a bit deeper:
In [69]: timedelta.__new__.__doc__
Out[69]: 'Create and return a new object. See help(type) for accurate
signature.'
In [70]: timedelta.__init__.__doc__
Out[70]: 'Initialize self. See help(type(self)) for accurate signature.'
In [71]: timedelta.__doc__
Out[71]:
On 5.6.2018 15:10, Matěj Cepl wrote:
On 2018-06-04, 23:38 GMT, Steven D'Aprano wrote:
No, but Guido is right: neither is anyone else.
In that regard, Microsoft is probably *more* likely to keep pumping
money into a failing business if it gives them a strategic advantage,
compared to other
On 2018-06-04, 23:38 GMT, Steven D'Aprano wrote:
> No, but Guido is right: neither is anyone else.
>
> In that regard, Microsoft is probably *more* likely to keep pumping
> money into a failing business if it gives them a strategic advantage,
> compared to other investors with no long-term
Something that may change is the way they treat Github
accounts, after all, MS is very much a sales driven company.
But then there's always the possibility to move to Gitlab
as alternative (hosted or run on PSF VMs), so I would
worry too much.
Do note, however, that the value in Github is not so
So sorry for Python 2.7, I just rejected my PEP 546, no ssl.MemoryBIO for you!
https://www.python.org/dev/peps/pep-0546/#rejection-notice
The workaround is to use PyOpenSSL on Python 2.7.
Victor
2018-05-30 16:28 GMT+02:00 Victor Stinner :
> Hi,
>
> tl; dr I will withdraw the PEP 546 in one week
14 matches
Mail list logo