Re: [Python-Dev] License() release list is imcomplete; intentional?

2013-09-17 Thread Skip Montanaro
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

Re: [Python-Dev] Compiler for the Mac OS X version of Python 3.4

2013-09-18 Thread Skip Montanaro
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

Re: [Python-Dev] Compiler for the Mac OS X version of Python 3.4

2013-09-18 Thread Skip Montanaro
> 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

Re: [Python-Dev] Best practice for documentation for std lib

2013-09-23 Thread Skip Montanaro
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

Re: [Python-Dev] Semi-official read-only Github mirror of the CPython Mercurial repository

2013-09-30 Thread Skip Montanaro
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

Re: [Python-Dev] PEP 453 (pip bootstrapping) ready for pronouncement?

2013-09-30 Thread Skip Montanaro
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

Re: [Python-Dev] Checking in Argument Clinic early?

2013-10-15 Thread Skip Montanaro
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

[Python-Dev] Missing PY_ prefixes in structmember.h

2016-10-03 Thread Skip Montanaro
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

Re: [Python-Dev] Missing PY_ prefixes in structmember.h

2016-10-03 Thread Skip Montanaro
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

[Python-Dev] Have I got my hg dependencies correct?

2016-10-20 Thread Skip Montanaro
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

Re: [Python-Dev] Have I got my hg dependencies correct?

2016-10-20 Thread Skip Montanaro
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

Re: [Python-Dev] Have I got my hg dependencies correct?

2016-10-20 Thread Skip Montanaro
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

Re: [Python-Dev] Have I got my hg dependencies correct?

2016-10-21 Thread Skip Montanaro
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

[Python-Dev] 2.6 branch in Mercurial?

2016-10-31 Thread Skip Montanaro
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

Re: [Python-Dev] 2.6 branch in Mercurial?

2016-11-01 Thread Skip Montanaro
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

[Python-Dev] Why is PyDateTimeAPI not initialized by datetime module import?

2017-01-26 Thread Skip Montanaro
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

Re: [Python-Dev] GDB macros in Misc/gdbinit are broken

2017-02-27 Thread Skip Montanaro
. 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-

Re: [Python-Dev] GDB macros in Misc/gdbinit are broken

2017-02-28 Thread Skip Montanaro
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

Re: [Python-Dev] GDB macros in Misc/gdbinit are broken

2017-02-28 Thread Skip Montanaro
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-

Re: [Python-Dev] Exact date of Python 2 EOL?

2017-03-23 Thread Skip Montanaro
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

Re: [Python-Dev] PEP 7 and braces { .... } on if

2017-06-05 Thread Skip Montanaro
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 _

Re: [Python-Dev] Extracting python bytecode from a linux core dump?

2017-06-09 Thread Skip Montanaro
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 _

Re: [Python-Dev] Python startup time

2017-07-21 Thread Skip Montanaro
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

[Python-Dev] Re: Python multithreading without the GIL

2021-10-18 Thread Skip Montanaro
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

[Python-Dev] Re: Python multithreading without the GIL

2021-10-28 Thread Skip Montanaro
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

[Python-Dev] Re: Python multithreading without the GIL

2021-10-29 Thread Skip Montanaro
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

[Python-Dev] Re: Python multithreading without the GIL

2021-10-31 Thread Skip Montanaro
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

[Python-Dev] Re: Python multithreading without the GIL

2021-10-31 Thread Skip Montanaro
;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,

[Python-Dev] Re: Python multithreading without the GIL

2021-11-01 Thread Skip Montanaro
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 _

[Python-Dev] Re: Optimizing literal comparisons and contains

2021-11-27 Thread Skip Montanaro
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

[Python-Dev] Re: Optimizing literal comparisons and contains

2021-11-28 Thread Skip Montanaro
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

[Python-Dev] Re: "immortal" objects and how they would help per-interpreter GIL

2021-12-15 Thread Skip Montanaro
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

[Python-Dev] Re: issues-test-2 spam?

2021-12-25 Thread Skip Montanaro
> 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

[Python-Dev] Re: Is anyone using 15-bit PyLong digits (PYLONG_BITS_IN_DIGIT=15)?

