Re: [Python-Dev] Python3 compiled listcomp can't see local var - bug or feature?

2018-06-11 Thread Skip Montanaro
> Skip, I think you have misunderstood the point I was making. It was > not whether the loop variable should leak out of a list comprehension. > Rather, it was whether a local variable should, so to speak, "leak into" > a list comprehension. And the answer is: it depen

Re: [Python-Dev] Computed Goto dispatch for Python 2

2015-05-28 Thread Skip Montanaro
a one-liner > change to gain some performance in a bugfix release. One can read anything he wants into the Zen. I could respond with this retort: "Although practicality beats purity," but I won't. :-) Skip ___ Python-Dev mailing lis

Re: [Python-Dev] RM for 3.6?

2015-06-01 Thread Skip Montanaro
On Mon, Jun 1, 2015 at 1:35 PM, Ned Deily wrote: > I thought I was volunteering to get a pony. I was misinformed. Ned, Not to worry. I'm sure that by the time 3.6a0 is due, the PSF will be able to scrape together the funds for a pony, perhaps even one with super powers:

Re: [Python-Dev] Is it a Python bug that the main thread of a process created in a daemon thread is a daemon itself?

2015-06-25 Thread Skip Montanaro
ely identical to the parent process*. All resources of the parent are inherited by the child process. *Note that safely forking a multithreaded process is problematic*. So, even if you get past this particular problem, the conventional wisdom is, "don't do that." Skip

Re: [Python-Dev] cpython: Tighten-up code in the set iterator to use an entry pointer rather than

2015-07-07 Thread Skip Montanaro
n turn red. Might a segfault provide enough output to debug? 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] Where are bugs with the web site reported?

2015-07-16 Thread Skip Montanaro
It's a known issue -- which I thought was fixed recently. I would have responded sooner, but I couldn't remember where website bugs are to be reported and figured someone would chime in with the link. I *don't* think it's bugs.python.org, though I c

Re: [Python-Dev] Profile Guided Optimization active by-default

2015-08-25 Thread Skip Montanaro
l there. In my environment, I interface with a lot of Boost.Python-wrapped code which would be quite impractical to compile with --with-pydebug. I'd like to be able to throw in all the other development bells and whistles though, without changing the size of the object header. Maybe "develop-

Re: [Python-Dev] OS X 10.9 Mavericks -> 2.7.6/3.3.3 updates needed

2013-10-24 Thread Skip Montanaro
y'all will be busy trying to fix these various problems as they relate to Python, but might it not be better to simply tell people to hold off on the Python installers until Apple gets their act together? Otherwise, I fear you'll just be trying to hit a moving tar

Re: [Python-Dev] PEP 455: TransformDict

2013-10-30 Thread Skip Montanaro
, y'rs, 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] A small patch.

2013-11-06 Thread Skip Montanaro
fferent about your underlying bug than a value of 2013. Just knowing it's out of range isn't really enough. Skip ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.py

Re: [Python-Dev] Sort error in Misc/ACKS

2013-12-09 Thread Skip Montanaro
> We could always run random.shuffle() on the current list > so new additions don't look out of place ;) Wouldn't that bloat the repository with diffs and make merges more difficult? Skip ___ Python-Dev mailing list Python-Dev@

Re: [Python-Dev] Proposed: The Great Argument Clinic Conversion Derby

2014-01-06 Thread Skip Montanaro
n the > "conversion derby" because of that. My first thought was that this exercise falls into the realm of fixing things which aren't broken. Skip ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mail

Re: [Python-Dev] RFC: PEP 460: Add bytes % args and bytes.format(args) to Python 3.5

2014-01-07 Thread Skip Montanaro
On Tue, Jan 7, 2014 at 2:46 PM, Barry Warsaw wrote: > I think we should be willing to entertain breaking feature freeze for getting > this in Python 3.4. Maybe you could revert 3.4 to alpha status and give it a cycle or two there to get this done before returning to beta status.

Re: [Python-Dev] Start writing inlines rather than macros?

2014-02-27 Thread Skip Montanaro
, and possibly under what conditions they might not? It might still be necessary to maintain macros for those platforms. Skip ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.p

Re: [Python-Dev] Start writing inlines rather than macros?

