Re: Loop with else clause

2019-02-04 Thread DL Neil
On 5/02/19 8:12 PM, Steve wrote: Would it be a hyphythonitical question? Is that one of the new meta-classes in release 3.99, or a perhaps a project to remove the GIL and take advantage of multi-core architectures? As well as embarrassing the poor coder, this question vexed quite a few

RE: Loop with else clause

2019-02-04 Thread Steve
Would it be a hyphythonitical question? = Footnote: Zamboni locks up after running into large patch of loose teeth. -Original Message- From: Python-list On Behalf Of DL Neil Sent: Monday, February 4, 2019 11:29 PM To: 'Python' Subject: Loop with else clause What is

Loop with else clause

2019-02-04 Thread DL Neil
What is the pythonic way to handle the situation where if a condition exists the loop should be executed, but if it does not something else should be done? Why am I asking? Today's code review included a for...else structure. I've rarely seen such a thing, and even knowing it exists, cannot

[issue30670] pprint for dict in sorted order or insert order?

2019-02-04 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- stage: resolved -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue35321] None _frozen_importlib.__spec__.origin attribute

2019-02-04 Thread Ned Deily
Change by Ned Deily : -- versions: -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35299] LGHT0091: Duplicate symbol 'File:include_pyconfig.h' found

2019-02-04 Thread miss-islington
miss-islington added the comment: New changeset 4f6854a690e95ab5159687794652c639a020d6fd by Miss Islington (bot) in branch '3.7': bpo-35299: Fixed sysconfig and distutils during PGO profiling (GH-11744) https://github.com/python/cpython/commit/4f6854a690e95ab5159687794652c639a020d6fd

[issue30670] pprint for dict in sorted order or insert order?

2019-02-04 Thread Raymond Hettinger
Raymond Hettinger added the comment: Consider adding a flag to switch between sorted order and insertion order (defaulting to the current behavior). For convenience, add a short-cut function to call pprint() with the flag set to False. def pprint(data, *, sort_dicts=True): ...

[issue18765] unittest needs a way to launch pdb.post_mortem or other debug hooks

2019-02-04 Thread Gregory P. Smith
Change by Gregory P. Smith : -- keywords: +easy versions: +Python 3.8 -Python 3.4 ___ Python tracker ___ ___ Python-bugs-list

Re: Implement C's Switch in Python 3 [OT languages]

2019-02-04 Thread DL Neil
On 4/02/19 9:25 PM, Christian Gollwitzer wrote: Am 04.02.19 um 09:18 schrieb Christian Gollwitzer: I think English is quite "unique" with writing out the ending of the ordinals attached to arabic numerals. Of course, there is a Wikipedia page about it:

[issue35299] LGHT0091: Duplicate symbol 'File:include_pyconfig.h' found

2019-02-04 Thread Steve Dower
Change by Steve Dower : -- assignee: -> steve.dower ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35299] LGHT0091: Duplicate symbol 'File:include_pyconfig.h' found

2019-02-04 Thread Steve Dower
Steve Dower added the comment: New changeset 85e102a2b090dd693d0801ae2edb9660cfa0f281 by Steve Dower in branch 'master': bpo-35299: Fixed sysconfig and distutils during PGO profiling (GH-11744) https://github.com/python/cpython/commit/85e102a2b090dd693d0801ae2edb9660cfa0f281 --

[issue35321] None _frozen_importlib.__spec__.origin attribute

