[issue43923] Can't create generic NamedTuple as of py3.9

2022-03-10 Thread Bernie Hackett
Change by Bernie Hackett : -- nosy: +behackett ___ Python tracker <https://bugs.python.org/issue43923> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38890] A subprocess.Popen created with creationFlags=DETACHED_PROCESS on Windows should not emit a ResourceWarning

2019-11-21 Thread Bernie Hackett
Change by Bernie Hackett : -- nosy: +behackett ___ Python tracker <https://bugs.python.org/issue38890> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17123] Add OCSP support to ssl module

2019-10-15 Thread Bernie Hackett
Bernie Hackett added the comment: OCSP is the only way Let's Encrypt supports revocation. It would be really useful to have stapling verification supported in the standard library, even just the callback support PyOpenSSL supports. https://letsencrypt.org/docs/revoking/ -- nosy

Re: Newbie problem with urllib.request.urlopen

2017-09-26 Thread Bernie Connors
On Tuesday, September 26, 2017 at 12:32:18 PM UTC-3, Bernie Connors wrote: > Hello, > > My first post here on C.L.P. I have only written a few python scripts > in 2.7 and now I'm trying my first python 3 script. Can you tell me why this > sn

Re: Newbie problem with urllib.request.urlopen

2017-09-26 Thread Bernie Connors
On Tuesday, September 26, 2017 at 12:32:18 PM UTC-3, Bernie Connors wrote: > Hello, > > My first post here on C.L.P. I have only written a few python scripts > in 2.7 and now I'm trying my first python 3 script. Can you tell me why this > sn

Re: Extracting and summing student scores from a JSON file using Python 2.7.10

2015-11-10 Thread Bernie Lazlo
On Monday, 9 November 2015 22:54:05 UTC-5, wayne@gmail.com wrote: > On Monday, 9 November 2015 22:27:40 UTC-5, Denis McMahon wrote: > > On Mon, 09 Nov 2015 15:52:45 -0800, Bernie Lazlo wrote: > > > > > This should be a simple problem but I have wasted hours on

Re: Extracting and summing student scores from a JSON file using Python 2.7.10

2015-11-10 Thread Bernie Lazlo
On Monday, 9 November 2015 18:53:06 UTC-5, Bernie Lazlo wrote: > This should be a simple problem but I have wasted hours on it. Any help would > be appreciated. [I have taken my code back to almost the very beginning.] > > The student scores need

Re: Extracting and summing student scores from a JSON file using Python 2.7.10

2015-11-09 Thread Bernie Lazlo
On Monday, 9 November 2015 20:31:52 UTC-5, MRAB wrote: > On 2015-11-10 01:12, Bernie Lazlo wrote: > > On Monday, 9 November 2015 19:30:23 UTC-5, MRAB wrote: > >> On 2015-11-09 23:52, Bernie Lazlo wrote: > >> > This should be a simple problem but I have wasted hours

Re: Extracting and summing student scores from a JSON file using Python 2.7.10

2015-11-09 Thread Bernie Lazlo
On Monday, 9 November 2015 18:53:06 UTC-5, Bernie Lazlo wrote: > This should be a simple problem but I have wasted hours on it. Any help would > be appreciated. [I have taken my code back to almost the very beginning.] > > The student scores need

Extracting and summing student scores from a JSON file using Python 2.7.10

2015-11-09 Thread Bernie Lazlo
This should be a simple problem but I have wasted hours on it. Any help would be appreciated. [I have taken my code back to almost the very beginning.] The student scores need to be summed. import json import urllib url =

Re: Extracting and summing student scores from a JSON file using Python 2.7.10

2015-11-09 Thread Bernie Lazlo
On Monday, 9 November 2015 19:30:23 UTC-5, MRAB wrote: > On 2015-11-09 23:52, Bernie Lazlo wrote: > > This should be a simple problem but I have wasted hours on it. Any help > > would be appreciated. [I have taken my code back to almost the very

[issue25222] 3.5.0 regression - Fatal Python error: Cannot recover from stack overflow

2015-09-24 Thread Bernie Hackett
Bernie Hackett added the comment: Here's a chunk of the call stack from the Visual Studio debugger using the debug build. Py_FatalError seems to be called multiple times: > ucrtbased.dll!72d27f30()Unknown [Frames below may be incorrect and/or missing, no symbols loa

[issue25222] 3.5.0 regression - Fatal Python error: Cannot recover from stack overflow

2015-09-24 Thread Bernie Hackett
Bernie Hackett added the comment: On second thought, _Py_CheckRecursiveCall may be being called recursively through Py_FatalError. -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue25222] 3.5.0 regression - Fatal Python error: Cannot recover from stack overflow