2014-02-27 Thread Skip Montanaro
On Thu, Feb 27, 2014 at 1:23 PM, Antoine Pitrou wrote: > Well, if we must maintain macros, let's maintain them everywhere and > avoid the burden of two different implementations for the same thing. Would it be possible to generate the macro versions from the inline/static versions where necessary

Re: [Python-Dev] PEP 466: Proposed policy change for handling network security enhancements

2014-03-23 Thread Skip Montanaro
k is still going to have to be done, no matter what you call it. Why not be transparent about it? 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] PEP 466: Proposed policy change for handling network security enhancements

2014-03-24 Thread Skip Montanaro
o what's the big deal? Why can't we be pragmatic and call this thing (whatever it turns out to be) 2.8? Is this pledge and its rationale written down in a PEP somewhere, so I can study the reasons behind what appears at this point to be blind adherence? Did someo

Re: [Python-Dev] PEP 466: Proposed policy change for handling network security enhancements

2014-03-24 Thread Skip Montanaro
on developers will have to make some changes to take advantage of these updated security bits. Is there some path forward that really makes everything a drop-in improvement, requiring no change to application code, and breaking nothing that already works? Skip ___

[Python-Dev] ISO 8601 durations and datetime.timedelta

2014-03-28 Thread Skip Montanaro
ths this duration refers to? Timedelta objects are very precise beasts, which is almost certainly why they don't support "years" and "months" args in their constructors. This is why I said this deserved a separate topic. Probably on python-ideas. Skip ___

Re: [Python-Dev] Negative timedelta strings

2014-03-28 Thread Skip Montanaro
he sees fit. That would support the ISO 8601 syntax (*), and anything else the programmer things is better than the status quo. Skip (*) As an aside (that is, this belongs in a separate thread if you want to discuss it), in my opinion, attempting to support ISO 8601 formatting is pointless without th

Re: [Python-Dev] Negative timedelta strings

2014-04-02 Thread Skip Montanaro
her. Is there a way to talk in terms of "months" but not have short months get skipped? Thx, 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] Python 4?

2014-04-03 Thread Skip Montanaro
(well, actually, a Phython3) directory. WTH is Python 4? Skip -- Forwarded message -- From: C. Reese Date: Thu, Apr 3, 2014 at 8:03 AM Subject: Updated phython To: webmas...@python.org just updated to Python 4. (installed to C: drive) ... now i notice there are separate Python2 &

Re: [Python-Dev] Python 4?

2014-04-03 Thread Skip Montanaro
ied that an April Fool's prank went so far as to put a tarted up version of Python 3.x out in the wild where unsuspecting folks would find and install it. Skip ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/

Re: [Python-Dev] this is what happens if you freeze all the modules required for startup

2014-04-14 Thread Skip Montanaro
7;import tradelink.snake.v11_2 ; raise SystemExit' real 0m0.671s user 0m0.405s sys 0m0.044s % time python -c 'raise SystemExit' real 0m0.022s user 0m0.011s sys 0m0.009s Skip ___ Python-Dev mailing list Python-Dev@python.org https://mail.pyth

[Python-Dev] Mercurial sluggishness (was: this is what happens if you freeze all the modules required for startup)

2014-04-15 Thread Skip Montanaro
to lower the barrier enough for the Mercurial folks, if, in fact, import slowness is their main reason for not moving to 3.x. 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] Mercurial sluggishness (was: this is what happens if you freeze all the modules required for startup)

2014-04-15 Thread Skip Montanaro
; reduction of penalty) will be noticeable. Based on what I saw, I really don't think that startup slowness is in imports of Python stdlib modules, which is all Brett was aiming at. I *can* believe overall import slowness might be a problem, but in that case, Brett's work isn't going to

Re: [Python-Dev] Mercurial sluggishness (was: this is what happens if you freeze all the modules required for startup)

2014-04-15 Thread Skip Montanaro
ypically between 100ms and 400ms. <http://en.wikipedia.org/wiki/Blink> If you blink, you've missed Python 2.7 startup on a relatively modern machine. Skip ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinf

Re: [Python-Dev] pep8 reasoning

2014-04-24 Thread Skip Montanaro
ust let that sleeping dog lie. I have better things to do with my life. New stuff I write tends to be much more pep8-ish. Skip ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://ma

