inions just need to remember
to tack on the next line.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
ants announcement in a TV commercial.
I suspect other Mac users stuck on Snow Leopard who are not Python
developers would rue the lack of binary installers more than me.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/ma
> That's why I get my Python (for Snow Leopard) from MacPorts.
Unless things have changed, that probably doesn't support Mac-specific
stuff, does it?
I was thinking more of non-developer users who are likely to need/want
Mac-specific interfaces for tools which are written in Python. That
might ju
FILE
(built-in)
MODULE DOCS
http://docs.python.org/library/sys
...
(pydoc too, though I'm 99.9% sure they use the same underlying
facility Ping originally implemented.)
Skip
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.py
Do you have a suggested workflow for people
who might want to use Git in preference to Hg, but still have write
access?
Skip
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.pyth
Splitting into two pieces also means you can implement it for 3.4
first and identify possible problems caused by preexisting pip
installs before deciding whether to add it to 2.7 and 3.3.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
https
even be in the Zen of Python somewhere, if you read between the
lines... :-)
Skip
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
http://python-history.blogspot.com/2009/03/great-or-grand-renaming.html>.
Looking at the documentation on defining new types, I saw no mention of
these peculiarly named constants, though they are clearly documented.
Thanks,
Skip
___
Python-Dev mailing
spect, and one of
that set of flags does have a "PY_" prefix. Why didn't these flags
(and the T_* flags in structmember.h) get swept up in all the hubbub
around the grand renaming.
Skip
On Mon, Oct 3, 2016 at 10:39 AM, Victor Stinner
wrote:
> 2016-10-03 15:37 GMT+02:00 Skip Mo
10.11.6 (El Capitan)
and XCode 8.0 installed.
Any suggestions?
Skip
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
On Thu, Oct 20, 2016 at 6:47 AM, Skip Montanaro
wrote:
> Is it possible that the fix wasn't propagated to
> the 2.7 branch? Or perhaps I've fouled up my hg repo relationships?
Either way, I went ahead and opened a ticket:
http://bugs.python.o
sary target for _math.o. That
must have been one of the six updated files.
Is there some deficiency in a plain hg update command which suggests I
should always use the more complex command you suggested? It's not a huge
deal typing-wise, as I use a shell script to rebuild my world, doing t
oblem, but I'm still a bit confused
(nothing new, in addition to which I only use hg for my Python
repositories)... Why didn't a plain "hg up" tell me it couldn't update
some files because of changes? Or, like git (I think), attempt to
incorporate the upstrea
I need to do a little 2.6 spelunking. I don't see a 2.6 branch in the
output of "hg branches". Is "hg clone v2.6.9" the proper incantation to get
the latest version (or perhaps "v2.6")?
Thx,
Skip
___
Python-Dev maili
Cool, thanks to Ned and Zach. Hg never gets allocated very many neurons in
my brain. Then there's the whole brain-in-neutral aspect of things which
makes me fail to consider there might be help and/or closed branches which
aren't displayed... Sorry for the distract
x27;s been their for ages, so there must have been
a good reason at one time. Is that reason still valid today? (I haven't
programmed at the C API level for a good long while, or I'm sure I'd have
encountered this before.)
Thx,
Skip
___
Pytho
. I hope it's better now.
I added a comment to Alexander's bug report.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-
in Tools/gdb or Misc.)
I'm a simple man. I need the kind of stuff Misc/gdbinit provides
(smart stack traces and variable printing), but I most frequently use
the pyo user-defined command to print the contents of PyObject
pointers. When they are working () pystack and pyframe are also
useful.
Skip
ing for me on a debug build of Python 2.7.13 (I
ran strings over my GDB executable first to see if it knew anything
about Python, and it did).
Thx,
Skip
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-
focuses. This could very well be a useful gauge for potential
users.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail
d_escape) < 0) {
> Py_DECREF(result);
> return NULL;
> }
>
> What other core developers think about this?
Wow, this discussion takes me back. Glad I don't have to check out
comp.lang.c to get my brace placement fix.
Skip
_
ly, the pyc 0xd1f20d0a magic
> number isn't kept in memory. So, how do I find the memory holding the
> compiled byte-code ?
Correct. The module level bytecode is executed once at import time,
then discarded, at least that used to be how it was done.
Skip
_
platforms that support it.
I've been using Emacs far longer than Python. I remember having to invoke
temacs on something. Still, if I didn't know better, I could be convinced
you were referring to the GIL. :-)
Skip
___
Python-Dev mailing list
Py
sounds like something
he might say.
Skip
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at
https://mail.pyt
a huge disappointment to abandon it now. The problems faced at
this point would have been amortized over years of development if the GIL
had been removed 20 years ago. I say go for it.
Skip
___
Python-Dev mailing list -- python-dev@python.o
take a look when I get a chance. Might give me the excuse I
need to wake up extra early and tag along with Dave on an early morning
bike ride.
Skip
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python
Skip> 1. I use numpy arrays filled with random values, and the output array
is also a numpy array. The vector multiplication is done in a simple for
loop in my vecmul() function.
CHB> probably doesn't make a difference for this exercise, but numpy arrays
make lousy replacements for
;ve somehow stumbled on some instruction mix for which the nogil VM
is much worse than the stock VM. For now, I prefer to think I'm just doing
something stupid. It certainly wouldn't be the first time.
Skip
P.S. I suppose I should have cc'd Sam when I first replied to this
thread,
to the 1.19/1.21
performance differences and recommend they force install 1.19 in
non-nogil builds for testing purposes. Hopefully adding a simple note
to your README will take less time than porting your changes to numpy
1.21 and adjusting your build configs/scripts.
Skip
_
mized.
So, while you could optimize expressions involving just constants, the
benefit would be exceedingly small compared to the effort to write and
maintain the optimization code.
Skip
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe se
comparisons of two constants. I suppose
sweeping up all of that into a constant expression folding/elimination
step performed on the AST and/or during peephole optimization would
cover both cases.
Skip
___
Python-Dev mailing list -- python-dev@python.org
these objects.
Skip
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at
https://mail.python.org/archives/list/p
> Is anyone else also getting multiple subscription notices?
>
Yup. In an earlier thread (here? discuss.python.org?) I thought it was
established that someone was working on something related to Python bug
tracking in GitHub. Or something like that. I've just been deleting
Perhaps I missed it, but maybe an action item would be to add a
buildbot which configures for 15-bit PyLong digits.
Skip
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https
ing on a crutch to generate complex C type
declarations. I no longer recall what it was called, but you gave it a
restricted English description of what you wanted ("function returning
pointer to function returning void pointer" or something similar) and it
spit out the necessary
ons doesn't mean
that (a) mapping the semantics of the desired declarations onto existing
syntax will be straightforward or (b) that the semantics of those
declarations will be reflected as effortlessly as it reflects runtime
semantics.
Skip
___
Python-De
rame (1.0.something).
Part of its appeal to me at least (and to many others I think) was
that it was the anti-Perl. Perl's obfuscation wasn't in its typing. It
was elsewhere (everywhere else?). With a full-fledged type system in
place it see
would be to fork the
existing module and publish your prototype on PyPI. Here's a PyPI module
(last updated several years ago) that purports to color traceback output:
https://pypi.org/project/colored-traceback/
(This really belongs on python-ideas, right?)
Skip
>
__
n website developers to insure their sites operate in the
face of such tools. I'm referring to common tools, Brave, DuckDuckGo
anti-teaching VPN, pihole, Firefox, etc.
Skip
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe se
Dang auto-correct... I meant "anti-tracking," in case it wasn't obvious.
Skip
On Wed, Mar 16, 2022, 10:19 AM Skip Montanaro
wrote:
> One thing I would mention though is people who can reproduce it check if
>> you have any extensions enabled or other tools that can
over unit testing,
documentation, package variations and such?
Just thinking out loud...
Skip
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/pytho
age from
> PyPI, though many people seem to skip it.)
I will point out that you quoted my entire post except for the most
important line, the one which reads:
> Just thinking out loud...
I am still thinking out loud, so keep that in mind. (Perhaps this belongs
on one of the two ideas groups, but
packages, I think it
might be worthwhile to give them the chance to chime in.
Skip
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.o
isn't really associated with a particular person or
small group.
Skip
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.or
On Wed, Mar 30, 2022, 12:02 PM Toshio Kuratomi wrote:
>
> As just one example, i found two interesting items in the discussion
> started by Skip about determining what modules don't have maintainers just
> downstream if this.
>
Age in snake years doesn't necessarily
media
interfaces - I do more than just Python stuff online, and suspect many
other people do). Still, I understand that I am a dinosaur and the world is
changing, so I shouldn't be surprised that a meteor is approaching.
Skip
>
___
Python-Dev maili
r continuing to subscribe is that it feeds into a
process that updates a dictionary of "common" words used by my
XKCD-936-derived password generator.
Thx,
Skip
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-d
referring more broadly
than just Python, or even Python development, though even within the Python
community it's now difficult to manage/monitor all the various discussion
sources (email, discuss, GitHub, Stack Overflow, ...)
Get off my lawn! ;-)
Skip, kinda glad he's retired now...
hreaded clients.
>
Don't forget that used to be the case. ;-)
Skip
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.pytho
I have a perhaps stupid question. Is Discord the same as
discuss.python.org, just by another name? I find the similarity in
names a bit confusing.
Skip
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le
pportunity" to buy boosts (or
whatever). What's up with that? Do we really need yet another place
full of overlapping discussion channels?
Skip
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-l
us where to post that question. The fragmented
community means you stand a greater chance of guessing wrong and have it
not be seen by anyone who can help.
Just my 2¢
Skip
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email
or "antigravity",
but those are now old (both introduced before 2010). When was the last time
a clever easter egg was introduced or an April Fool's Day joke played?
¯\_(ツ)_/¯
Skip
___
Python-Dev mailing list -- python-dev@python.org
T
n Emacs user and am aware that GDB since 7.0 has
support for debugging at the Python code level. Is Emacs+GDB my best
bet? Are there any Python IDEs which support C-level breakpoints and
debugging?
Thanks,
Skip
___
Python-Dev mailing list -- pytho
t. I will eventually need mixed language
debugging though. And, as an Emacs user, how this might play in that
sandbox is of interest.
Skip
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.or
hich
present a significant support burden.
Skip
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at
https://mai
of macros for more than trivial use cases (constant defs,
simple one-liners) be discouraged at this point?
Skip
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mail
to current fall through).
Still, I'm not terribly worried about existing usage, especially in
stable, well-tested code. I guess I'm more wondering if a preference
for inline functions shouldn't be mentioned in PEP 7 for future
authors.
Skip
Skip
_
d as
well or better. My more general question stands. Should PEP 7 say
something about the two? (Someone mentioned constants. Should they be
preferred over macros?)
Skip
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python
python-dev@python.org/thread/EMH62JYFLIL5FJ3EPOKX3NKCPCO3TCPH/
Any pointers to older messages appreciated...
Skip
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mail
Internet never forgets. Even if my personal quest (old messages
about Rattlesnake and other alternative virtual machine projects) fails to
bear fruit, I suspect there is value in maintaining the history of the
Python language.
Thx again...
Skip
___
Python-Dev
Thanks all. I just pinged Ken and am going to rummage around mail.python.org
for a bit.
Skip
On Mon, Jan 6, 2020 at 12:10 PM Barry Warsaw wrote:
> comp.lang.python and thus python-list definitely predate Mailman. In
> fact, my earliest Python story involves seeing c.l.py creation, br
Thanks. Mirroring to my laptop now. Will discuss how to preserve it more
permanently with postmaster.
Skip
On Mon, Jan 6, 2020 at 4:43 PM Guido van Rossum wrote:
> Via Twitter I got
> ftp://ftp.ntua.gr/mirror/python/search/hypermail/python-recent/, which
> has earlier python-list
s. I believe I am off and running...
Skip
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at
https://mail.py
wer level?
Whatever the correct answer is, I suspect the same constraints should
apply to all Include/cpython/*.h files.
Skip
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.py
ideas, python-list or
python-dev. Each rejected idea could link to one or more relevant
threads in one of those lists. Not sure who should be the gatemasters
for new bad ideas.
Skip
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an e
hange wouldn’t work.
Skip
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at
https://mail.python.org/archives
ot;Just run X% of the tests at random plus any which failed on
the previous run," but it's not horrible as-is. If it doesn't already
exist (implying I didn't just miss it), perhaps it could be a good
"easy" feature request for core dev novitiates.
Skip
___
. For the
curious, I've pushed the change to my fork:
https://github.com/smontanaro/cpython/commit/318f16ff76e91e665b779e3b478a4406d0a9c0ec
As I expected, almost all the changes were in frameobject.c. The other
changes were mostly just to remove no
e docs give a tantalizing
suggestion:
Example of output of the Python test suite:
but I see no command line args related to running the test suite with
tracemalloc enabled.
Pointers appreciated.
Skip
___
Python-Dev mailing list -- python-dev@python.org
To uns
(Note that I'm not
asking for help there, just pointing out for the curious where my
busted code is.)
Thanks for both of your responses.
Skip
typescript
Description: Binary data
___
Python-Dev mailing list -- python-dev@python.org
To unsubscr
ng
Py_CLEAR. The stack/register space is also Py_CLEAR'd when the frame
is first allocated.
Skip
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lis
ceback (most recent call last):
File "", line 1, in
AttributeError: module 'sys' has no attribute '__file__'
>>> import _warnings
>>> _warnings.__file__
Traceback (most recent call last):
File "", line 1, in
AttributeError: modu
of state in
the generator.
I think it's worse that this though, as it seems that in gen_send_ex()
it actually pushes a value onto the stack. That can't be solved by
simply adding a state attribute to the generator object struct.
Skip
___
P
result = arg ? arg : Py_None;
Py_INCREF(result);
*(f->f_stacktop++) = result;
Thanks for the replies. I will cook up some private API in my cpython
fork. Whether or not my new vm ever sees the light of day, I think it
would be worthwhile to consider a proper API
ISTER branches). I am specifically not
holding this up as a proposal for how to do this (I am largely ignorant of
many of the internal or CPython-specific aspects of the C API). Still, the
tests pass and I can start to address those fatal errors.
Skip
.
he first local variable on the stack is used to fill
anything in, certainly not within the block guarded by the type == NULL
expression.
Skip
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@pytho
http://bugs.python.org/issue7147
Passes test (no big surprise there). Doesn't yet include any changes
to documentation
or Misc/NEWS entry. Should this be decided I will take a look at that.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
amental restriction
or could it be overcome with a modest amount of work?
Just curious...
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
iment with them.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
(http://svn.python.org)
Something seems amiss.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Why not just skip the specifics except to say < 80 characters for all
lines? Don't mention 72, 79 or any other number than 80:
Maximum Line Length
There are still many devices around that are limited to 80 character
lines; plus, limiting windows to 80 characters
generated. Am I supposed to block
either the earlier revision (65605) from being merged from trunk to py3k or
the later revision (65611) from being merged from py3k to trunk?
Thx,
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.p
ears to be much more
robust than the 0.52 third-party release.)
Thanks,
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/arch
> I had been approached to do the exact same thing, are you trying to
> back port the trunk version (2.6) or py3000?
I'm trying to backport from 2.6. It appears that the buffer stuff is
completely
new though (backported from Python 3.0).
S
___
Python
proposed changes to be implemented and to
stablize?
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
get any,
I haven't done any Python core development work in quite awhile, but
BITD, I always just used the current tip of whatever version control
system we happened to be using. That would automatically get me all
the pre-release versions. No need to beg. :-)
Skip
_
but my guess is that at the point where the error is
detected the system won't know what line number corresponds to the
assignment. There might also be multiple assignments. How would you
know which one to pick?
As for a better word than "created", I would use "assigned.
block of code only matched on Solaris, and the fact that
find_library is quite broken now on that platform), it's hard to see
how things would be worse after applying it.
BTW, this will be a requirement for getting PyPy running on Solaris.
(That's the context where i encountered it.)
Tha
or just brain freeze? :-)
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
er still seems to have legs, and an
implementation:
http://pypi.python.org/pypi/pathlib/0.7
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/py
Raymond> decorators, etc.
Not to mention which, such beasts aren't commonly available for C. What
about C++?
I found it interesting that a guy at work wrote a string caching class for
our C++ programmers to use. He told me he got the idea from Python&
get a single file distribution as well as dynamic
compilation.
Skip
___
Python-Dev mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
;t use
it. Maybe I have too much faith in psyco. ;-)
Skip
___
Python-Dev mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
rkshop on a peephole optimizer for Python. Also, Michael
Hudson has his no-longer-active bytecodehacks stuff:
http://www.foretec.com/python/workshops/1998-11/proceedings/papers/montanaro/montanaro.html
http://bytecodehacks.sourceforge.net/bch-docs/bch/index.ht
want to achieve.
That's more-or-less the scheme adopted where I work. If we have two
versions of a sybase module installed side-by-side, the imports might look
like:
import local.db.sybase.v1 as sybase
or
import local.db.sybase.v2 as sybase
It's a bit cumbersome, but it
; import spam[0]as spamnow # current version
Eric> assert spamnow.Ni() == spamnext.Ni()
>From the Zen of Python I quote:
Namespaces are one honking great idea -- let's do more of those!
import spam.v1 as spamnext
import spam.v0 as spamnow
assert spamnow.Ni
xternal visibility/involvement)
* Who really feels the need to subscribe to yet another mailing list?
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mail
thing to the implementation and
just complicate the _csv extension module slightly. I'm also not aware that
anyone really uses the Sniffer class, though it does provide some useful
functionality should you need to analyze random CSV files.
Skip
__
Magnus> I'll be happy to re-send or summarize the relevant emails, if
Magnus> needed.
Yes, that would be helpful. Can you send me an example (three or four
lines) of the sort of file it won't grok?
Skip
___
Python-Dev mai
1101 - 1200 of 1295 matches
Mail list logo