> py bug.py
Traceback (most recent call last):
File "C:\Usenet\bug.py", line 5, in
print( a + 12 )
TypeError: can only concatenate str (not "int") to str
Why doesn't Python (error msg) do the ob
/howto/logging.html
From: Python-list on behalf of
Bibi
Date: Wednesday, February 22, 2023 at 9:44 AM
To: python-list@python.org
Subject: Creating logs with Python
*** Attention: This is an external email. Use caution responding, opening
attachments or clicking on links. ***
Hello
I want
On 2/22/2023 1:45 PM, orzodk wrote:
Thomas Passin writes:
On 2/22/2023 12:00 AM, orzodk wrote:
Thomas Passin writes:
On 2/21/2023 9:00 PM, Hen Hanna wrote:
what editor do you (all) use to write Python code? (i use Vim)
I usually use the Leo-editor (https://github.com/leo-editor/leo
Thomas Passin writes:
> On 2/22/2023 12:00 AM, orzodk wrote:
>> Thomas Passin writes:
>>
>>> On 2/21/2023 9:00 PM, Hen Hanna wrote:
>>>> what editor do you (all) use to write Python code? (i use Vim)
>>>
>>> I usually use the Leo-editor
On 2023-02-22, Hen Hanna wrote:
>
> what editor do you (all) use to write Python code? (i use Vim)
>
For short editin I also use Vim and Pycharm IDE for bigger projects.
--
https://mail.python.org/mailman/listinfo/python-list
https://docs.python.org/3/howto/logging.html
From: Python-list on
behalf of Bibi
Date: Wednesday, February 22, 2023 at 9:44 AM
To: python-list@python.org
Subject: Creating logs with Python
*** Attention: This is an external email. Use caution responding, opening
attachments or clicking
Hello
I want to store and make available as part of my project, logs, for access to
data. Do you have any proposals?
Kind regards
--
https://mail.python.org/mailman/listinfo/python-list
On 2/22/2023 12:00 AM, orzodk wrote:
Thomas Passin writes:
On 2/21/2023 9:00 PM, Hen Hanna wrote:
what editor do you (all) use to write Python code? (i use Vim)
I usually use the Leo-editor (https://github.com/leo-editor/leo-editor
or PyPi). It's wonderful once you get it figured out
Thomas Passin writes:
> On 2/21/2023 9:00 PM, Hen Hanna wrote:
>> what editor do you (all) use to write Python code? (i use Vim)
>
> I usually use the Leo-editor (https://github.com/leo-editor/leo-editor
> or PyPi). It's wonderful once you get it figured out but it's got
On 2/21/2023 9:00 PM, Hen Hanna wrote:
what editor do you (all) use to write Python code? (i use Vim)
I usually use the Leo-editor (https://github.com/leo-editor/leo-editor
or PyPi). It's wonderful once you get it figured out but it's got a
real learning curve.
--
https
On Tue, 21 Feb 2023 18:00:20 -0800 (PST), Hen Hanna wrote:
> what editor do you (all) use to write Python code? (i use Vim)
I've used vim (gvim to be precise) for years and that has been my editor
of choice for Python. Lately I've been using Spyder.
As background, most of my Python w
Vim 2% of the time, PyCharm (with VI plugin) 98% of the time.
From: Python-list on
behalf of Hen Hanna
Date: Tuesday, February 21, 2023 at 9:38 PM
To: python-list@python.org
Subject: Python + Vim editor
*** Attention: This is an external email. Use caution responding, opening
attachments
what editor do you (all) use to write Python code? (i use Vim)
yesterday (?) i started noticing this with Bing search
e.g. i type [synonymrich] whch gives several synonyms,
and so (next) i try to replace [rich] by
something like
10.1
* `#17717 <https://github.com/scipy/scipy/pull/17717>`__: BUG: allow
readonly input to interpolate.interpn
* `#17721 <https://github.com/scipy/scipy/pull/17721>`__: MAINT: update
\`meson-python\` upper bound to <0.13.0
* `#17726 <https://github.com/scipy/scipy/pull/17726>`__:
Apologies!
It seems that I added python-comitters and python-announce but forgot to
add python-dev. Here is the email to python-announce:
[1]Mailman 3 [RELEASE]
Python 3.11.2, Python
3.10.10 and 3.12.0 alpha 5
are available - [2]favicon.ico
Python-announce
Hi,
I was surprised that Python 3.11.2 and 3.10.10 have been released without a
notice to this mailing list. What happened?
Thanks,
Uri.
אורי
u...@speedy.net
On Wed, Dec 7, 2022 at 1:03 AM Łukasz Langa wrote:
> Greetings! We bring you a slew of releases this fine Saint Nicho
Barry wrote:
>
>
> On 15 Feb 2023, at 17:23, Peter Slížik wrote:
>
> Hello,
>
> I'm trying to analyze complex Python code. For some specific reasons, I
> decided to use tracing instead of a debugger.
>
> The first thing I tried was:
>
> python -m trac
> On 15 Feb 2023, at 17:23, Peter Slížik wrote:
>
> Hello,
>
> I'm trying to analyze complex Python code. For some specific reasons, I
> decided to use tracing instead of a debugger.
>
> The first thing I tried was:
>
> python -m trace -t /path/to/file.py
&
directory and subdirectories. The
argument can be a list of directories separated by
os.pathsep<https://docs.python.org/3/library/os.html#os.pathsep>.”
From: Python-list on
behalf of Peter Slížik
Date: Wednesday, February 15, 2023 at 12:22 PM
To: python-list@python.org
Subject: Pytho
Hello,
I'm trying to analyze complex Python code. For some specific reasons, I
decided to use tracing instead of a debugger.
The first thing I tried was:
python -m trace -t /path/to/file.py
The output of this command turned out to be completely useless. The reason
is that there was a thread
Hello,
The installation file Python-3.8.10.exe (last version compatible with
Windows 7 (32 bit) ? )
does not automatically install pip on Windows 7.
Are there compatibility problems with Windows 7 ?
See attachment log file
Greetings
C.Sobotta
...
MSI (s) (3C:FC) [13:32:28:993]: Hello, I'm your
从 Windows 版[1]邮件发送
References
Visible links
1. https://go.microsoft.com/fwlink/?LinkId=550986
--
https://mail.python.org/mailman/listinfo/python-list
Hi everyone,
I am happy to report that after solving some last-time problems we have a
bunch of fresh releases for you:
### Python 3.12.0 alpha 5
Check the new alpha of 3.12 with some Star Trek vibes:
https://www.python.org/downloads/release/python-3120a5/
210 new commits since 3.12.0a4 last
On 2/8/2023 6:39 AM, Shaozhong SHI wrote:
What is the robust way to use Python to read in an XML and turn it into
a JSON file?
JSON dictionary is actually a tree. It is much easier to manage the
tree-structured data.
XML and JSON are both for interchanging data. What are you trying
What is the robust way to use Python to read in an XML and turn it into a
JSON file?
JSON dictionary is actually a tree. It is much easier to manage the
tree-structured data.
Regards,
David
--
https://mail.python.org/mailman/listinfo/python-list
PyCA cryptography 39.0.1 has been released to PyPI. cryptography
includes both high level recipes and low level interfaces to common
cryptographic algorithms such as symmetric ciphers, asymmetric
algorithms, message digests, X509, key derivation functions, and much
more. We support Python 3.6
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
Hi All,
On behalf of the NumPy team, I'm pleased to announce the release of NumPy
1.24.2. NumPy 1.24.2 is a maintenance release that fixes bugs and
regressions discovered after the 1.24.1 release.
The Python versions supported by this release are 3.8-3.11 Note that 32 bit
wheels are only
On 2/2/2023 1:56 PM, אורי wrote:
deadsnakes ppa don't have Python 3.10 for Ubuntu 22.04.
https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa
<https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa>
אורי
u...@speedy.net <mailto:u...@speedy.net>
I just last night installed 3.10
deadsnakes ppa don't have Python 3.10 for Ubuntu 22.04.
https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa
אורי
u...@speedy.net
On Wed, Feb 1, 2023 at 8:14 PM Thomas Passin wrote:
> On 2/1/2023 12:36 PM, אורי wrote:
> > Thank you all.
> >
> > I'm not familiar with
-isaves/
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail
eb 1, 2023 at 7:33 PM Jack Dangler wrote:
Ari
Have you tried running a snap update?
Regards
יַעֲקֹב
On 2/1/23 11:31, אורי wrote:
Hi,
I have a server with Ubuntu 22.04.1 LTS and the Python version there
is Python 3.10.6. Is there a safe way to upgrade to the latest
version of
Python 3.10 (3.
ards
יַעֲקֹב
On 2/1/23 11:31, אורי wrote:
Hi,
I have a server with Ubuntu 22.04.1 LTS and the Python version there
is Python 3.10.6. Is there a safe way to upgrade to the latest
version of
Python 3.10 (3.10.9)? I tried with the OS update and upgrade but the
Python
version remained the same.
Th
/ppa
More than likely it will have your package. See
https://github.com/deadsnakes
On Wed, Feb 1, 2023 at 7:33 PM Jack Dangler wrote:
Ari
Have you tried running a snap update?
Regards
יַעֲקֹב
On 2/1/23 11:31, אורי wrote:
Hi,
I have a server with Ubuntu 22.04.1 LTS and the Python ver
יַעֲקֹב
>
> On 2/1/23 11:31, אורי wrote:
> > Hi,
> >
> > I have a server with Ubuntu 22.04.1 LTS and the Python version there
> > is Python 3.10.6. Is there a safe way to upgrade to the latest version of
> > Python 3.10 (3.10.9)? I tried with the OS upda
Ari
Have you tried running a snap update?
Regards
יַעֲקֹב
On 2/1/23 11:31, אורי wrote:
Hi,
I have a server with Ubuntu 22.04.1 LTS and the Python version there
is Python 3.10.6. Is there a safe way to upgrade to the latest version of
Python 3.10 (3.10.9)? I tried with the OS update
On Thu, 2 Feb 2023 at 03:33, אורי wrote:
>
> Hi,
>
> I have a server with Ubuntu 22.04.1 LTS and the Python version there
> is Python 3.10.6. Is there a safe way to upgrade to the latest version of
> Python 3.10 (3.10.9)? I tried with the OS update and upgrade but th
>
>
> I have a server with Ubuntu 22.04.1 LTS and the Python version there
> is Python 3.10.6. Is there a safe way to upgrade to the latest version of
> Python 3.10 (3.10.9)? I tried with the OS update and upgrade but the Python
> version remained the same.
>
> I hav
On 2023-02-01, אורי wrote:
> I have a server with Ubuntu 22.04.1 LTS and the Python version there
> is Python 3.10.6. Is there a safe way to upgrade to the latest version of
> Python 3.10 (3.10.9)? I tried with the OS update and upgrade but the Python
> version remai
Hi,
I have a server with Ubuntu 22.04.1 LTS and the Python version there
is Python 3.10.6. Is there a safe way to upgrade to the latest version of
Python 3.10 (3.10.9)? I tried with the OS update and upgrade but the Python
version remained the same.
Thanks,
אורי
u...@speedy.net
--
https
On 1/27/23, Bela Gesztesi wrote:
>
> I'm not that familiar with the steps to be taken.
>
> How do I find the app version of Python for my desktop?
> or
> I don't know how to disable the "python.exe" and "python3.exe" app aliases
To install the app versio
Barry
Maybe five or ten minutes at or above 100 deg C every few months might not make
a noticeable lifetime difference, who knows? I don't want to make a habit of
it. I wouldn't drive my car very long with a low oil pressure warning active,
either.
--
https://mail.python.org/mailman/
t
computers didn't have throttling and power reduction, so I got
sensitized to it. Better safe than sorry. Airliners have safeguards
against stalling, but it's a lot better not to try to stall them anyway
(speaking as a (non-airline) pilot).
Let's give this a rest, shall we?
--
https://mail.python.org/mailman/listinfo/python-list
.intel.com/content/www/us/en/support/articles/05597/processors.html
>
> The utilities I used always stated a 100 deg limit for Tj.
>
Yeah, so "maximum" is "before performance loss", not "before damage".
ChrisA
--
https://mail.python.org/mailman/listinfo/python-list
stem is throttling and power
limiting during this particular test. That's good. And I'm still going
to stay away from the highest temperatures when possible.
Nuff said!
--
https://mail.python.org/mailman/listinfo/python-list
or above 100 deg C every few months might not
> make a noticeable lifetime difference, who knows? I don't want to make a
> habit of it. I wouldn't drive my car very long with a low oil pressure
> warning active, either.
> --
> https://mail.python.org/mailman/listinfo/python-list
>
--
https://mail.python.org/mailman/listinfo/python-list
endif /* _DEBUG */
# endif /* _MSC_VER */
# endif /* Py_BUILD_CORE */
#endif /* MS_COREDLL */
--
https://mail.python.org/mailman/listinfo/python-list
On 1/26/23, Bela Gesztesi wrote:
>
> C:\DJI>py comm_og_service_tool.py WM231 --port COM3 GimbalCalib JointCoarse
>
> Python was not found; run without arguments to install from the Microsoft
> Store, or disable this shortcut from Settings > Manage App Execution
> Aliase
I have downloaded python, checking path installation and I receive the
following:
C:\DJI>py comm_og_service_tool.py WM231 --port COM3 GimbalCalib JointCoarse
Python was not found; run without arguments to install from the Microsoft
Store, or disable this shortcut from Settings > Mana
basis it called it
"danger". Notably, whether there's any sort of actual manufacturer
threshold that that was based on.
Personally? Very dubious. Your entire premise is "five degrees MUST be
a problem", without any visible basis.
ChrisA
--
https://mail.python.org/mailman/listinfo/python-list
re warning active, either."
--
https://mail.python.org/mailman/listinfo/python-list
personal analysis, that the CPU was just seconds away from total
destruction?
ChrisA
--
https://mail.python.org/mailman/listinfo/python-list
ssure warning active, either.
--
https://mail.python.org/mailman/listinfo/python-list
st throttle the fans up and the CPU down to keep the core
temperature within limits?
--
Grant
--
https://mail.python.org/mailman/listinfo/python-list
able to actually
damage your CPU this way. Maybe you could reduce the lifetime that way
(the same way that crypto mining can shorten the lifespan of a GPU),
but it shouldn't cause any sort of immediate damage. Even on a laptop.
Feel free to prove me wrong, though.
ChrisA
--
https://mail.python.org/mailman/listinfo/python-list
ye on their CPU core temperatures. In my experience,
that's a real concern, whether or not it "should not" be an issue.
--
https://mail.python.org/mailman/listinfo/python-list
On 1/25/2023 4:30 PM, Thomas Passin wrote:
On 1/25/2023 3:29 PM, Dino wrote:
Great! Don't forget what I said about potential overheating if you hit
the server with as many requests as it can handle.
Noted. Thank you.
--
https://mail.python.org/mailman/listinfo/python-list
Hi,I am in the process of trying to make my code (an c++ executable
and swig modules using the Python C API) lose the dependency to python
3.7, to be compatible with all Python 3.2+
I tried linking to python.lib instead of python37.lib. As i am still
using a few things that are not in the limited
ng, it’s the OS and CPU protecting
themselves from overheating.
Usually because the manufacturer didn’t add enough cooling to keep the system
cool enough with a continuous load. (Which to be honest, almost no laptop
designers do, because they assuming you are going to be having a spiky load
instead…
- Benjamin
--
https://mail.python.org/mailman/listinfo/python-list
consumer grade laptop - my development
> machine - you need to be careful.
A properly designed laptop with a non-broken OS will not overheat
regardless of the computing load you throw at it. The fan might get
annoying loud, but if it overheats either your hardware or OS needs
to be fixed.
--
Grant
--
https://mail.python.org/mailman/listinfo/python-list
love it.
Thanks again.
That's the one I was trying to remember! I think it was in in its early
days when I tried it out.
--
https://mail.python.org/mailman/listinfo/python-list
John McCardle wrote at 2023-1-25 22:31 -0500:
> ...
>1) To get the compiled Python to run independently, I have to hack
>LD_LIBRARY_PATH to get it to execute. `LD_LIBRARY_PATH=./Python-3.11.1
>./Python-3.11.1/python` .
The need to set `LD_LIBRARY_PATH` usually can be avoided via
://mail.python.org/mailman/listinfo/python-list
er
server with much better cooling. I didn't care about that except for
protecting my own laptop.
And this is way OT for the OP's question.
--
https://mail.python.org/mailman/listinfo/python-list
Greetings,
I'm working on embedding a Python interpreter into a C++ application. My
embedding example program is here, largely taken from Python docs:
https://gist.github.com/jmccardle/f3f19d3753ae023aa52b927f0d181c43
I'm simply not interested in writing in Lua, so regardless of any
ne specific possible consequence, rather than, I
dunno, just put the system under load and see how it performs?
ChrisA
--
https://mail.python.org/mailman/listinfo/python-list
not servicing the requests per se that's the issue,
it's the heavy computing load that has to be done for each request. The
CPU is generally pegged at 100% for most or all of the test.
--
https://mail.python.org/mailman/listinfo/python-list
n: PGP signature
--
https://mail.python.org/mailman/listinfo/python-list
On 1/25/2023 3:29 PM, Dino wrote:
On 1/25/2023 1:21 PM, Thomas Passin wrote:
I actually have a Python program that does exactly this.
Thank you, Thomas. I'll check out Locust, mentioned by Orzodk, as it
looks like a mature library that appears to do exactly what I was hoping.
Great
On 1/25/2023 1:21 PM, Thomas Passin wrote:
I actually have a Python program that does exactly this.
Thank you, Thomas. I'll check out Locust, mentioned by Orzodk, as it
looks like a mature library that appears to do exactly what I was hoping.
--
https://mail.python.org/mailman
On 1/25/2023 1:33 PM, orzodk wrote:
I have used locust with success in the past.
https://locust.io
First impression, exactly what I need. Thank you Orzo!
--
https://mail.python.org/mailman/listinfo/python-list
Dino writes:
> Hello, I could use something like Apache ab in Python (
> https://httpd.apache.org/docs/2.4/programs/ab.html ).
>
> The reason why ab doesn't quite cut it for me is that I need to define
> a pool of HTTP requests and I want the tool to run those (as opposed
> t
On 1/25/2023 10:53 AM, Dino wrote:
Hello, I could use something like Apache ab in Python (
https://httpd.apache.org/docs/2.4/programs/ab.html ).
The reason why ab doesn't quite cut it for me is that I need to define a
pool of HTTP requests and I want the tool to run those (as opposed
Hello, I could use something like Apache ab in Python (
https://httpd.apache.org/docs/2.4/programs/ab.html ).
The reason why ab doesn't quite cut it for me is that I need to define a
pool of HTTP requests and I want the tool to run those (as opposed to
running the same request over
│ │ └── test-documents
│ └── validate-semantic
│ ├── 2and3
│ ├── bugs
│ └── oas3
└── standalone
└── topbar-insert
I just thought that it would be great if there was a Python utility that
visualized a similar graph for nested data structures.
Of course I am aware of indent
])
return result
--
https://mail.python.org/mailman/listinfo/python-list
https://docs.python.org/3/library/pprint.html
From: Python-list on
behalf of Dino
Date: Saturday, January 21, 2023 at 11:42 AM
To: python-list@python.org
Subject: tree representation of Python data
*** Attention: This is an external email. Use caution responding, opening
attachments
-semantic
│ ├── 2and3
│ ├── bugs
│ └── oas3
└── standalone
└── topbar-insert
I just thought that it would be great if there was a Python utility that
visualized a similar graph for nested data structures.
Of course I am aware of indent (json.dumps()) and pprint
What is python-oracledb?
python-oracledb is a Python extension module that enables access to Oracle
Database for Python and conforms to the Python database API 2.0
specifications with a number of enhancements. This module is intended to
eventually replace cx_Oracle.
Where do I get it?
https
.
I suspect there isn't an easy way out, and probably the thing your making has
to be 100% usably done before a maintenance tools can be created to make it
easy, anyway.
Its the way it is, maybe,
Daniel B. Kolis
--
https://mail.python.org/mailman/listinfo/python-list
python-build-standalone
(https://github.com/indygreg/python-build-standalone) is a project
that produces standalone, highly portable builds of CPython that are
designed to run on as many machines as possible with no additional
dependencies. I created the project for PyOxidizer
(https://github.com
On 1/11/23 13:21, Dieter Maurer wrote:
aapost wrote at 2023-1-10 22:15 -0500:
On 1/4/23 12:13, aapost wrote:
On 1/4/23 09:42, Dieter Maurer wrote:
...
You might have a look at `PyXB`, too.
It tries hard to enforce schema restrictions in Python code.
...
Unfortunately picking it apart
of the box, but it
does have a to_objects function and I have learned quite a bit while
picking it apart. I am able to patch it to be good enough for my
requirements.
Below is the patch for anyone interested:
#
# Contribution for the xmlschema & elementpath python modules which are
# Copyrigh
described in my original post is limited to a case such as x = y where both "x" and "y" are arrays – whether they are lists in Python, or from
the array module – and the question in a compiled C extension is whether the assignment can be done simply by "x" taking
<<< Frank Millman>>> My 'aha' moment came when I understood that a python
object has only three properties - a type, an id, and a value. It does *not*
have a name.
Yes, Frank, it is a bit like how some people need to wrap their minds around a
concept like an anonymous functi
On 2023-01-15 4:36 AM, Roel Schroeven wrote:
Chris Angelico schreef op 15/01/2023 om 1:41:
On Sun, 15 Jan 2023 at 11:38, Jen Kris wrote:
>
> Yes, in fact I asked my original question – "I discovered something
about Python array handling that I would like to clarify" -
Chris Angelico schreef op 15/01/2023 om 1:41:
On Sun, 15 Jan 2023 at 11:38, Jen Kris wrote:
>
> Yes, in fact I asked my original question – "I discovered something about Python
array handling that I would like to clarify" -- because I saw that Python did it t
On Sun, 15 Jan 2023 at 11:38, Jen Kris wrote:
>
> Yes, in fact I asked my original question – "I discovered something about
> Python array handling that I would like to clarify" -- because I saw that
> Python did it that way.
>
Yep. This is not specific to arrays;
Yes, in fact I asked my original question – "I discovered something about
Python array handling that I would like to clarify" -- because I saw that
Python did it that way.
Jan 14, 2023, 15:51 by ros...@gmail.com:
> On Sun, 15 Jan 2023 at 10:32, Jen Kris via Python-
On Sun, 15 Jan 2023 at 10:32, Jen Kris via Python-list
wrote:
> The situation I described in my original post is limited to a case such as x
> = y ... the assignment can be done simply by "x" taking the pointer to "y"
> rather than moving all the data from &quo
original post is limited to a case such as x =
y where both "x" and "y" are arrays – whether they are lists in Python, or from
the array module – and the question in a compiled C extension is whether the
assignment can be done simply by "x" taking the pointer
Sottile
* Bruno Oliveira
* Daniel Valenzuela
* Kadino
* Prerak Patel
* Ronny Pfannschmidt
* Santiago Castro
* s-padmanaban
Happy testing,
The pytest Development Team
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe
that changed.
But this is really far from unique. In the example given of creating a
partial call, what if you made a second copy to that call then the first
variable to the partial function was re-defined.
-Original Message-
From: Python-list On
Behalf Of Axel Reichert
Sent: Friday, January
scope. So even if
your code is currently valid, after it changes, a later compiler if it detected
some change might not want to do your speedup.
I think the subject line of the message we keep exchanging is now a bit
misleading. It is not about two objects nor really about how python handles
Jen,
This may not be on target but I was wondering about your needs in this
category. Are all your data in a form where all in a cluster are the same
object type, such as floating point?
Python has features designed to allow you to get multiple views on such objects
such as memoryview
On 2023-01-13 16:57:45 +0100, Jen Kris via Python-list wrote:
> Thanks for your comments. You make a good point.
>
> Going back to my original question, and using your slice() example:
>
> middle_by_two = slice(5, 10, 2)
> nums = [n for n in range(12)]
> q = nums[midd
gt;> b=1234
> >>> a is b
> False
>
> Not sure what happens if you manipulate the data referenced by 'b' in the
> first example thinking you are changing something referred to by 'a' ... but
> you might be smart to NOT think that you know.
>
>
>
&
mind the behaviour to me
seems to be completely as expected. No surprises here, or do I miss
something?
Best regards
Axel
--
https://mail.python.org/mailman/listinfo/python-list
alse
Not sure what happens if you manipulate the data referenced by 'b' in the
first example thinking you are changing something referred to by 'a' ...
but you might be smart to NOT think that you know.
On Fri, Jan 13, 2023 at 9:00 AM Jen Kris via Python-list <
python-list@python.org> wro
s[middle_by_two]
x = id(q)
y = id(b)
Now "x" and "y" are different, as we would expect. So when writing a spot
speed up in a compiled language, you can see in the Python source if either is
reassigned, so you’ll know how to handle it. The motivation behind my question
wa
901 - 1000 of 154364 matches
Mail list logo