Re: [Python-Dev] pep8 reasoning

2014-04-24 Thread Skip Montanaro
e that the brain has to do more work to read > mixedCase names. Given Guido's background, I suspect these studies might have been done at CWI in the context of the ABC language. Skip ___ Python-Dev mailing list Python-Dev@python.org https:/

Re: [Python-Dev] [Python-checkins] devguide: Fix broken link to Skip's optimizer paper, update bug link

2014-05-02 Thread Skip Montanaro
one available? Zach, That's as a good a link as I know of. (Lot of water under the bridge since then!) Skip ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/ma

Re: [Python-Dev] Where is our official policy of what platforms we do support?

2014-05-14 Thread Skip Montanaro
I wonder if one or more people who maintain unofficial forks on minority platforms (OS/2, VMS, etc) could create an informational PEP about the process (benefits and pitfalls) of that kind of effort? Skip ___ Python-Dev mailing list Python-Dev

Re: [Python-Dev] Where is our official policy of what platforms we do support?

2014-05-15 Thread Skip Montanaro
p" place for this. If failing, such buildbots wouldn't block a release, but would still provide tools for people to track down the source of breakage. Skip ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/

Re: [Python-Dev] Where is our official policy of what platforms we do support?

2014-05-15 Thread Skip Montanaro
On Thu, May 15, 2014 at 9:35 AM, Brett Cannon wrote: > I view stable buildbots as staying up and testing critical platforms. Would "supported" and "unsupported" (or "critical" and "optional"?) make more sense? "Unstable" suggests "broken" to me, not "we don't really care about these." S

Re: [Python-Dev] Where is our official policy of what platforms we do support?

2014-05-15 Thread Skip Montanaro
om "unstable" (or to view just the "unstable" category. What do those two categories have to do with "supported" and "unsupported"? Skip ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman

Re: [Python-Dev] Criticism of execfile() removal in Python3

2014-06-14 Thread Skip Montanaro
e lack of execfile is such a big deal for you, you might want to check around to see how other people use interactive mode. Skip ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://m

Re: [Python-Dev] About "python-porting" mail list

2018-12-23 Thread Skip Montanaro
bout the list's demise, then auto-forward their message to python-list? 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] Register-based VM [Was: Possible performance regression]

2019-02-26 Thread Skip Montanaro
> I uploaded a tarfile I had on my PC to my web site: > > http://python.ca/nas/python/rattlesnake20010813/ > > It seems his name doesn't appear in the readme or source but I think > Rattlesnake was Skip Montanaro's project. I suppose my idea of > unifying the lo

Re: [Python-Dev] PEP 581: Using GitHub Issues for CPython

2019-03-07 Thread Skip Montanaro
project. I don't rightly recall if Roundup was deemed easier to modify or if there were just people willing to step up and make the necessary changes. * There was a desire to eat your own dog food, and I believe Roundup is/was written in Python. That would be much less important today. Plenty

Re: [Python-Dev] Easier debugging with f-strings

2019-05-07 Thread Skip Montanaro
> My only complaint is that you steadfastly refuse use Guido’s time machine > keys to make this available in 3.7. Wait a minute, Barry. You mean you don't already have an Emacs function to do the rewriting as a pre-save-hook? Skip ___

Re: [Python-Dev] PEP 594: Removing dead batteries from the standard library

2019-05-21 Thread Skip Montanaro
ould be reasonable to toss all these modules into GitHub or PyPI. Someone will want them. 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] Re: PEP 581 has been updated with "Downsides of GitHub" section

2019-06-29 Thread Skip Montanaro
se who are using older > technology. If not exclude them altogether. Is that Git or GitHub? If the latter, more JavaScript bits or something else? Skip ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-d

[Python-Dev] Re: Replacing 4 underscores with a $ sign, idea for a PEP

2019-07-21 Thread Skip Montanaro
My only comment is that this belongs first on python-ideas <https://mail.python.org/mailman3/lists/python-ideas.python.org/>. Skip ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org

[Python-Dev] Re: 🍝 New keyword in bpo: `newcomer friendly`

2019-07-26 Thread Skip Montanaro
action=search&@filter=&@pagesize=50 This issue has the "easy" keyword: https://bugs.python.org/issue19217 Are "newcomer friendly" and "easy" aimed at somewhat different targets? Skip Skip ___ Python