2015-09-24 Thread Bernie Hackett
Bernie Hackett added the comment: > File > "D:\buildarea\3.4.bolen-windows10\build\lib\test\test_json\test_recursion.py", > line 96 in test_endless_recursion That test (and reason for existence) is almost exactly the same as the PyMongo test that causes abort reported

[issue25222] 3.5.0 regression - Fatal Python error: Cannot recover from stack overflow

2015-09-24 Thread Bernie Hackett
Bernie Hackett added the comment: > Clone master from github: You'll also have to git checkout 4bbe2133a14df716b1dffe8ab7957ed67149b2cd to roll back the setrecursionlimit change I added to work around this issue. Using 100 seems to have permanently vanquished the abort, but there's no

[issue25222] 3.5.0 regression - Fatal Python error: Cannot recover from stack overflow

2015-09-23 Thread Bernie Hackett
Bernie Hackett added the comment: > Well, Python has no perfect protection again stack overflow. It's only best > effect. That's interesting. I thought there was a stronger contract, and it appeared that way in all previous cpython releases back to 2.4. Again, this failure is new with

[issue25222] 3.5.0 regression - Fatal Python error: Cannot recover from stack overflow

2015-09-23 Thread Bernie Hackett
New submission from Bernie Hackett: While running PyMongo's test suite against python 3.5.0 the interpreter inconsistently aborts when we test encoding a recursive data structure like: evil = {} evil['evil'] = evil The test that triggers this was added to test the use of Py_EnterRecursiveCall

[issue25222] 3.5.0 regression - Fatal Python error: Cannot recover from stack overflow

2015-09-23 Thread Bernie Hackett
Bernie Hackett added the comment: I used sys.setrecursionlimit(250) - the default appears to be 1000 on all my test machines - and that reduced the occurrence of the abort but didn't completely solve the problem. There must be something more going on here

[issue21299] Einladung in mein Netzwerk bei LinkedIn

2014-04-18 Thread Bernie Keimel
New submission from Bernie Keimel: LinkedIn Ich möchte Sie zu meinem beruflichen Netzwerk auf LinkedIn hinzufügen. - Bernard Keimel Bernard Keimel Business bei privat Berlin und Umgebung, Deutschland Bestätigen, dass Sie Bernard Keimel kennen: https://www.linkedin.com/e/-3qcne3

[issue18847] Einladung in mein Netzwerk bei LinkedIn

2013-08-27 Thread Bernie Keimel
New submission from Bernie Keimel: LinkedIn Ich möchte Sie zu meinem beruflichen Netzwerk auf LinkedIn hinzufügen. - Bernard Keimel Bernard Keimel Business bei privat Berlin und Umgebung, Deutschland Bestätigen Sie, dass Sie Bernard Keimel kennen: https://www.linkedin.com/e

[issue16825] all OK!!!

2012-12-31 Thread Bernie Keimel
Changes by Bernie Keimel unowne...@gmail.com: -- nosy: Bernie.Keimel priority: normal severity: normal status: open title: all OK!!! ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16825

[issue16815] Is all OK!!

2012-12-29 Thread Bernie Keimel
Changes by Bernie Keimel unowne...@gmail.com: -- nosy: Bernie.Keimel priority: normal severity: normal status: open title: Is all OK!! ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16815

[issue2504] Add gettext.pgettext() and variants support

2010-05-19 Thread Bernie H. Innocenti
Bernie H. Innocenti ber...@codewiz.org added the comment: While we're waiting for this patch to be upstreamed, what's the best way to emulate this functionality with the current gettext module? I'm looking at the patch and it seems that code similar to this might work? def pgettext(ctx, msg

The Python: Rag November issue available

2009-11-01 Thread Bernie
The November issue of The Python: Rag is available at: http://www.pythonrag.org A monthly, free, community run, Python magazine - issues are in pdf format, intended for anyone interested in Python. -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python

The Python: Rag November issue available

2009-11-01 Thread Bernie
The November issue of The Python: Rag is available at: http://www.pythonrag.org A monthly, free, community run, Python magazine - issues are in pdf format, intended for anyone interested in Python. -- http://mail.python.org/mailman/listinfo/python-list

Re: The Python: Rag October issue available

2009-10-04 Thread Bernie
On Sat, 03 Oct 2009 20:09:18 -0700, TerryP wrote: On Oct 3, 4:29 pm, Bernie edi...@pythonrag.org wrote: Hi, no -its just put on the website.  Unless there's a method you can suggest? Not to butt in, but off the top of my head, you could probably set up a mailing list and post the link

Re: The Python: Rag October issue available