2019-02-04 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: New changeset 69091cb497b2f0fe7e2789b30b43cf78caf9de9b by Barry Warsaw (Nina Zakharenko) in branch 'master': bpo-35321: Set the spec origin to frozen in frozen modules (#11732)

Re: Python program to phone?

2019-02-04 Thread Chris Roy-Smith
On 5/2/19 7:20 am, Steve wrote: I have written my first python program (600 lines!) to help control my blood sugar and it has been so successful that my A1c dropped form 9.3 to an impressive 6.4. It will be much more useful if I had it on my phone. (MotoG, Android) The .py file reads/writes to

RE: pandas read dataframe and sum all value same month and year

2019-02-04 Thread Avi Gross
Diego, If your goal is to sum data by month, there are more general methods than you making lists of starting and ending dates. ONE way to consider in your case that is easy to understand is to add a derived column/feature to your data such as the first 7 characters of the date as perhaps a

[issue18765] unittest needs a way to launch pdb.post_mortem or other debug hooks

2019-02-04 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: Hi, this is the only reason I still use pytest, I would love to be able to use only unittest and the constant copy-paste is not a great solution and is not very user friendly. I would like to wotk on this issue. StackOverflow has many example on how to

[issue35893] distutils fails to build extension on windows when it is a package.__init__

2019-02-04 Thread Steve Dower
Steve Dower added the comment: Agreed that it should go to setuptools in order to support third-party packages. In general, those of us who ever touch distutils these days (basically just me?) are only really maintaining those parts necessary to build Python and its own modules. Since this

[issue35896] sysconfig.get_platform returns wrong value when Python 32b is running under Windows 64b

2019-02-04 Thread pmpp
pmpp added the comment: from what I remember it's a platform-vm where you can't call (host) 64bits abi or access (host) 64 bits registry. registry calls are overlaid under a "WoW64" branch in host registry. Nothing like aarch64 or Darwin -- ___

[issue35893] distutils fails to build extension on windows when it is a package.__init__

2019-02-04 Thread Paul Ganssle
Paul Ganssle added the comment: Well, there's some tentative plan for `setuptools` to completely adopt distutils, so in some sense all distutils bugs are setuptools bugs as well. That said, the reason to report it in setuptools as well is that setuptools still supports Python 2.7, 3.5 and

[issue35893] distutils fails to build extension on windows when it is a package.__init__

2019-02-04 Thread Ronald Oussoren
Ronald Oussoren added the comment: The bug is the stdlib, and I've checked that setuptools just calls the code in distutils in this case. IMHO it would be better to fix this in the stdlib. (Unselecting python 3.6 because that's in security-only mode by now) -- versions: -Python

[issue30670] pprint for dict in sorted order or insert order?

2019-02-04 Thread Joachim Jablon
Joachim Jablon added the comment: If you stop sorting keys in pprint, then unittest.TestCase.assertDictEquals() (and pytest and such) won't be able to generate a meaningful diff when 2 dicts aren't equal, and it will be much more complicated to understand why a test fails.

[issue35893] distutils fails to build extension on windows when it is a package.__init__

2019-02-04 Thread Paul Ganssle
Paul Ganssle added the comment: @Ronald Ah, interesting, I missed that. In my experience, distutils is pretty static and it's not particularly common to merge changes into it. Whether or not this is in scope for distutils, it's definitely in scope for setuptools - do you mind opening an

[issue35896] sysconfig.get_platform returns wrong value when Python 32b is running under Windows 64b

2019-02-04 Thread jcrmatos
jcrmatos added the comment: That's the name of the subsystem, not the platform. Check the article you indicated "In computing on Microsoft platforms, SysWoW64 (Windows 32-bit on Windows 64-bit) is a subsystem..." -- ___ Python tracker

[issue35893] distutils fails to build extension on windows when it is a package.__init__

2019-02-04 Thread Ronald Oussoren
Ronald Oussoren added the comment: @Paul, modulegraph2 uses flit, but I do use setuptools to build extensions in the test suite. The problematic setup.py file is in testsuite/nodebuilder-tree. I do have a workaround in that setup.py: # START def get_export_symbols(self, ext): parts =

[issue35896] sysconfig.get_platform returns wrong value when Python 32b is running under Windows 64b

2019-02-04 Thread pmpp
pmpp added the comment: i think that platform is called SysWoW64 and is more or less win32. https://en.wikipedia.org/wiki/WoW64 -- nosy: +pmpp ___ Python tracker ___

[issue35896] sysconfig.get_platform returns wrong value when Python 32b is running under Windows 64b

2019-02-04 Thread jcrmatos
New submission from jcrmatos : sysconfig.get_platform returns wrong value when Python 32b is running under Windows 64b. It should return win-amd64 and returns win32. -- messages: 334841 nosy: jcrmatos priority: normal severity: normal status: open title: sysconfig.get_platform returns

Re: format number is not recognized in a cycle

2019-02-04 Thread Diego Avesani
Dear all, Dear Peter, could you suggest me one? Thanks a lot, Diego On Monday, 4 February 2019 13:58:17 UTC+1, Diego Avesani wrote: > Dear all, > > I have this dataframe: > > datatime,T,RH,PSFC,DIR,VEL10,PREC,RAD,CC,FOG > 2012-01-01 06:00, 0.4,100, 911,321, 2.5, 0.0, 0, 0,0 >

Python program to phone?