[Python-Dev] How to extricate large set of diffs from hg.python.org/sandbox?

2019-08-07 Thread Skip Montanaro
mit and am applying them oldest to newest (against 3.3, which I think was Victor's base), correcting issues as I go along. Still, that is going to take a good long while. If there's an easier way to do this, I'm all ears. Skip ___ Python-Dev m

[Python-Dev] Re: How to extricate large set of diffs from hg.python.org/sandbox?

2019-08-07 Thread Skip Montanaro
r.txt Thanks, Neil. I barely remembered anything about Mercurial (not even installed on my current device). It didn't occur to me that the necessary precursor to that big diff might be as simple as hg clone https://hg.python.org/sandbox/registervm/ Skip ___

[Python-Dev] Re: Drop Solaris, OpenSolaris, Illumos and OpenIndiana support in Python

2020-10-30 Thread Skip Montanaro
On Thu, Oct 29, 2020, 6:32 PM Gregory P. Smith wrote: > I agree, remove Solaris support. Nobody willing to contribute seems > interested. > *sniff* I spent a lot of professional time in front of SunOS and Solaris screens. But yes, I agree. It seems time to give Solaris the bo

[Python-Dev] Constructing expected_opinfo_* lists in test_dis.py

2021-01-31 Thread Skip Montanaro
n manually work my way through it, but it sorta seems like someone might have used a script to translate the output of dis.dis(jumpy) into this list. Am I mistaken about this? Thx, Skip ___ Python-Dev mailing list -- python-dev@python.org To unsubscri

[Python-Dev] Re: Constructing expected_opinfo_* lists in test_dis.py

2021-02-01 Thread Skip Montanaro
> Maybe these lines in test_dis.py? > ``` > #print('expected_opinfo_jumpy = [\n ', > #',\n '.join(map(str, _instructions)), ',\n]', sep='') > ``` Thanks, I'll take a look. I was expecting there'd be a standalone script somew

[Python-Dev] Re: Constructing expected_opinfo_* lists in test_dis.py

2021-02-01 Thread Skip Montanaro
Guido> Maybe these lines in test_dis.py? ... Skip> Thanks, I'll take a look. I was expecting there'd be a standalone Skip> script somewhere. Hadn't considered that comments would be hiding Skip> code. Indeed, that did the trick, however... I'm a bit uncomfortabl

[Python-Dev] Re: Constructing expected_opinfo_* lists in test_dis.py

2021-02-02 Thread Skip Montanaro
s module functionality (I'm guessing >= 50%), perhaps moving them to test_compiler.py or something similar would be a stronger signal about their intent. Skip ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email t

[Python-Dev] Python 0.9.1

2021-02-16 Thread Skip Montanaro
h the original files, a small README file and a compile.patch file between the original code and the runnable code. It was a pleasant diversion for a couple hours. I was tired of shovelling snow anyway... Thank you, Hiromi. Skip * Hiromi is bcc'd on this note in case he cares to comment.

[Python-Dev] Re: Python 0.9.1

2021-02-16 Thread Skip Montanaro
> > Wow. Was white-space not significant in this release of Python? I see the >> lack of indentation in the first Python programs. >> > > Indentation most certainly was significant from day 0. I suspect what > happened is that these files got busted somehow by the extrac

[Python-Dev] Re: Python 0.9.1

2021-02-16 Thread Skip Montanaro
nto correct format. 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

[Python-Dev] Re: Python 0.9.1

2021-02-16 Thread Skip Montanaro
2, 2, 2, 2, 2, 2, 2, 2] The tests don't pass though. 1 * 1 raises an integer overflow exception: >>> 1 * 1 Unhandled exception: run-time error: integer overflow Stack backtrace (innermost last): File "", line 1 I'll let someone figure that out. :-) At any rate,

[Python-Dev] Re: Python 0.9.1

2021-02-17 Thread Skip Montanaro
n't planning to rebuild the documentation, I didn't worry too much about that. I expected to need a bunch of manual patchwork to get back to something that would even compile. It's nice to know that in this case, "the Internet never forgets." Skip ___

[Python-Dev] Re: Python 0.9.1