2009-10-04 Thread Bernie
On Sun, 04 Oct 2009 07:37:35 -0500, Bernie wrote: On Sat, 03 Oct 2009 20:09:18 -0700, TerryP wrote: On Oct 3, 4:29 pm, Bernie edi...@pythonrag.org wrote: Hi, no -its just put on the website.  Unless there's a method you can suggest? Not to butt in, but off the top of my head, you could

The Python: Rag October issue available

2009-10-03 Thread Bernie
The Python: Rag October issue available The October issue of The Python: Rag is available at: http://www.pythonrag.org A monthly, free, community run, Python magazine - issues are in pdf format, intended for anyone interested in Python, without being particularly serious. If you have

Re: The Python: Rag October issue available

2009-10-03 Thread Bernie
On Fri, 02 Oct 2009 11:32:41 -0700, steven.oldner wrote: Hi, no -its just put on the website. Unless there's a method you can suggest? Cheers Bernie On Oct 2, 11:14 am, Bernie edi...@pythonrag.org wrote: The Python: Rag October issue available The October issue of The Python: Rag

[issue6901] Runaway programs often become unresponsive to CTRL-C

2009-09-13 Thread Bernie H. Innocenti
New submission from Bernie H. Innocenti ber...@codewiz.org: On startup, the Python interpreter changes the default behavior of SIGINT, which results in many Python programs to ignore the keyboard interrupt exactly in the situations when users are most likely to use it (i.e.: when the program

[issue6901] Runaway programs often become unresponsive to CTRL-C

2009-09-13 Thread Bernie H. Innocenti
Bernie H. Innocenti ber...@codewiz.org added the comment: This is a fundemental behavior that will never change. If you dislike it, you can remove the signal handler for it with the signal module. What? We could break the syntax of print statements and cannot change this minor detail

[issue6901] Runaway programs often become unresponsive to CTRL-C

2009-09-13 Thread Bernie H. Innocenti
Bernie H. Innocenti ber...@codewiz.org added the comment: Ok -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6901 ___ ___ Python-bugs-list

Re: print syntax

2009-09-05 Thread Bernie
On Thu, 03 Sep 2009 12:22:14 -0400, doug wrote: I am new to python, working by way through 'Core Python Programming'. I can find no description of using print with the built-in type for formatting. I think I have got some [most?] of it from Chun, google, and python.org. My comment is - it

The Python: Rag September issue available

2009-09-03 Thread Bernie
The September issue of The Python: Rag is available at: http://www.pythonrag.org A monthly, free, community run, Python magazine - issues are in pdf format, intended for anyone interested in Python, without being particularly serious. If you have anything you would like to say about Python,

Re: shelve.open call gives error

2008-02-10 Thread Bernie Woodham
Gabriel Genellina [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] En Sat, 09 Feb 2008 03:35:14 -0200, waltbrad [EMAIL PROTECTED] escribi?: On Feb 8, 5:29 pm, Gabriel Genellina [EMAIL PROTECTED] wrote: En Fri, 08 Feb 2008 06:36:53 -0200, waltbrad [EMAIL PROTECTED] escribió:

ANN: SkipoleMonitor 0.4 released

2007-07-13 Thread Bernie
and syslog alerts. Written in Python, and uses the wxPython library, it has been tested on Windows and Linux. License : GPL = Bernard Czenkusz bernie at skipole.co.uk -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation

ANN: SkipoleMonitor0.2 released

2007-05-18 Thread Bernie
SkipoleMonitor is available at http://code.google.com/p/skipole-monitor/ Version 0.2 now released, this version adds the option to automatically send email alerts should the status of any monitored host change. What is SkipoleMonitor? = SkipoleMonitor is a free network monitor

ANN: TFTPgui1.1 released

2007-05-01 Thread Bernie
TFTPgui1.1 is available at http://code.google.com/p/tftpgui/ What is TFTPgui? == TFTPgui is a TFTP server. It is intended to run as a user-initiated program, rather than a service daemon, and displays a GUI interface allowing the user to stop and start the TFTP server. It provides

Wow!

2005-01-26 Thread Bernie
That is clever, gives a lot of insight into how the __dict__ == the object. This is somewhat like the solution I am using from the Cookbook, an Empty object copy. This is cleaner and very much more concise. Thank you! -- http://mail.python.org/mailman/listinfo/python-list

__deepcopy__ without recursive copies?

2005-01-25 Thread Bernie
#!/usr/bin/env python import sys import copy ''' How to define __deepcopy__ with out causing recursive calls to copies of self? Bernie Day 01/25/05 I was using deepcopy on DeviceManager and this worked well. When I defined __deepcopy__, so I could have a handle to the children of the Master