[issue46207] Log emit performance degradation in RotatingFileHandlers due to filesystem checks

2021-12-30 Thread David Fritz
New submission from David Fritz : I believe this also impacts 3.10 and 3.11 based on the original bpo-45401 which led to this change. Prior to commit ac421c348b in the 3.9 branch there were no additional os.path checks in the shouldRollover() methods of RotatingFileHandler

[issue24560] codecs.StreamReader doesn't work with nonblocking streams: TypeError: can't concat bytes to NoneType

2019-10-09 Thread Fritz Reese
Fritz Reese added the comment: This is still an issue on Linux in both 3.4 and 3.7 even when using io.open() as suggested by @vstinner: >>> import io, os, fcntl >>> r, w = os.pipe() >>> fcntl(r, fcntl.F_SETFL, os.O_NONBLOCK) 0 >>> stream = io.open(r, 'rt'

Reconstituting f2py Multi-dimensional character array

2011-06-17 Thread Helmut Fritz
Hello all, I've normally only had to build a list of words from a f2py fortran character array. For this I found the transpose method to work fine. However I have had difficulty finding a way of getting a 3d array of words from Fortran to python. (I.e. 4d in python) I've attached 2 files that

Init a dictionary with a empty lists

2011-02-05 Thread Lisa Fritz Barry Griffin
Hi there, How can I do this in a one liner: maxCountPerPhraseWordLength = {} for i in range(1,MAX_PHRASES_LENGTH+1): maxCountPerPhraseWordLength[i] = 0 Thanks! -- http://mail.python.org/mailman/listinfo/python-list

how to extract an implicit dict expression (with statement return)

2010-09-09 Thread Fritz Loseries
= ... return result Could not found a description for the here used form of for and what [...] means. Need this for debugging. Thanks for any help. Regards, Fritz -- http://mail.python.org/mailman/listinfo/python-list

Re: cpan for python?

2010-03-02 Thread R Fritz
. This subject has been discussed to absolute death. But somehow the question is not in the FAQ, though the answer is. See: http://www.python.org/doc/faq/library/#how-do-i-find-a-module-or-application-to-perform-task-x -- Randolph Fritz design machine group, architecture department

Re: Your beloved python features

2010-02-04 Thread R Fritz
My favorite feature is its readability. It's as near to pseudo-code as any language we have, and that's valuable in open source projects or when I return to code to modify it. -- http://mail.python.org/mailman/listinfo/python-list

shoehorn c-structured data into Numpy

2009-06-14 Thread Helmut Fritz
Hello there everyone, I used to be on this a long time ago but then I got so much spam I gave up. But this strategy has come a little unstuck. I have binary output from a Fortran program that is in a big-endian C-structured binary file. The output can be very variable and many options create

Re: 3D plotting in a GUI

2009-04-07 Thread R Fritz
I've been doing 3D modeling for lighting simulation and I found two reasonably well-supported solutions: VTK and OpenSceneGraph. VTK generally has a research slant and has what I believe are reasonably strong Python bindings. OSG is closer to VR/AR/Flight Simulation applications and the

Re: are there some special about '\x1a' symbol

2009-01-14 Thread R Fritz
this qualify me for the dinosaur award? R Fritz On 2009-01-14 07:15:33 -0800, Mel mwil...@the-wire.com said: Steve Holden wrote: Unknown wrote: On 2009-01-12, John Machin sjmac...@lexicon.net wrote: I didn't think your question was stupid. Stupid was (a) CP/M recording file size as number of 128

is there a threadsafe cookie library?

2008-04-28 Thread fritz
I'm working with a script written in python2.4 that has to handle multiple http connections but I'm having concurrency issues with cookielib. Does anyone know of a threadsafe library that handles cookies? -- http://mail.python.org/mailman/listinfo/python-list

Car Air Conditioners!

2007-08-22 Thread fritz
http://car-air-conditioning.blogspot.com/ -- http://mail.python.org/mailman/listinfo/python-list

Air conditioners for cars!

2007-08-17 Thread fritz
Have a problem with car air conditioner, go here http://car-air-conditioning.blogspot.com/ -- http://mail.python.org/mailman/listinfo/python-list

Air conditioners for free!??!?!!!

2007-08-13 Thread fritz
http://airconlinks.blogspot.com/ -- http://mail.python.org/mailman/listinfo/python-list