Dear Pythonistas and solar power enthusiasts,
The maintainers are happy to announce a new release of pvlib python:
software for simulating performance of photovoltaic solar energy systems.
*v0.9.5 Highlights:*
* The infinite_sheds model now has options to use the hay-davies
transposition model
I'm working on an NLP and I got bitten by an unreasonably slow behaviour in
Python while operating with small amounts of numbers.
I have the following code:
```python
import random, time
from functools import reduce
def trainPerceptron(perceptron, data):
learningRate = 0.002
weights =
Dear Pythonistas and solar power enthusiasts,
The maintainers are happy to announce a new release of pvlib python:
software for simulating performance of photovoltaic solar energy systems.
*See what's new for v0.9.4:*
** *https://pvlib-python.readthedocs.io/en/stable/whatsnew.html
*Releases are
? Perhaps relatedly, I noticed that even
in 3.6, the code
print(re.findall(".*","pattern"))
yields ['pattern',''] which is not what I was expecting.
Thanks,
Alex Richert
--
Alexander Richert, PhD
*RedLine Performance Systems*
--
https://mail.python.org/mailman/listinfo/python-list
Dear Pythonistas and solar power enthusiasts,
The maintainers are happy to announce a new release of pvlib python:
software for simulating performance of photovoltaic solar energy systems.
*See what's new for v0.9.3:*
** *https://pvlib-python.readthedocs.io/en/stable/whatsnew.html
*Releases are
Dear Pythonistas and solar power enthusiasts,
The maintainers are happy to announce a new release of pvlib python:
software for simulating performance of photovoltaic solar energy systems.
*See what's new for v0.9.2:*
** *https://pvlib-python.readthedocs.io/en/stable/whatsnew.html
*Releases are
Dear Pythonistas and solar power enthusiasts,
On behalf of the maintainers, we're happy to announce a new release of
pvlib python:
software for simulating performance of photovoltaic solar energy systems.
*See what's new for v0.9.1:*
* https://pvlib-python.readthedocs.io/en/stable/whatsnew.html
Golubev Alexander added the comment:
Any reasons the PR still not merged?
--
nosy: +Fat-Zer
___
Python tracker
<https://bugs.python.org/issue24053>
___
___
Pytho
Alexander added the comment:
Added the PR. (I have signed the CLA, just haven't got the response yet,
doesn't affect the discussion I guess)
--
___
Python tracker
<https://bugs.python.org/issue46
Change by Alexander :
--
keywords: +patch
pull_requests: +29472
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/31311
___
Python tracker
<https://bugs.python.org/issu
Alexander added the comment:
Indeed, the error message does not help to identify the problem. Moreover, it
collides with similar errors in namedtuple and DynamicClassAttribute which may
lead to even more confusion.
I made a draft patch that could help with it
(https://github.com/Alex-Blade
Alexander Hartl added the comment:
I just found this PR when a task of mine spontaneously crashed with a "Task was
destroyed but it is pending" in the middle of program execution.
I think the warning should be added to `loop.create_task()`, too. Not sure if
`loop.
Alexander Kanavin added the comment:
(removed both the workaround, and regen-all itself)
--
___
Python tracker
<https://bugs.python.org/issue33080>
___
___
Pytho
Alexander Kanavin added the comment:
We have long ago updated to a much newer python and removed the workaround, so
the whatever the issue was, it is completely obsolete. Thanks!
--
resolution: -> works for me
stage: -> resolved
status: open -&g
Alexander Mohr added the comment:
btw my work-around was to set maxheaderlen=sys.maxsize, worked for AWS SES at
least
--
___
Python tracker
<https://bugs.python.org/issue44
Alexander Kanavin added the comment:
Here's the full log where you can see what happens.
--
Added file: https://bugs.python.org/file50464/log.do_install.1905494
___
Python tracker
<https://bugs.python.org/issue45
New submission from Alexander Kanavin :
Hello, Yocto project has had to disable -j0 for compileall, so that it runs
serially. If it doesn't, then 'make install' locks up sporadically, with
hanging processes:
```
3837320 ?SN 0:00 \_ make -j 16 -l 52
STAGING_LIBDIR
Change by Alexander Mohr :
--
title: EmailMessage incorrectly splits reply-to header -> EmailMessage
incorrectly splits name and address header
___
Python tracker
<https://bugs.python.org/issu
New submission from Alexander Mohr :
If you have a reply-to list that contains a name with a comma it must be
quoted, however if the line length is just right python with split the name
incorrectly and not keep the quote. Note that the CC line keeps the quote in
the name but the reply
New submission from Alexander Patrakov :
It is possible to create deep directory hierarchies that cannot be removed via
shutil.rmtree or walked via os.walk, because these functions exceed the
interpreter recursion limit. This may have security implications for web
services (e.g. various
Jimmy Alexander added the comment:
descarga la version 3.10 se supone es estable
pero al momento de instalar PANDAS usando PIP en el CMD de windows 11
FALLA
y empieza a buscar otras vesiones de menores de pandas para intentar instalar
via pip
pero todas fallan!
--
type
Jimmy Alexander added the comment:
C:\Users\ufx>pip install pandas
Collecting pandas
Using cached pandas-1.3.3.tar.gz (4.7 MB)
Installing build dependencies ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\ufx\AppData\Local\Programs\Python\Python
New submission from Jimmy Alexander :
Generating code
Finished generating code
building 'pandas._libs.parsers' extension
C:\Program Files (x86)\Microsoft Visual
Studio\2019\Community\VC\Tools\MSVC\14.28.29910\bin\HostX86\x64\cl.exe /c
/nologo /Ox /W3 /GL /DNDEBUG /MD
New submission from Alexander Kanavin :
I am observing the following under yocto's test harness:
==
ERROR: test_spawn_doesnt_hang (test.test_pty.PtyTest
Alexander Kanavin added the comment:
I am seeing this one too in my yocto builds of 3.10rc2. What is bizarre is that
the issue does not occur if the multiprocessing test is run in isolation:
python3 -m test -v test_multiprocessing_fork
but quite reliably does occur (three times in three
Dear Pythonistas and solar power enthusiasts,
On behalf of the maintainers, we're happy to announce a new release of
pvlib python:
software for simulating performance of photovoltaic solar energy systems.
*See what's new for v0.9.0:*
*
Alexander Belopolsky added the comment:
Can someone try to replicate this while disabling the C acceleration:
import sys
sys.modules[‘_datetime’] = None
(Before any other imports.)
If anything, this is likely to be a problem with the C implementation
Alexander Belopolsky added the comment:
I'll reopen this issue to resume the discussion. The motivating case - PEP
3121 refactoring of the ctypes module - is still open. See bpo-15884.
--
resolution: rejected ->
stage: resolved -> patch review
status: closed -> open
Alexander Belopolsky added the comment:
> The work is now tracked at bpo-1635741.
Which work? bpo-1635741 does not appear to be a meta-issue and in msg381432 it
loops back here.
--
versions: +Python 3.11 -Python 3.4
___
Python tracker
<
Alexander Smirnov added the comment:
the namer was implemented to add "*.log" extension, to avoid broken file
association problem.
```
log_handler.namer = lambda name: name.replace(".log", "") + ".log"
```
>implemented carefully enough
Could
New submission from Alexander Smirnov :
after adding namer callable (like it is described in
https://bugs.python.org/issue43344) to log handler configuration, it stopped
removing old files
log_filename = os.path.join(log_dir, "application.log")
l
Alexander Smirnov added the comment:
the problem with namer solution is that it will stop respecting backupCount
parameter
--
nosy: +alexander.smirnoff
___
Python tracker
<https://bugs.python.org/issue43
Taylor Alexander added the comment:
Am I correct in thinking that the proposed change only affects the use case
where a user types exit in to the REPL and hits return? And that any other case
is unaffected?
I can only imagine that the majority of users who type exit in to the
interpreter
Taylor Alexander added the comment:
Makes sense. Thanks for taking a look.
--
___
Python tracker
<https://bugs.python.org/issue44603>
___
___
Python-bugs-list m
Taylor Alexander added the comment:
Hello all. Curious issue. Thanks Stargirl for opening it.
Would it be possible for the __repr__ function to examine the calling commands
and determine if the origin is the special case where exit is typed in the
REPL? Then only when Quitter repr is called
New submission from Alexander Neumann :
The documentation currently states:
> Proxy objects are not hashable regardless of the referent; this avoids a
> number of problems related to their fundamentally mutable nature, and prevent
> their use as dictionary keys. callback is
File
"C:\Users\Alexander\AppData\Local\Programs\Python\Python37\lib\multiprocessing\connection.py",
line 619, in SocketClient
s.connect(address)
ConnectionRefusedError: [WinError 10061] No connection could be made
because the target machine actively refused it
During handling of the above ex
Alexander Dietz added the comment:
I was not asking for a solution or a workaround. I simply wanted to submit this
bug in either the code or the documentation.
--
___
Python tracker
<https://bugs.python.org/issue44
New submission from Alexander Dietz :
Using python 3.8.10 and the documentation
https://docs.python.org/3.8/library/logging.html it seems that either the
documentation is incorrect/unclear, or that the logging module does not work as
described.
Reading on the Logger Object and the setLevel
Alexander Niederbühl added the comment:
That makes sense, thanks!
--
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/i
New submission from Alexander Niederbühl :
If a task gets canceled while holding a lock, the lock is not automatically
released. Is that expected, it seems like it could cause a deadlock?
Failing test adapted from Lib/test/test_asyncio/test_locks.py (commit
6bd9288b80):
def
Alexander Belopolsky added the comment:
> In telemetry,
a nanosecond often translates to about a foot and 5 hours gets you to Pluto.
Telemetry is exactly an application where absolute timestamps rarely make any
sense.
--
___
Python trac
Alexander Belopolsky added the comment:
Is there high enough demand for nanoseconds in datetime and time instances?
How often nanosecond timestamps contain anything other than 0s or garbage in
the last three digits?
In my experience, all people want to do with such timestamps is to convert
Alexander Belopolsky added the comment:
@pganssle - let's keep the substantive discussions in the tracker so that they
are not lost on github. You wrote:
"""
what is still blocking / needs to be done on this? Beta freeze for Python 3.10
is coming up at the beginning of May
Alexander Grigoriev added the comment:
For example, sed:
$ sed --version
sed (GNU sed) 4.8
Copyright (C) 2020 Free Software Foundation, Inc.
$ sed -e 's/-\?$/x/g' <<<'a-b-'
a-bx
Perl:
$ perl --version
This is perl 5, version 32, subversion 0 (v5.32.0) built for
x86_64-msys-thr
New submission from Alexander Grigoriev :
If '\Z' matches as part of a pattern in re.sub() or re.split(), it should
consume the end of string, and then '\Z' alone should not match the end of
string again.
Current behavior:
Python 3.9.2 (tags/v3.9.2:1a79785, Feb 19 2021, 13:44:55) [MSC v
New submission from Alexander Grigoriev :
Certain patterns and input strings cause re.match to take exponentially longer
time. This can be expected because of recursive nature of matching some
patterns, but it can take surprisingly long time with some combination of a
pattern and input data
Alexander Grigoriev added the comment:
@ericsun:
Windows calls the console event handler in a separate thread. The console event
handler receives CTRL_C_EVENT, CTRL_BREAK_EVENT, console close, logoff, system
shutdown events.
Originally, Windows devised an APC mechanism to simulate
Alexander Riccio added the comment:
Yes, I definitely should. I work on https://bugs.python.org/issue25878
sometimes, which encompasses this.
--
___
Python tracker
<https://bugs.python.org/issue42
Alexander Riccio added the comment:
Petition to remove all uses of the unchecked string handling functions from
CPython?
Sidenote: if C4996 was on, this would be a warning.
--
nosy: +Alexander Riccio
___
Python tracker
<https://bugs.python.
Alexander added the comment:
Hi,
This issue was also confirmed by a Verge3D user (Python 3.7.7)
https://www.soft8soft.com/topic/export-gltf-error
--
nosy: +alexkowel
___
Python tracker
<https://bugs.python.org/issue33
Alexander Stepanov added the comment:
Another victim of this change in `venv` behavior is Ray, which hangs forever
because the workers fail to register as parent does not recognize their PIDs.
https://github.com/ray-project/ray/issues/13794
--
nosy: +nirvana-msu
Change by Alexander Vandenbulcke :
--
keywords: +patch
pull_requests: +23067
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/24246
___
Python tracker
<https://bugs.python.org/issu
New submission from Alexander Vandenbulcke :
Consider the case where 2 files are shallow compared where only the mtime
differs (i.e. the mode and size is identical).
With filecmp.cmp(f1, f2, shallow=True) a deep compare would be performed behind
the scenes since the guard clauses fell
Dear Pythonistas and solar power enthusiasts,
On behalf of the maintainers, we're happy to announce a new release of
pvlib python:
software for simulating performance of photovoltaic solar energy systems.
*See what's new for v0.8.1:*
* https://pvlib-python.readthedocs.io/en/stable/whatsnew.html
Alexander Greckov added the comment:
Thanks! That's resolved my problem, but this thing wasn't really obvious as for
me. Probably it would be better to write about this explicitly in docs for the
create_task. All in all this issue can be closed
New submission from Alexander Greckov :
Hi! I've met strange behaviour related to the coroutine execution. Probably
it's somehow related to the asyncio.Queue get() method. I have the following
lines of code:
class WeightSource:
def __init__(self):
self._queue = asyncio.Queue
Change by Alexander Kurakin :
--
nosy: +kuraga
___
Python tracker
<https://bugs.python.org/issue25538>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alexander Kurakin added the comment:
Ok, close.
--
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue42372>
___
__
Alexander Kurakin added the comment:
Thanks for reply!
Is it call of NULL? If so, shoudn't do_richcompare check it?
--
___
Python tracker
<https://bugs.python.org/issue42
New submission from Alexander Kurakin :
Sometimes test.py causes a crash in 3.7.9 (and lower to 2018 year or more) on
Linux.
See also: https://github.com/pandas-dev/pandas/issues/21968
--
components: Interpreter Core
files: issue.zip
messages: 381113
nosy: kuraga
priority: normal
containing
comma) returns false so it stops searching from that end and does the same at
the other end.
https://www.programiz.com/python-programming/methods/string/strip
Hope that helps.
Regards
Alexander
Alexander Neilson
Neilson Productions Limited
021 329 681
alexan...@neilson.net.nz
Change by Alexander Belopolsky :
--
resolution: -> wont fix
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Alexander Belopolsky added the comment:
I agree that having some of datetime.now([tz]) functionality replicated in
datetime.today() makes little sense. However, the presence of this method in
datetime class is a consequence of datetime being a subclass of the date class.
The latter
Alexander Todorov added the comment:
@Eryk Sun,
you are of course correct but still don't we need to handle this in Python?
- find_executable() will search for rst2man.py.exe which doesn't exist so no
good for the user
- there is also no rst2man.exe which is probably an issue with how
New submission from Alexander Todorov :
As part of installing python-bugzilla via pip it searches for `rst2man` or
`rst2man.py`, see:
https://github.com/python-bugzilla/python-bugzilla/blob/master/setup.py#L81
on Windows venvs there is venv\Scripts\rst2man.py (no .exe or without suffix
Dear Pythonistas and Solar Energy enthusiasts,
I am very happy to announce a new, major release of pvlib python, for
simulating the performance of photovoltaic solar energy systems.
*See what's new for v0.8.0:*
* https://pvlib-python.readthedocs.io/en/stable/whatsnew.html
*Releases are
Alexander Boeckmann added the comment:
So over the past week the issue resolved its self. I unfortunately did not get
a video or a screenshot but thought you might want to know this
So maybe Apple did something or you guys fixed it. Anyways, have a good day
Alexander Boeckmann added the comment:
Hey! I have the exact same thing as described happening! Python freezes when I
try to save new files which sucks.
I'm on Catalina: 10.15.6
IDLE: 3.8.5
Brand new MacBook Air
As said earlier the only way out is to force quit. Would taking a video help
Alexander Heger added the comment:
In my code, having been translated form use of `os.path` to `pathlib.Path` the
change in behaviour caused errors and required significant refactoring.
Why not just return the empty list if there is no match, as is done in other
cases when
New submission from Alexander Heger :
Passing an empty string to pathlib.Path.glob fails.
Example
```
from pathlib import Path
path = Path('./myfile.txt')
path.glob('')
```
The result is:
```
~/Python/lib/python3.8/pathlib.py in glob(self, pattern)
1129 ""
New submission from Alexander Sibiryakov :
See stack trace
[07/15/2020 08:51:14.799: ERROR/kafka.producer.sender] Uncaught error in kafka
producer I/O thread
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/kafka/producer/sender.py", line
Alexander Hungenberg added the comment:
I would also strongly vote for raising an error if the test method is a
generator - not even silently turn it into a list.
It would be straight forward to implement various checks (like the ones you
mentioned for generators, coroutines
New submission from Alexander Hungenberg :
The following testcase will always be marked as passed:
from unittest import TestCase
class BuggyTestCase(TestCase):
def test_generator(self):
self.assertTrue(False)
yield None
It happened to us that someone accidentally made
Alexander Mohr added the comment:
so I did some investigation into the difference between aiohttp + httpx and it
appears that for some reason httpx does an extra read after the connection is
closed.
--
___
Python tracker
<https://bugs.python.
Alexander Mohr added the comment:
I've updated https://repl.it/@thehesiod/PristineBonyBugs#main.py to contain
both httpx + aiohttp testcases, and now httpx reproduces almost immediately and
aiohttp is still ok
--
___
Python tracker
<ht
Alexander Mohr added the comment:
as an FYI I've reproduced this with the httpx library as well:
https://repl.it/repls/PristineBonyBugs#main.py. It reproduces on this site but
I've been unable to reproduce it locally. It does always reproduce on our
production systems.
what's interesting
Change by Alexander Mohr :
--
nosy: +thehesiod
___
Python tracker
<https://bugs.python.org/issue36098>
___
___
Python-bugs-list mailing list
Unsubscribe:
-methods
Happy to have helped and good luck with your Python journey.
Regards
Alexander
Alexander Neilson
Neilson Productions Limited
021 329 681
alexan...@neilson.net.nz
> On 24/06/2020, at 08:49, Tony Kaloki wrote:
>
>
> Alexander,
>Thank you so much! It wo
ore.
Regards
Alexander
Alexander Neilson
Neilson Productions Limited
021 329 681
alexan...@neilson.net.nz
> On 24/06/2020, at 07:57, Tony Kaloki wrote:
>
>
>
> Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
>
> From: Tony Kaloki<
Alexander Overvoorde added the comment:
I understand that it's not a perfect solution, but at least it's a little bit
closer. Thanks for your patch :)
--
___
Python tracker
<https://bugs.python.org/issue40
Alexander Overvoorde added the comment:
I'm not sure that it is expected since Popen.send_signal does contain the
following check:
```
def send_signal(self, sig):
"""Send a signal to the process."""
# Skip signalling a process that we know has alread
New submission from Alexander Overvoorde :
The following program frequently raises a ProcessLookupError exception when
calling proc.terminate():
```
import threading
import subprocess
import multiprocessing
proc = subprocess.Popen(["sh", "-c", "exit 0"])
q
Alexander Riccio added the comment:
Oh, uh, also, do you prefer I add a commit or a new branch & PR?
--
___
Python tracker
<https://bugs.python.org/iss
Alexander Riccio added the comment:
Ahh, ok. Even though I question the usefulness of manually maintaining MSBuild
files instead of something like CMake, I can work with that. Is there a
preferred way to do it? It looks like I can do a
Condition="'$(Configuration)|$(Platform)'=='Releas
New submission from Alexander Riccio :
This isn't a priority issue I'd say. However, fixing it could yield nice
benefits. I ran into this while experimenting with JUMBO/Unity builds as part
of a bit of fun I've been having tweaking build options across the CPython
ecosystem.
Theoretically
Change by Alexander Riccio :
--
keywords: +patch
pull_requests: +18658
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/19298
___
Python tracker
<https://bugs.python.org/issu
Change by Alexander Riccio :
--
pull_requests: +18659
pull_request: https://github.com/python/cpython/pull/19298
___
Python tracker
<https://bugs.python.org/issue40
New submission from Alexander Riccio :
Similarly to bpo-40145, I've tweaked build options to reduce the size of the
binary.
This patch turns on (for release builds) Whole Program Optimization, MinSpace
optimization, /Ob2 AnySuitable function inlining, /Zo (so that people can still
debug
New submission from Alexander Riccio :
This popped out at me while looking for something else. It's probably not much
of an actual problem, since the wrong datatype is larger than the correct one,
but it's worth fixing.
The problem is in overlapped_RegisterWaitWithQueue, at overlapped.c:297
Alexander Riccio added the comment:
If this patch is merged, and all 7 million (estimated) Python developers update
their installation, I calculate that I just saved the PSF 119GB worth of
bandwidth costs :)
I'll take my 10 cents in the mail please :D
Change by Alexander Riccio :
--
keywords: +patch
pull_requests: +18642
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/19284
___
Python tracker
<https://bugs.python.org/issu
New submission from Alexander Riccio :
I've tweaked the pcbuild options for pyshellext to reduce the size of the
binary.
Since this is a very simple component, there really isn't much benefit of
optimizing for speed, likely the slowest part of this component's lifetime is
simply loading
New submission from Alexander Riccio :
The "obvious" way to delete a directory tree on Windows is wrong. It's
inherently racy, since deleting a file on Windows *doesn't actually delete it*,
instead it marks the file for deletion. The system will eventually get around
t
Alexander Riccio added the comment:
Ok, so a draft of this produces 34 warnings, but makes way more changes to the
.vcxproj and .filters files than I think it should:
https://github.com/ariccio/cpython/commit/60152aa065a3ad861f0359a8ada7f2fbc83a3933
Before I submit a PR, I think I should
Alexander Riccio added the comment:
Sure, should I open a new issue?
--
nosy: -vstinner
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Alexander Riccio added the comment:
Hmmm, happens every time I interrupt while attached. Is there some obvious
gotcha in the docs that I'm missing?
--
___
Python tracker
<https://bugs.python.org/issue40
Alexander Riccio added the comment:
Lmao the name mangling comes up as a mailto. That's interesting.
--
___
Python tracker
<https://bugs.python.org/issue40
New submission from Alexander Riccio :
While trying to make sense of some static analysis warnings for the Windows
console IO module, I Ctrl+C'd in the middle of an intentionally absurd __repr__
output, and on proceeding in the debugger (which treated it as an exception), I
immediately hit
New submission from Alexander Riccio :
At line 138 in debughelpers.c, ssl_obj, which was set to NULL on line 122, is
dereferenced.
I think the original intent was to actually bubble the error up through the ssl
object.
Full function:
static void
_PySSL_keylog_callback(const SSL *ssl
1 - 100 of 4595 matches
Mail list logo