Re: Python and 64bit Windows7

2016-08-08 Thread Chris Angelico
On Sun, Aug 7, 2016 at 9:23 AM, James Santiago wrote: > Could you please take a look at the attached file that has screen shots of > the problem I am facing? No, because this is a text-only mailing list - your attachment got stripped. Can you transcribe the text of

[issue27707] List reports incorrect length if modifed after yield

2016-08-08 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: when you yield, the list is empty, in this case, the length of your list is just 0 and not 1. -- nosy: +matrixise status: open -> closed ___ Python tracker

[issue27707] List reports incorrect length if modifed after yield

2016-08-08 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- status: closed -> open ___ Python tracker ___ ___

[issue27707] List reports incorrect length if modifed after yield

2016-08-08 Thread SilentGhost
SilentGhost added the comment: At the time the len function in list comprehension is called .append has not executed, the len call in list comprehension operates on object as it is, whereas the object itself is only referenced rather than copied. If you were to copy the yielded list, then a

api-ms-win-crt-runtime-l1-1-0.dll missing ?

2016-08-08 Thread zutix via Python-list
Thank you for your free product PYTHON I'd like to familiarize with, if possible. Environment: Windows 8.1 proc x64 I installed the version from the buton. After a succesfull installation, a system error occurs on the lounch of the program. I desinstalled this version from

Cant download python libraries.

2016-08-08 Thread Panayiotis Mangafas
So i've downloaded python on a new laptop(Windows) and apparently i downloaded it in a wrong folder and now when i try to install a library i cant. I have tried both pip install and install setup.py but i cant make it work. It doesn't work if i just try to access python from cmd. I've tried to

Re: Ned Batchelder: Loop Like A Native

2016-08-08 Thread breamoreboy
On Sunday, August 7, 2016 at 2:26:48 AM UTC+1, Ned Batchelder wrote: > On Saturday, August 6, 2016 at 9:21:24 PM UTC-4, Lawrence D’Oliveiro wrote: > > On Sunday, August 7, 2016 at 11:36:06 AM UTC+12, Ned Batchelder wrote: > > > > > Didn't we already do this debate? > > > > I understand. You want

python 3.5.2 lounch: api-ms-win-crt-runtime-l1-1-0.dll is missing ?

2016-08-08 Thread zutix via Python-list
Thank you for your free product PYTHON I'd like to familiarize with, if possible. Environment: Windows 8.1 proc x64 I installed the version from the buton. After a succesfull installation, a system error occurs on the lounch of the program. I desinstalled this version from

Python and 64bit Windows7

2016-08-08 Thread James Santiago
Hello: I am having problems when installing Python on a 64bit windows7 laptop. I am guessing that the problem is happening because of the 64bit architecture. Could you please take a look at the attached file that has screen shots of the problem I am facing? Could you tell me how I can fix these

api-ms-win-crt-runtime-l1-1-0.dll missing ?

2016-08-08 Thread zutix via Python-list
I just have subscribed, so I send my message again as required. Sorry for not having pay attention. Thank you for your free product PYTHON I'd like to familiarize with, if possible. Environment: Windows 8.1 proc x64 I installed the version from the buton.

Re: Python slang

2016-08-08 Thread Marco Sulla
On 6 August 2016 at 23:33, Ian Kelly wrote: > On Aug 6, 2016 2:10 PM, "Marco Sulla via Python-list" < > python-list@python.org> wrote: > > > Yes, I was thinking manly to SQL. That furthermore is NOT a > programming language. > > > Why not? It's claimed to be Turing

[issue27707] List reports incorrect length if modifed after yield

2016-08-08 Thread Robin
New submission from Robin: reproduction script below. In the last print statement, it shows me a list with items in it, but with a length of 0 def generator(): l = [] yield l l.append(1) # this correctly prints 1 print(len(l)) # this should print [([1],

ANN: Grako 3.12.1

2016-08-08 Thread Juancarlo Añez
Grako (for grammar compiler) is a tool that takes grammars in a variation of EBNF as input, and outputs memoizing (Packrat) PEG parsers in Python. Changes in 3.12.1: - Distinguish between positive and normal joins: s.{e}+ and s.{e}. Having s.{e} use a positive closure was too unexpected.

[ANN] Mayavi-4.5.0 release

2016-08-08 Thread Prabhu Ramachandran
Hello, We are pleased to announce Mayavi-4.5.0. Mayavi is a general purpose, cross-platform Python package for 2-D and 3-D scientific data visualization. Mayavi integrates seamlessly with numpy and provides a convenient Pythonic wrapper for the VTK API. It provides a high-level visualization

[issue20842] pkgutil docs should reference glossary terms not PEP 302

2016-08-08 Thread Oren Milman
Oren Milman added the comment: ImpImporter was first added in changeset 37808 (https://hg.python.org/cpython/rev/ccc0b5412799) and updated a day later in changeset 37821 (https://hg.python.org/cpython/rev/3135648026c4). Both of these commits were introduced to support PEP 302. Since then,

[issue1100942] Add datetime.time.strptime and datetime.date.strptime

2016-08-08 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___

[issue27706] Random.seed, whose purpose is purportedly determinism, behaves non-deterministically with strings due to hash randomization

2016-08-08 Thread Cory Benfield
Changes by Cory Benfield : -- nosy: +Lukasa ___ Python tracker ___ ___ Python-bugs-list

[issue1100942] Add datetime.time.strptime and datetime.date.strptime

2016-08-08 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Here is an updated version (for 3.6) of the patch of maciej.szulik. I have executed all the tests. Please, could you review this patch. Thank you -- nosy: +matrixise versions: +Python 3.6 -Python 3.5 Added file:

[issue27703] Replace two Py_XDECREFs with Py_DECREFs in do_raise

2016-08-08 Thread Xiang Zhang
Xiang Zhang added the comment: Thanks for the comment, Antti. > would be nice to go see the call site and see asserts in place there, > showing that the arguments never were NULL to begin with. So is it still not enough getting the two asserts? IMHO I think the two asserts have already meet

[issue6057] sqlite3 error classes should be documented

2016-08-08 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Here is the patch with my comments. -- Added file: http://bugs.python.org/file44043/issue6057-3.6.diff ___ Python tracker

[issue6057] sqlite3 error classes should be documented

2016-08-08 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- stage: needs patch -> patch review ___ Python tracker ___

[issue6057] sqlite3 error classes should be documented

2016-08-08 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Jaysinh, I have reviewed your patch, but for me, this one should be have an order for the exception. * Warning * Error * DatabaseError * ProgrammingError * IntegrityError Thank you -- nosy: +matrixise

[issue27703] Replace two Py_XDECREFs with Py_DECREFs in do_raise

2016-08-08 Thread Antti Haapala
Antti Haapala added the comment: Normally I wouldn't recommend changing working code. However those asserts would be OK; if either of them is NULL, then the previous if would have had undefined behaviour already. Thus the `XDECREF` wrongly signals that it'd be OK if they were NULLs until this

[issue24459] Mention PYTHONFAULTHANDLER in the man page

2016-08-08 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- nosy: +matrixise ___ Python tracker ___ ___

[issue23746] sysconfg.is_python_build() is buggy

2016-08-08 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- nosy: +matrixise ___ Python tracker ___ ___

[issue12276] 3.x ignores sys.tracebacklimit=0

2016-08-08 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- nosy: +matrixise ___ Python tracker ___ ___

<    1   2