2019-02-04 Thread Steve
I have written my first python program (600 lines!) to help control my blood sugar and it has been so successful that my A1c dropped form 9.3 to an impressive 6.4. It will be much more useful if I had it on my phone. (MotoG, Android) The .py file reads/writes to two txt files. About a year

[issue35224] PEP 572: Assignment Expressions

2019-02-04 Thread Emily Morehouse
Emily Morehouse added the comment: @rhettinger absolutely, I'm going to include that in my documentation PR which is currently in progress. :) -- ___ Python tracker ___

[issue35224] PEP 572: Assignment Expressions

2019-02-04 Thread Raymond Hettinger
Raymond Hettinger added the comment: FYI, we need a prominent Whatsnew entry for this. -- nosy: +rhettinger ___ Python tracker ___

Re: format number is not recognized in a cycle

2019-02-04 Thread Peter Otten
Diego Avesani wrote: > Dear Peter, Deal all, > > Trying different options, I manage this solution: > >mask = (df['datatime'] > str(start_date[ii])) & (df['datatime'] <= >str(end_date[ii])) > > As you can notice, I have put str before start_date[ii]) and end_date[ii]. > > What do you

[issue35364] Datetime “fromtimestamp()” ignores inheritance if timezone is not None

2019-02-04 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: New changeset 89427cd0feae25bbc8693abdccfa6a8c81a2689c by Alexander Belopolsky (Paul Ganssle) in branch 'master': bpo-32417: Make timedelta arithmetic respect subclasses (#10902)

Re: pandas read dataframe and sum all value same month and year

2019-02-04 Thread Diego Avesani
Deal all, following Peter's suggestion, I put the example code: import pandas as pd import numpy as np from datetime import datetime #input: start_date = np.array(["2012-01-01 06:00",'2013-01-01 06:00','2014-01-01 06:00']) end_date = np.array(["2013-01-01 05:00",'2014-01-01

[issue32417] fromutc does not respect datetime subclasses

2019-02-04 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: New changeset 89427cd0feae25bbc8693abdccfa6a8c81a2689c by Alexander Belopolsky (Paul Ganssle) in branch 'master': bpo-32417: Make timedelta arithmetic respect subclasses (#10902)

Re: format number is not recognized in a cycle

2019-02-04 Thread Diego Avesani
Dear Peter, Deal all, Trying different options, I manage this solution: mask = (df['datatime'] > str(start_date[ii])) & (df['datatime'] <= str(end_date[ii])) As you can notice, I have put str before start_date[ii]) and end_date[ii]. What do you think? Thanks On Monday, 4 February

[issue35893] distutils fails to build extension on windows when it is a package.__init__

2019-02-04 Thread Paul Ganssle
Paul Ganssle added the comment: @Ronald The module you've linked to seems to be using flit and doesn't have any C extensions. Did you change over the build process, or am I missing something? -- ___ Python tracker

[issue15248] Better explain "TypeError: 'tuple' object is not callable"

2019-02-04 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +11702, 11703 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue15248] Better explain "TypeError: 'tuple' object is not callable"

2019-02-04 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +11702 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue35893] distutils fails to build extension on windows when it is a package.__init__

2019-02-04 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

Re: format number is not recognized in a cycle

2019-02-04 Thread Peter Otten
Diego Avesani wrote: > this is the code: While the example is fine now it runs without error over here, on rather old versions of pandas (0.13.1) and numpy (1.8.2). Therefore I'm out of the debugging cycle for now. -- https://mail.python.org/mailman/listinfo/python-list

[issue35813] shared memory construct to avoid need for serialization between processes

2019-02-04 Thread pmpp
Change by pmpp : -- nosy: +pmpp ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35813] shared memory construct to avoid need for serialization between processes

2019-02-04 Thread Eric Snow
Eric Snow added the comment: FTR, I've had a number of extensive conversations with Davin (over the last year and a half) about this feature. His choices seemed reasonable (caveat: I'm not an expert on multiprocessing) and the feature seemed desirable. I did not review his PR. --

[issue35706] Make it easier to use a venv with an embedded Python interpreter

2019-02-04 Thread PyScripter
PyScripter added the comment: This issue is related (duplicate) to https://bugs.python.org/issue22213. It appears that there is a workaround but only for Linux using Py_SetProgramName. I wish that there was some similar way for Windows. -- nosy: +ncoghlan, pitrou

[issue35895] the test suite of pytest failed with 3.8.0a1