2021-02-17 Thread Skip Montanaro
> If we can get a clean copy of the original sources I think we should put them > up under the Python org on GitHub for posterity. Did that earlier today: https://github.com/python/pythondotorg/issues/1734 Skip ___ Python-Dev mailing list --

[Python-Dev] Re: Python 0.9.1

2021-02-19 Thread Skip Montanaro
nce it compiled out of the box, and didn't dig into it when I saw the error. Looking now, I see a 32-bit assumption: if (x > 0x7fff || x < (double) (long) 0x8000) return err_ovf(); With the -m32 flag, running lib/testall.py runs to completion. Skip _

[Python-Dev] Non-monotonically increasing line numbers in dis.findlinestarts() output

2021-03-17 Thread Skip Montanaro
my code I'm using dis.findlinestarts() to determine the line numbers for each block. Perhaps I should be modifying its results. OTOH, maybe it's a bug. (If that's the consensus, I will create an issue.) Skip ___ Python-Dev mailing list --

[Python-Dev] Re: Non-monotonically increasing line numbers in dis.findlinestarts() output

2021-03-17 Thread Skip Montanaro
> co_lnotab has had negative deltas since 3.6. Thanks. I'm probably misreading Objects/lnotab_notes.txt. 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: On the migration from master to main

2021-03-26 Thread Skip Montanaro
s in PEP 0. I'm sure this is a trivial few git commands for those more familiar with the toolchain than I am, but I see over 18k forks of the repository. I suspect a few people out of that crowd will be in the same boat as me. Thx, Skip ___ Python-D

[Python-Dev] Re: How about using modern C++ in development of CPython ?

2021-04-20 Thread Skip Montanaro
which documents the various arguments pro and con to short-circuit or inform future discussions. I'm not volunteering to write it. Denis, maybe you could make a run at it. Skip ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send

[Python-Dev] Re: Keeping Python a Duck Typed Language.

2021-04-23 Thread Skip Montanaro
;duck typing" than always guarding accesses? I assume that will still have a place in the pantheon of Python type variants. Skip ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://m

[Python-Dev] Can't sync cpython main to my fork

2021-05-06 Thread Skip Montanaro
--help' for details. I looked at the fast-forward stuff in 'git push --help' but couldn't decipher what it told me, or more importantly, how it related to my problem. It's not clear to me how python/cpython:main can be behind smontanaro/cpython:main. I've attached my

[Python-Dev] Re: Can't sync cpython main to my fork

2021-05-06 Thread Skip Montanaro
ain Then I went to Github and compared my fork with python/cpython: https://github.com/python/cpython/compare/main...smontanaro:main It appears I might have screwed the pooch by accepting Github's recent pull request. I'm just a gitiot. How am I supposed to know not to accept the

[Python-Dev] Re: Can't sync cpython main to my fork

2021-05-06 Thread Skip Montanaro
hose merges are. Is that first commit (Github (un)Dependabot) the culprit, or are all the other git merge results also problematic? Skip ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@pytho

[Python-Dev] Re: Can't sync cpython main to my fork

2021-05-06 Thread Skip Montanaro
lit I was tracking main from a development branch in my fork, and trying — lately pretty much unsuccessfully — to drink from the firehose of changes to the virtual machine code. It made sense to me to keep my fork's main up-to-date with upstream/main. Now that I have diverged to follow the 3.10 branch

[Python-Dev] GDB not breaking at the right place

2021-05-21 Thread Skip Montanaro
-Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -I. -I./Include-DPy_BUILD_CORE -o Python/ceval.o Python/ceval.c I don't know if this is a GCC problem, a GDB problem, or a Skip problem. Is th

[Python-Dev] Re: GDB not breaking at the right place

2021-05-21 Thread Skip Montanaro
I can move the actual point where GDB breaks by replacing -Og with -O0, but it still breaks at the wrong place, just a different wrong place. If I set a breakpoint by line number, it stops at the proper place. Skip ___ Python-Dev mailing list -- python-de

[Python-Dev] Re: GDB not breaking at the right place

2021-05-23 Thread Skip Montanaro
s radar screen. In the meantime, to get going again I wrote a crude script which maps the file:function:label form to file:linenumber form. That way I can save/restore breakpoints across GDB sessions and still avoid problems when the offsets to specific i

[Python-Dev] Re: GDB not breaking at the right place

2021-05-23 Thread Skip Montanaro
r file, Python/ceval_reg.h, which is #included in ceval.c at the desired spot. Maybe that factors into the issue. Skip ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org

[Python-Dev] Re: GDB not breaking at the right place

2021-05-25 Thread Skip Montanaro
like a piece of cake). Still, the difference between the announced and actual line numbers of the breakpoint remains. I disabled Python support in GDB by renaming my ~/.gdbinit file which declares add-auto-load-safe-path /home/skip/src/python/rvm That had no effect either. I don't have an