2021-12-31 Thread Skip Montanaro
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

[Python-Dev] Re: Suggestion: a little language for type definitions

2022-01-08 Thread Skip Montanaro
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

[Python-Dev] Re: Suggestion: a little language for type definitions

2022-01-08 Thread Skip Montanaro
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

[Python-Dev] Re: Suggestion: a little language for type definitions

2022-01-09 Thread Skip Montanaro
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

[Python-Dev] Re: 3.11 enhanced error location - can it be smarter?

2022-01-19 Thread Skip Montanaro
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 > __

[Python-Dev] Re: New PEP website is horrible to read on mobile device

2022-03-16 Thread Skip Montanaro
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

[Python-Dev] Re: New PEP website is horrible to read on mobile device

2022-03-16 Thread Skip Montanaro
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

[Python-Dev] Re: Are "Batteries Included" still a Good Thing? [was: It's now time to deprecate the stdlib urllib module]

2022-03-28 Thread Skip Montanaro
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

[Python-Dev] Re: Are "Batteries Included" still a Good Thing? [was: It's now time to deprecate the stdlib urllib module]

2022-03-28 Thread Skip Montanaro
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

[Python-Dev] Re: Are "Batteries Included" still a Good Thing? [was: It's now time to deprecate the stdlib urllib module]

2022-03-29 Thread Skip Montanaro
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

[Python-Dev] Re: Are "Batteries Included" still a Good Thing? [was: It's now time to deprecate the stdlib urllib module]

2022-03-29 Thread Skip Montanaro
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

[Python-Dev] Re: Are "Batteries Included" still a Good Thing? [was: It's now time to deprecate the stdlib urllib module]

2022-03-30 Thread Skip Montanaro
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

[Python-Dev] Re: About PEPs being discussed on Discourse

2022-04-08 Thread Skip Montanaro
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

[Python-Dev] Can I ask a real dumb procedural question about GitHub email?

2022-05-04 Thread Skip Montanaro
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

[Python-Dev] Re: Switching to Discourse

2022-07-15 Thread Skip Montanaro
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...

[Python-Dev] Re: Switching to Discourse

2022-07-18 Thread Skip Montanaro
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

[Python-Dev] Re: Switching to Discourse

2022-07-21 Thread Skip Montanaro
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

[Python-Dev] Re: Switching to Discourse

2022-07-21 Thread Skip Montanaro
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

[Python-Dev] Re: Switching to Discourse

2022-12-09 Thread Skip Montanaro
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

[Python-Dev] Small lament...

2023-04-01 Thread Skip Montanaro
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

[Python-Dev] Mixed Python/C debugging

2019-12-01 Thread Skip Montanaro
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

[Python-Dev] Re: Mixed Python/C debugging

2019-12-02 Thread Skip Montanaro
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

[Python-Dev] Re: Deprecating the "u" string literal prefix

2019-12-03 Thread Skip Montanaro
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

[Python-Dev] Macros instead of inline functions?

2019-12-04 Thread Skip Montanaro
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

[Python-Dev] Re: Macros instead of inline functions?

2019-12-04 Thread Skip Montanaro
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 _

[Python-Dev] Re: Macros instead of inline functions?

2019-12-04 Thread Skip Montanaro
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-dev mailing lis archives earlier than late April 1999?

2020-01-01 Thread Skip Montanaro
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

[Python-Dev] Re: Python-dev mailing lis archives earlier than late April 1999?

2020-01-06 Thread Skip Montanaro
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

[Python-Dev] Re: Python-dev mailing lis archives earlier than late April 1999?

2020-01-06 Thread Skip Montanaro
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

[Python-Dev] Re: Python-dev mailing lis archives earlier than late April 1999?

2020-01-06 Thread Skip Montanaro
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

[Python-Dev] Re: Python-dev mailing lis archives earlier than late April 1999?

2020-01-07 Thread Skip Montanaro
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

[Python-Dev] extern "C" { ... } in Include/cpython/*.h

2020-01-27 Thread Skip Montanaro
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

[Python-Dev] Re: How to respond to repeated bad ideas

2020-03-02 Thread Skip Montanaro
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

[Python-Dev] Changing layout of f_localsplus in frame objects

2020-03-17 Thread Skip Montanaro
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

[Python-Dev] Re: Changing layout of f_localsplus in frame objects

2020-03-20 Thread Skip Montanaro
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 ___

[Python-Dev] Re: Changing layout of f_localsplus in frame objects

2020-03-21 Thread Skip Montanaro
. 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

[Python-Dev] How to enable tracemalloc for the test suite?

2020-04-04 Thread Skip Montanaro
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

[Python-Dev] Re: How to enable tracemalloc for the test suite?

2020-04-04 Thread Skip Montanaro
(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

[Python-Dev] Re: How to enable tracemalloc for the test suite?

2020-04-05 Thread Skip Montanaro
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

[Python-Dev] Re: Do we need port some extension modules to the modules directory?

2020-04-12 Thread Skip Montanaro
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

[Python-Dev] Virtual machine bleeds into generator implementation?

2020-04-26 Thread Skip Montanaro
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

[Python-Dev] Re: Virtual machine bleeds into generator implementation?

2020-04-27 Thread Skip Montanaro
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

[Python-Dev] Re: Virtual machine bleeds into generator implementation?

2020-04-30 Thread Skip Montanaro
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 .

[Python-Dev] f_localsplus[0] == NULL in super_init_without_args()

2020-08-14 Thread Skip Montanaro
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

Re: [Python-Dev] Can 3.1 still be built without complex?

2009-10-15 Thread Skip Montanaro
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

[Python-Dev] Could these restrictions be removed?

2011-05-12 Thread Skip Montanaro
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

[Python-Dev] Pathscale compilers open source

2011-06-14 Thread Skip Montanaro
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

Re: [Python-Dev] svn.python.org ?

2007-12-29 Thread Skip Montanaro
(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

Re: [Python-Dev] [Python-checkins] r60919 - peps/trunk/pep-0008.txt

2008-02-21 Thread Skip Montanaro
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

Re: [Python-Dev] Merges from 2.6 to 3.0?

2008-08-09 Thread Skip Montanaro
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

[Python-Dev] Backporting multiprocessing?

2008-10-16 Thread Skip Montanaro
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

Re: [Python-Dev] [Python-3000] Backporting multiprocessing?

2008-10-16 Thread Skip Montanaro
> 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

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread Skip Montanaro
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

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread Skip Montanaro
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 _

Re: [Python-Dev] Improve error message "UnboundLocalError: local variable referenced before assignment"

2012-11-07 Thread Skip Montanaro
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.

[Python-Dev] Ctypes bug fix for Solaris - too late for 2.7.3?

2013-01-27 Thread Skip Montanaro
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

Re: [Python-Dev] Ctypes bug fix for Solaris - too late for 2.7.3?

2013-01-27 Thread Skip Montanaro
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

Re: [Python-Dev] Fwd: I was just thinking that os.path could use some love...

2013-01-30 Thread Skip Montanaro
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

RE: [Python-Dev] 2.4 news reaches interesting places

2004-12-09 Thread Skip Montanaro
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&

Re: [Python-Dev] 2.4 news reaches interesting places

2004-12-10 Thread Skip Montanaro
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

Re: [Python-Dev] 2.4 news reaches interesting places

2004-12-10 Thread Skip Montanaro
;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

Re: [Python-Dev] Re: proto-pep: How to change Python's bytecode

2004-12-25 Thread Skip Montanaro
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

Re: [Python-Dev] Re: [Pythonmac-SIG] The versioning question...

2004-12-27 Thread Skip Montanaro
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

Re: [Python-Dev] Re: [Pythonmac-SIG] The versioning question...

2004-12-28 Thread Skip Montanaro
; 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

Re: [Python-Dev] Please help complete the AST branch

2005-01-04 Thread Skip Montanaro
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

[Python-Dev] Re: [Csv] csv module TODO list

2005-01-04 Thread Skip Montanaro
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 __

[Python-Dev] Re: csv module TODO list

2005-01-06 Thread Skip Montanaro
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

<    7   8   9   10   11   12   13   >