2019-02-04 Thread Guido van Rossum
Guido van Rossum added the comment: Looks like pytest needs to be adjusted to some new AST features. -- nosy: +gvanrossum resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue35706] Make it easier to use a venv with an embedded Python interpreter

2019-02-04 Thread Steve Dower
Steve Dower added the comment: > The idea is that python, in the embedding application, should work as in the > python executable. I disagree that this is the idea. Python in the embedding application should work as in the embedding application, not the standalone one. The embedding

[issue35706] Make it easier to use a venv with an embedded Python interpreter

2019-02-04 Thread PyScripter
PyScripter added the comment: "Personally, I am 100% against letting an embedded runtime automatically pick up any settings from the environment. You don't know where they came from." Why is that? When the embedding application is using Py_SetPythonHome there is clear intent to use a

[issue35807] Update bundled pip to 19.0

2019-02-04 Thread Pradyun Gedam
Pradyun Gedam added the comment: Update: I'll do this after 19.0.2 is released. -- ___ Python tracker ___ ___ Python-bugs-list

[RELEASE] Python 3.8.0a1 is now available for testing

2019-02-04 Thread Łukasz Langa
I packaged my first release. *wipes sweat off of face* Go get it here: https://www.python.org/downloads/release/python-380a1/ Python 3.8.0a1 is the first of four planned alpha releases of Python 3.8, the next feature release of Python. During the alpha phase, Python 3.8 remains under heavy

[issue35859] Capture behavior depends on the order of an alternation

2019-02-04 Thread Ma Lin
Change by Ma Lin : -- keywords: +patch, patch, patch pull_requests: +11699, 11700, 11701 stage: -> patch review ___ Python tracker ___

[issue35859] Capture behavior depends on the order of an alternation

2019-02-04 Thread Ma Lin
Change by Ma Lin : -- keywords: +patch, patch pull_requests: +11699, 11700 stage: -> patch review ___ Python tracker ___ ___

[issue35859] Capture behavior depends on the order of an alternation

2019-02-04 Thread Ma Lin
Change by Ma Lin : -- keywords: +patch pull_requests: +11699 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue35873] Controlling venv from venv no longer works in 3.7.2

2019-02-04 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue35872] Creating venv from venv no longer works in 3.7.2

2019-02-04 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue35873] Controlling venv from venv no longer works in 3.7.2

2019-02-04 Thread Steve Dower
Steve Dower added the comment: New changeset 44467e8ea4cea390b0718702291b4cfe8ddd67ed by Steve Dower in branch '3.7': bpo-35872 and bpo-35873: Clears __PYVENV_LAUNCHER__ variable (GH-11745) https://github.com/python/cpython/commit/44467e8ea4cea390b0718702291b4cfe8ddd67ed --

[issue35872] Creating venv from venv no longer works in 3.7.2

2019-02-04 Thread Steve Dower
Steve Dower added the comment: New changeset 44467e8ea4cea390b0718702291b4cfe8ddd67ed by Steve Dower in branch '3.7': bpo-35872 and bpo-35873: Clears __PYVENV_LAUNCHER__ variable (GH-11745) https://github.com/python/cpython/commit/44467e8ea4cea390b0718702291b4cfe8ddd67ed --

[issue1294959] Problems with /usr/lib64 builds.

2019-02-04 Thread Charalampos Stratakis
Change by Charalampos Stratakis : -- pull_requests: +11696, 11698 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue1294959] Problems with /usr/lib64 builds.

2019-02-04 Thread Charalampos Stratakis
Change by Charalampos Stratakis : -- pull_requests: +11696, 11697 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue1294959] Problems with /usr/lib64 builds.

2019-02-04 Thread Charalampos Stratakis
Change by Charalampos Stratakis : -- pull_requests: +11696 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35887] Doc string for updating the frozen version of importlib in _bootstrap.py incorrect

2019-02-04 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: I believe this is why Travis does a `make regen-all` to be sure everything is up to date. A patch to keep instructions up-to-date would be nice, newcomers are not familiar with all `make regen-*` commands. -- nosy: +remi.lapeyre

Re: format number is not recognized in a cycle

2019-02-04 Thread Diego Avesani
Dear Peter, thanks a lot for your patience. this is the code: import pandas as pd import numpy as np from datetime import datetime #input: start_date = np.array(["2012-01-01 06:00",'2013-01-01 06:00','2014-01-01 06:00']) end_date = np.array(["2013-01-01 05:00",'2014-01-01