[Python-Dev] Re: GDB not breaking at the right place

2021-06-07 Thread Skip Montanaro
ifference between the two is the user interface it seems likely the bug might surface there as well. The use of a VM thus provides another option as a workaround for me, though my simple-minded label-to-line number script works as well. Skip > ___ Py

[Python-Dev] Re: Notes on PEP 8

2021-08-26 Thread Skip Montanaro
low enterprising folks to easily fork and reference back to the last point where the PEP 8 text did mention Python 2.x. (This no longer applies to me personally, as I have fully gone over to Python 3, but at my last job there was still plenty of Python 2 code to be had.) Just a thought... Skip ___

[Python-Dev] Re: My apologies to the list

2021-08-26 Thread Skip Montanaro
not an NNTP person (anymore), filters in Gmail (and I assume other mail readers/apps) allow you to sequester mails into separate folders which you can ignore if you like. Skip ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to

Re: [Python-Dev] XML DoS vulnerabilities and exploits in Python

2013-02-20 Thread Skip Montanaro
ny, recursion, and result in a size increase of less than a factor of 10 when fully expanded. 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] peps: Pre-alpha draft for PEP 435 (enum). The name is not important at the moment, as

2013-02-25 Thread Skip Montanaro
an seems to have a use case, even if it is using enums to masquerade as true named constants. Perhaps the correct solution is to consider support for true constants in Python. (I would be surprised if there wasn't already at least one rejected or dormant PEP regarding that topic.) Skip ___

Re: [Python-Dev] [Python-checkins] peps: Pre-alpha draft for PEP 435 (enum). The name is not important at the moment, as

2013-02-25 Thread Skip Montanaro
>>> 1 < None Traceback (most recent call last): File "", line 1, in TypeError: unorderable types: int() < NoneType() >>> It's not clear to me that sneaking artificial ordering in the back door via enumerations is the correct thing to do. Skip

Re: [Python-Dev] Introducing Electronic Contributor Agreements

2013-03-04 Thread Skip Montanaro
at PSF World Headquarters to execute the electronic contributor agreement? While not strictly necessary, I suspect it might be nice for you to have all agreements in a common form. Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python

Re: [Python-Dev] can't assign to function call

2013-03-18 Thread Skip Montanaro
nk this belongs on python-ideas before launching into discussions of syntax and semantics on python-dev. Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mai

Re: [Python-Dev] The end of 2.7

2013-04-07 Thread Skip Montanaro
I started writing this last night before the flurry of messages which arrived overnight. I thought originally, "Oh, Skip, you're being too harsh." But now I'm not so sure. I think you are approaching the issue of 2.7's EOL incorrectly. Of those discussing the end of Py

[Python-Dev] Fwd: SourceForge Project Upgrade Notification

2013-04-08 Thread Skip Montanaro
Obviously SourceForge doesn't think the current release interval is short enough. (Emphasis mine.) :-) Skip -- Forwarded message -- From: SourceForge.net Date: Mon, Apr 8, 2013 at 1:09 PM Subject: SourceForge Project Upgrade Notification To: nore...@in.sf.net

Re: [Python-Dev] The end of 2.7

2013-04-08 Thread Skip Montanaro
ing to Python 3 wasn't going to be much more difficult, I think we would have attempted that. 2.7 Seemed like the better step though, especially considering its compatibility with 2.4 and the fact that it has a lot of things backported from Python 3 to ease the ev

Re: [Python-Dev] Sharing docstrings between the Python and C implementations of a module

2013-04-15 Thread Skip Montanaro
h code bases altogether and insert them where appropriate as part of the build process? That said, I haven't any idea how you might accomplish that. Maybe this general problem should be thrown over the python-ideas to cook for awhile... Skip ___ Python

Re: [Python-Dev] HAVE_FSTAT?

2013-05-17 Thread Skip Montanaro
> Some pieces of code are still guarded by: > #ifdef HAVE_FSTAT > ... > #endif Are there other guards for similarly common libc functions? If so, perhaps each one should be removed in a series of change sets, one per guard. Skip __

Re: [Python-Dev] Ordering keyword dicts

2013-05-19 Thread Skip Montanaro
to debug about keyword arguments if they are held in a normal dictionary? Debugging at the Python level or the C level? Can you give an example where it would be easier to debug? If it makes it easier here, would it make it easier to debug other dictionary usage if they were ordered? Skip ___

Re: [Python-Dev] PEP 8 and function names

2013-05-27 Thread Skip Montanaro
on (not sure it even is today) * Sometimes Cerberus was sleeping, and they snuck past him In any case, once a module makes it into the standard library, the cost of changing spelling outweighs the benefits of slavish adherence to PEP 8. Skip ___ Pytho

[Python-Dev] Doubly linked lists in Python core?

2013-06-11 Thread Skip Montanaro
ttempt any debugging gymnastics (ow! my back hurts) I thought I would check to see if Python makes much use of double linked lists in a non-debug build. I don't recall a lot from days of yore, perhaps some in the dict implementation? Thanks, Skip ___

Re: [Python-Dev] Doubly linked lists in Python core?

2013-06-11 Thread Skip Montanaro
pper.c:58) ==21374==by 0x40168D: main (binary-wrapper-main.c:382) 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] Reminder: an oft-forgotten rule about docstring formatting (PEP 257)