[issue35895] the test suite of pytest failed with 3.8.0a1

2019-02-04 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: maybe, I don't know but I have tested with pytest because the tests with requests did not work. I prefered to create this issue and the same issue on the bug tracker of pytest. -- ___ Python tracker

[issue35895] the test suite of pytest failed with 3.8.0a1

2019-02-04 Thread Paul Moore
Paul Moore added the comment: Is this relevant? https://bugs.python.org/issue33416 It's a backward incompatible change to the AST in 3.8 (according to the 3.8 changelog). -- nosy: +paul.moore ___ Python tracker

pandas read dataframe and sum all value same month and year

2019-02-04 Thread Diego Avesani
Dear all, I am reading the following data-frame: datatime,T,RH,PSFC,DIR,VEL10,PREC,RAD,CC,FOG 2012-01-01 06:00, -0.1,100, 815,313, 2.6, 0.0, 0, 0,0 2012-01-01 07:00, -1.2, 93, 814,314, 4.8, 0.0, 0, 0,0 2012-01-01 08:00, 1.7, 68, 815,308, 7.5, 0.0, 41, 11,0 2012-01-01 09:00, 2.4,

Re: format number is not recognized in a cycle

2019-02-04 Thread Peter Otten
Diego Avesani wrote: > Dear all, > > I have this dataframe: > > datatime,T,RH,PSFC,DIR,VEL10,PREC,RAD,CC,FOG > 2012-01-01 06:00, 0.4,100, 911,321, 2.5, 0.0, 0, 0,0 > 2012-01-01 07:00, 0.8,100, 911,198, 0.8, 0.0, 0, 22,0 > 2012-01-01 08:00, 0.6,100, 912, 44, 1.2, 0.0, 30, 22,0 >

[issue35895] the test suite of pytest failed with 3.8.0a1

2019-02-04 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Here is the issue in the bug tracker of pytest https://github.com/pytest-dev/pytest/issues/4716 -- ___ Python tracker ___

[issue35895] the test suite of pytest failed with 3.8.0a1

2019-02-04 Thread Stéphane Wirtel
New submission from Stéphane Wirtel : I have execute the tests of pytest with 3.8.0a1 and I get some issues, it's not the case with 3.7.x (see the travis logs of pytest, https://travis-ci.org/pytest-dev/pytest/branches) I am going to create the same issue for pytest. -- files:

[issue35813] shared memory construct to avoid need for serialization between processes

2019-02-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Also, I will want to review this as well. Since Alpha 2 is scheduled for 2019-02-24, and this is a sizable piece of work, I would prefer if a full PR was available, say, before 2019-02-15. -- ___ Python tracker

[issue35813] shared memory construct to avoid need for serialization between processes

2019-02-04 Thread Ronald Oussoren
Ronald Oussoren added the comment: Please also address my review comments. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue26243] zlib.compress level as keyword argument

2019-02-04 Thread Łukasz Langa
Change by Łukasz Langa : -- pull_requests: +11693, 11694, 11695 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue26243] zlib.compress level as keyword argument

2019-02-04 Thread Łukasz Langa
Change by Łukasz Langa : -- pull_requests: +11693, 11694 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26243] zlib.compress level as keyword argument

2019-02-04 Thread Łukasz Langa
Change by Łukasz Langa : -- pull_requests: +11693 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[RELEASE] Python 3.8.0a1 is now available for testing

2019-02-04 Thread Łukasz Langa
I packaged my first release. *wipes sweat off of face* Go get it here: https://www.python.org/downloads/release/python-380a1/ Python 3.8.0a1 is the first of four planned alpha releases of Python 3.8, the next feature release of Python. During the alpha phase, Python 3.8 remains under heavy

NumPy 1.16.1 release

2019-02-04 Thread Charles R Harris
Hi All, On behalf of the NumPy team I'm pleased to announce the release of NumPy 1.16.1. This release fixes bugs reported against the 1.16.0 release, and also backports several enhancements from master that seem appropriate for a release series that is the last to support Python 2.7. The

EPS: Announcing the Guido van Rossum Core Developer Grant

2019-02-04 Thread M.-A. Lemburg
At the last General Assembly of the EuroPython Society (EPS) at EuroPython 2018 in Edinburgh, we voted on a new grant program we want to put in place for future EuroPython conferences. We all love Python and this is one of the main reasons we are putting on EuroPython year after year, serving the

[ANN] pvlib-python v0.6.1: predicting power from PV (renweable solar energy)

2019-02-04 Thread Mark Alexander Mikofski
pvlib-0.6.1 is now available PyPI: https://pypi.org/project/pvlib/ Read the Docs: https://pvlib-python.readthedocs.io/en/latest/ GitHub: https://github.com/pvlib/pvlib-python -- Mark Mikofski, PhD (2005) *Fiat Lux* -- https://mail.python.org/mailman/listinfo/python-announce-list

pytest 4.2.0 released

2019-02-04 Thread Bruno Oliveira
The pytest team is proud to announce the 4.2.0 release! pytest is a mature Python testing tool with more than a 2000 tests against itself, passing on many different interpreters and platforms. This release contains a number of bugs fixes and improvements, so users are encouraged to take a look

format number is not recognized in a cycle

2019-02-04 Thread Diego Avesani
Dear all, I have this dataframe: datatime,T,RH,PSFC,DIR,VEL10,PREC,RAD,CC,FOG 2012-01-01 06:00, 0.4,100, 911,321, 2.5, 0.0, 0, 0,0 2012-01-01 07:00, 0.8,100, 911,198, 0.8, 0.0, 0, 22,0 2012-01-01 08:00, 0.6,100, 912, 44, 1.2, 0.0, 30, 22,0 2012-01-01 09:00, 3.1, 76, 912, 22,

[issue35813] shared memory construct to avoid need for serialization between processes

2019-02-04 Thread Davin Potts
Davin Potts added the comment: @lukasz.langa: Missing tests and documentation will be in by alpha2. -- ___ Python tracker ___ ___

[issue12374] Execution model should explain compile vs definition vs execution time

2019-02-04 Thread Nick Coghlan
Nick Coghlan added the comment: https://github.com/ncoghlan/python-userref/blob/master/ODF/Chapter01_EssentialConcepts.odt is the Chapter 1 userref link now that the PSF SVN server has shut down. Depending on what you mean by "Pursuing this...": 1. I'd definitely still love to see the

Re: mask and proper index

2019-02-04 Thread Peter Otten
Diego Avesani wrote: > If I can ask, due to the fact that I am new to thins kind of forum. > In this moment, I have another problem related to the data I am working > on. Should I write another post? You should start a new thread for a new problem, even if for you it is part of the same

[issue35810] Object Initialization Bug with Heap-allocated Types

2019-02-04 Thread Petr Viktorin
Petr Viktorin added the comment: I'll allocate time this week for the review. -- ___ Python tracker ___ ___ Python-bugs-list

[issue35813] shared memory construct to avoid need for serialization between processes

2019-02-04 Thread Łukasz Langa
Łukasz Langa added the comment: @Davin, in what time can you fill in the missing tests and documentation? If this is something you finish do before alpha2, I'm inclined to leave the change in. As it stands, I missed the controversy yesterday as I was busy making my first release. So the

[issue35851] Make search result in online docs keep their position when search finishes

2019-02-04 Thread Roel Schroeven
Roel Schroeven added the comment: Issue opened on the Sphinx bug tracker: https://github.com/sphinx-doc/sphinx/issues/6016 -- ___ Python tracker ___

Re: mask and proper index

2019-02-04 Thread Diego Avesani
Dear all, Dear Peter, thanks for you suggestions. Next time, I will try to set-up a proper example in order to post it and explain better my problem. You understood perfectly what was my problem. Thanks a lot, indeed it seems to work. If I can ask, due to the fact that I am new to thins kind

Re: Implement C's Switch in Python 3 [OT languages]

2019-02-04 Thread Christian Gollwitzer
Am 04.02.19 um 09:18 schrieb Christian Gollwitzer: I think English is quite "unique" with writing out the ending of the ordinals attached to arabic numerals. Of course, there is a Wikipedia page about it: https://en.wikipedia.org/wiki/Ordinal_indicator So I was wrong and the

Re: Implement C's Switch in Python 3 [OT languages]

2019-02-04 Thread Christian Gollwitzer
Am 04.02.19 um 04:11 schrieb DL Neil: > On 4/02/19 10:00 AM, Christian Gollwitzer wrote: Am 03.02.19 um 09:32 schrieb DL Neil: Now back to ordinal dates - the "st", "th", etc suffixes only work in English. You'd need another list (but no great coding complexity) to cope with a second, third,