2013-06-26 Thread Skip Montanaro
, I go whole hog and don't bother with the blank line either. (If I'm going to punch a hole in a rule, I might as well create one big enough to comfortably walk through.) Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.o

Re: [Python-Dev] PEP 8 modernisation

2013-08-01 Thread Skip Montanaro
the limit, so by eliminating them, the shorter lines stand out more clearly. Skip <>___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/pyt

Re: [Python-Dev] Our failure at handling GSoC students

2013-08-06 Thread Skip Montanaro
k up from change 13 without having to start over, re-analyzing changes 1 through 12. 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

Re: [Python-Dev] Deprecating the formatter module

2013-08-14 Thread Skip Montanaro
tly not at your sprint). :-) 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] Offtopic: OpenID Providers

2013-09-05 Thread Skip Montanaro
anation? I much prefer using OpenID to login to a site than having to either come up with yet another username/password which I will just forget, or using Facebook or similar (I don't really trust them with my info). Thx, Skip ___ Python-Dev

Re: [Python-Dev] Offtopic: OpenID Providers

2013-09-05 Thread Skip Montanaro
farther without that. :-/ 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] Offtopic: OpenID Providers

2013-09-05 Thread Skip Montanaro
l sorts of personal information to use their site. 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] DTRACE support

2013-09-06 Thread Skip Montanaro
e DTrace folks at Apple and Sun weren't really interested in holding hands... Skip ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/pyt

Re: [Python-Dev] PEP 450 adding statistics module

2013-09-09 Thread Skip Montanaro
27;t think gets a lot of use (or love). Might it be worthwhile to make sure the PEP 450 package works with that? Then extend it to multiple dimensions? Or just bite the bullet and get numpy's array type into the Python core once and for all? Sort of Tulip for arrays... Skip __

Re: [Python-Dev] Add a "transformdict" to collections

2013-09-10 Thread Skip Montanaro
he collections module (I'm skeptical), shouldn't that behavior be more strongly hinted at in the name? Lot's of things are transformations. You're interested in a very specific one. Skip ___ Python-Dev mailing list Python-Dev@python.org https:/

Re: [Python-Dev] Add a "transformdict" to collections

2013-09-11 Thread Skip Montanaro
y mind. A quick scan of your links suggests most people think something like "cidict" or "CaseInsensitiveDict" would be more descriptive.) Skip ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/li

Re: [Python-Dev] importance of dir

2013-09-11 Thread Skip Montanaro
otes modules or packages within other packages which haven't been imported yet). I never realized that module used it. Skip ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https:

<    6   7   8   9   10   11   12   13   >