[issue47031] math.nan should note that NANs do not compare equal to anything

2022-03-29 Thread Charlie Zhao
Charlie Zhao added the comment: I started a PR and some simple examples were added. It is helpful for those who are new to IEEE-754. According to Jelle's comments, the behavior of `float('nan') is float('nan')` may be changed in the future, so I just omit it and suggest users to use

[issue47031] math.nan should note that NANs do not compare equal to anything

2022-03-28 Thread Charlie Zhao
Change by Charlie Zhao : -- keywords: +patch pull_requests: +30248 stage: -> patch review pull_request: https://github.com/python/cpython/pull/32170 ___ Python tracker <https://bugs.python.org/issu

[issue47031] math.nan should note that NANs do not compare equal to anything

2022-03-24 Thread Charlie Zhao
Charlie Zhao added the comment: > "Due to the requirements of the `IEEE-754 standard > <https://en.wikipedia.org/wiki/IEEE_754>`_, math.nan and float('nan') are > never equal to any other value, including themselves. Use math.isnan to test > for NANs." It seems

[issue46677] TypedDict docs are incomplete

2022-03-10 Thread Charlie Zhao
Change by Charlie Zhao : -- pull_requests: +29913 pull_request: https://github.com/python/cpython/pull/31815 ___ Python tracker <https://bugs.python.org/issue46

[issue46677] TypedDict docs are incomplete

2022-03-10 Thread Charlie Zhao
Change by Charlie Zhao : -- pull_requests: +29907 stage: backport needed -> patch review pull_request: https://github.com/python/cpython/pull/31808 ___ Python tracker <https://bugs.python.org/issu

[issue46926] runpy.run_path didn't set __package__ to None as describe in doc

2022-03-08 Thread Charlie Yan
Change by Charlie Yan : -- components: +Library (Lib) type: -> behavior ___ Python tracker <https://bugs.python.org/issue46926> ___ ___ Python-bugs-list mai

[issue46926] runpy.run_path didn't set __package__ to None as describe in doc

2022-03-04 Thread Charlie Yan
Change by Charlie Yan : -- title: runpy.run_path didn't set __package__ as describe in doc -> runpy.run_path didn't set __package__ to None as describe in doc ___ Python tracker <https://bugs.python.org/issu

[issue46926] runpy.run_path didn't set __package__ as describe in doc

2022-03-04 Thread Charlie Yan
New submission from Charlie Yan : As described in the doc: https://docs.python.org/3.8/library/runpy.html#runpy.run_path > If the supplied path directly references a script file (whether as source or > as precompiled byte code), then __file__ will be set to the supplied path, > and

[issue46677] TypedDict docs are incomplete

2022-02-14 Thread Charlie Zhao
Change by Charlie Zhao : -- keywords: +patch pull_requests: +29498 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31349 ___ Python tracker <https://bugs.python.org/issu

[issue46677] TypedDict docs are incomplete

2022-02-11 Thread Charlie Zhao
Charlie Zhao added the comment: Indeed, if you use Python keywords or other invalid Python names as keys of TypedDict, we must use the equivalent forms as follows: ``` Point2D = TypedDict('Point2D', {'x': int, 'y': int, 'in': str}) # OK Point2D = TypedDict('Point2D', x=int, y=int, in=str

[issue45735] Promise the long-time truth that `args=list` works

2022-01-27 Thread Charlie Zhao
Change by Charlie Zhao : -- pull_requests: +29161 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/30982 ___ Python tracker <https://bugs.python.org/issu

[issue36792] [Windows] time: crash on formatting time with de_DE locale

2019-05-20 Thread Charlie Clark
Charlie Clark added the comment: I can confirm that using "de-DE" does indeed avoid the crash. -- ___ Python tracker <https://bugs.python.o

[issue36792] [Windows] time: crash on formatting time with de_DE locale

2019-05-07 Thread Charlie Clark
Charlie Clark added the comment: This is the result \issue36792>test.exe The current locale is now: C The time zone is: 'Mitteleuropõische Sommerzeit' (28 characters) The updated locale is now: de_DE The time zone is: '' (-1 characters) NB something is wr

[issue36792] [Windows] time: crash on formatting time with de_DE locale

2019-05-07 Thread Charlie Clark
Charlie Clark added the comment: And this is the result. old locale: C count: 28 value: Mitteleuropäische Sommerzeit new locale: de_DE count: -1 value: Windows fatal exception: code 0xc374 Looks like print('new locale:', crt_locale._wsetlocale(0, 'de_DE')) print('count

[issue36792] [Windows] time: crash on formatting time with de_DE locale

2019-05-07 Thread Charlie Clark
Charlie Clark added the comment: print('count:', crt_time.wcsftime(wbuf, 1024, '%Z', tm)) also fails but crt_convert = ctypes.CDLL('api-ms-win-crt-convert-l1-1-0', use_errno=True) print('count:', crt_convert.mbstowcs(wbuf, buf, 1024)) seems to work okay

[issue36792] [Windows] time: crash on formatting time with de_DE locale

2019-05-07 Thread Charlie Clark
Charlie Clark added the comment: If the process crashes at the first print statement, I'm not sure how I can run the tests. Or should I try them separately? -- ___ Python tracker <https://bugs.python.org/issue36

[issue36792] [Windows] time: crash on formatting time with de_DE locale

2019-05-07 Thread Charlie Clark
Charlie Clark added the comment: The code crashes on this line: print('count:', crt_time.strftime(buf, 1024, b'%Z', tm)) -- Added file: https://bugs.python.org/file48306/Report.wer ___ Python tracker <https://bugs.python.org/issue36

[issue36792] [Windows] time: crash on formatting time with de_DE locale

2019-05-07 Thread Charlie Clark
Change by Charlie Clark : Added file: https://bugs.python.org/file48307/WER9DB9.tmp.WERInternalMetadata.xml ___ Python tracker <https://bugs.python.org/issue36

[issue36792] [Windows] time: crash on formatting time with de_DE locale

2019-05-06 Thread Charlie Clark
Charlie Clark added the comment: import ctypes, struct libc = ctypes.cdll.msvcrt buf = ctypes.create_string_buffer(1024) tm = struct.pack('9i', 2019, 5, 6, 9, 50, 4, 0, 126, 1) print('count:', libc.strftime(buf, 1024, b'%Z', tm)) print('value:', buf.value) wbuf = ctypes.create_unicode_buffer

[issue36792] [Windows] time: crash on formatting time with de_DE locale

2019-05-06 Thread Charlie Clark
Charlie Clark added the comment: import ctypes, struct libc = ctypes.cdll.msvcrt buf = ctypes.create_string_buffer(1024) tm = struct.pack('9i', 2019, 5, 6, 9, 50, 4, 0, 126, 1) print('count:', libc.strftime(buf, 1024, b'%Z', tm)) print('value:', buf.value) count: 28 value: b'Mitteleurop

[issue36792] zipfile.writestr causes a Python crash on Windows if the locale is set

2019-05-06 Thread Charlie Clark
Charlie Clark added the comment: import time, locale locale.setlocale(locale.LC_ALL, 'de_DE') 'de_DE' time.strftime("%Z") aborted (disconnected) -- ___ Python tracker <https://bugs.python.o

[issue36792] zipfile.writestr causes a Python crash on Windows if the locale is set

2019-05-06 Thread Charlie Clark
Charlie Clark added the comment: I can confirm the error is caused by time.localtime(time.time()) as indicated by the related bug. I've also found the crash log. It's in C:\ProgramData\Microsoft\Windows\WER\ReportQueue on my machine. Well, at least that's all I can find. -- Added

[issue36792] zipfile.writestr causes a Python crash on Windows if the locale is set

2019-05-05 Thread Charlie Clark
Charlie Clark added the comment: winver tells me I have 1809. I'm only using Windows in a VM so I'm not that familiar with its innards. Also get the error with WinPython 3.6: Windows fatal exception: code 0xc374 Current thread 0x10c0 (most recent call first): File "C:\

[issue36792] zipfile.writestr causes a Python crash on Windows if the locale is set

2019-05-05 Thread Charlie Clark
Charlie Clark added the comment: That's what we thought when we looked at it, but as I said, I couldn't reproduce it with just the `time` call or the `ZInfo` instantiation, so something odd is happening. I do have a German version of Windows as I suspect the original reporter does. You'd

[issue36792] zipfile.writestr causes a Python crash on Windows if the locale is set

2019-05-05 Thread Charlie Clark
Charlie Clark added the comment: Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 21:26:53) [MSC v.1916 32 bit (Intel)] on win32 -- ___ Python tracker <https://bugs.python.org/issue36

[issue36792] zipfile.writestr causes a Python crash on Windows if the locale is set

2019-05-04 Thread Charlie Clark
New submission from Charlie Clark : Based on a bug report (https://bitbucket.org/openpyxl/openpyxl/issues/1266/locale) from a user of the openpyxl library I've identified a bug in the zipfile module that causes the Python process to crash on Windows. Currently tested with Python 3.7.3 (32

ANN: TkGridGUI 0.0.20 released

2018-11-05 Thread Charlie Taylor
To All, I'm announcing the first release of TkGridGUI. I consider it to be Alpha code, but still very usable. TkGridGUI is a graphic user interface for creating python Tkinter applications. The user creates a fully "wired" python Tkinter GUI application by placing widgets into a hierarchical

[issue24564] shutil.copytree fails when copying NFS to NFS

2018-10-17 Thread Charlie Dyson
Change by Charlie Dyson : -- nosy: +cdyson37 ___ Python tracker <https://bugs.python.org/issue24564> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23097] unittest can unnecessarily modify sys.path (and with the wrong case)

2018-10-02 Thread Charlie Dyson
Charlie Dyson added the comment: As an aside, should that be sys.path.insert(1, X)? As 0 has a special meaning (I've often thought this is a slightly odd convention). Another aside: I noticed this because I was looking to write a module finder, and thought I could extract one out

[issue28609] argparse claims '*' positional argument is required in error output

2016-11-04 Thread Charlie Proctor
Charlie Proctor added the comment: I agree that the message is slightly misleading. Uploading one possible solution. I'm sure someone more familiar with the library might have a better approach... -- keywords: +patch nosy: +charlie.proctor Added file: http://bugs.python.org/file45357

[issue19899] No test for thread.interrupt_main()

2016-11-04 Thread Charlie Proctor
Charlie Proctor added the comment: I broke the two cases (interrupt_main from test thread and from sub-thread) into two separate tests, using an "expect_sigint" helper. Let me know what you think -- thanks! -- Added file: http://bugs.python.org/file45354/test_interrupt_

[issue19899] No test for thread.interrupt_main()

2016-11-04 Thread Charlie Proctor
Charlie Proctor added the comment: To clarify further, the SIGALRM handler catches the timeout sent by the ITIMER_REAL... whereas the SIGINT handler catches the interrupt_main() signals. -- ___ Python tracker <rep...@bugs.python.org>

[issue19899] No test for thread.interrupt_main()

2016-11-04 Thread Charlie Proctor
Charlie Proctor added the comment: Thanks for the feedback David! I've posted a revised patch with more descriptive comments and the restoration code moved into addCleanup. As described in the comments, in the context of this test, the "main" thread is the one running the test s

[issue19899] No test for thread.interrupt_main()

2016-11-04 Thread Charlie Proctor
Charlie Proctor added the comment: Found this through the "Random Issue" button -- I've uploaded a simple test case for thread.interrupt_main(). This is my first patch :) So let me know if there's something else I should do and I'd love to hear any feedback... -- keywor

Re: Calculator Problem

2014-02-03 Thread Charlie Winn
On Sunday, February 2, 2014 9:46:24 PM UTC, Gary Herron wrote: On 02/02/2014 01:16 PM, Charlie Winn wrote: Hey Guys i Need Help , When i run this program i get the 'None' Under the program, see what i mean by just running it , can someone help me fix this def Addition

Re: Calculator Problem

2014-02-03 Thread Charlie Winn
On Monday, February 3, 2014 6:17:44 PM UTC, Joel Goldstick wrote: On Feb 3, 2014 1:05 PM, Charlie Winn charli...@gmail.com wrote: On Sunday, February 2, 2014 9:46:24 PM UTC, Gary Herron wrote: On 02/02/2014 01:16 PM, Charlie Winn wrote: Hey Guys i Need Help , When i run

Calculator Problem

2014-02-02 Thread Charlie Winn
Hey Guys i Need Help , When i run this program i get the 'None' Under the program, see what i mean by just running it , can someone help me fix this def Addition(): print('Addition: What are two your numbers?') 1 = float(input('First Number:')) 2 = float(input('Second Number:'))

XYmath a curve fitting GUI for python on Windows

2013-06-25 Thread Charlie Taylor
I have just released a new project on Sourceforge called XYmath at: https://sourceforge.net/p/xymath/xywiki/Home/ XYmath will find the best curve fit using either minimum percent error or minimum total error. It can search through common equations, an exhaustive search through thousands of

[issue16863] Argparse tutorial outdated

2013-01-04 Thread Charlie Dimino
New submission from Charlie Dimino: http://docs.python.org/2/howto/argparse.html Error message in the first example is outdated, may indicate further out of date information on page. Example: The tutorial says: prog.py: error: the following arguments are required: echo When the actual error

[issue16863] Argparse tutorial outdated

2013-01-04 Thread Charlie Dimino
Charlie Dimino added the comment: If it's okay, don't close this just yet. I'm new to this system but I'll submit a patch with any fixes to the tutorial I find. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16863

[issue15460] SQLite cursor.description is not DB-API compatible

2012-07-26 Thread Charlie Clark
New submission from Charlie Clark charlie.cl...@clark-consulting.eu: It says in the docs: This read-only attribute provides the column names of the last query. To remain compatible with the Python DB API, it returns a 7-tuple for each column where the last six items of each tuple are None

Peculiarity of '@' in logging.Formatter

2011-11-21 Thread Charlie Martin
This is what seems like an odd bug, but in code I'd thing often-enough used it must be the expected behavior and I just don't understand. Please, sirs/mesdames, is this a bug? Example code: begin code --- #!/usr/bin/env python @-character WTF? import sys

Re: Peculiarity of '@' in logging.Formatter

2011-11-21 Thread Charlie Martin
Oops, forgot the python version etc: bash $ /usr/bin/env python -V Python 2.7 On SuSE 11.4 bash $ uname -a Linux crmartin 2.6.37.6-0.9-desktop #1 SMP PREEMPT 2011-10-19 22:33:27 +0200 x86_64 x86_64 x86_64 GNU/Linux -- http://mail.python.org/mailman/listinfo/python-list

a questions about thread-safety of boolean variables

2009-09-30 Thread Charlie Dickens
Hi,if I have a class A that contains a boolean variable named x, is it safe to read and change it from different threads without using locks? Is it guaranteed that A.x will be always True or False, and not any other weird value that that causes it to be inconsistent (assuming I only set it to True

Re: a questions about thread-safety of boolean variables

2009-09-30 Thread Charlie Dickens
that it will stop entering the loop sometime (I don't care if there are n iterations or n+1 or even n+m) Thanks On Wed, Sep 30, 2009 at 10:44 AM, steve st...@lonetwin.net wrote: Hi, On 09/30/2009 01:53 PM, Charlie Dickens wrote: Hi, if I have a class A that contains a boolean variable named x

Re: Optimizing math functions

2009-05-25 Thread Charlie
Esmail ebonak at hotmail.com writes: Charlie wrote: You might also look at: http://pyparasol.sourceforge.net/example_1.html Thanks for this lead, I had never heard of parasol before. Do you know if this also works under Linux? The docs mention only the Windows platform, but given

Re: Optimizing math functions

2009-05-24 Thread Charlie
Steven D'Aprano steve at REMOVE-THIS-cybersource.com.au writes: On Sat, 23 May 2009 09:22:59 -0400, Esmail wrote: Hello all, I would like to maximize or minimize a given math function over a specific set of values, in Python preferably. ... What it apparently can't do is for

Announce: Parametric Solutions (parasol)

2009-01-25 Thread Charlie Taylor
Parasol is a python framework in which mathematical models can be investigated parametrically. Parasol enables easy optimization, sensitivity study, and visualization. The math model can be as big or as small as desired. Output is generated in plain text, HTML, and native Microsoft Suite files

Re: C Function Pointer Wrapping Example not working

2008-11-18 Thread Charlie
Nowhere in your code is the definition of binary_op - that is why you get a linker error. Is it defined in another C file?  If so you need to link it with the swig wrapper before you make the .so Thanks for pointing out. I sorted the code out finally! Charlie -- http://mail.python.org

Re: C Function Pointer Wrapping Example not working

2008-11-16 Thread Charlie
 But when I try to import test in python, it complains:  import _test  ImportError: ./_test.so undefined symbol: _Z9binary_opiiPFiiiE The above is a mangled name so you've got some C vs C++ problems I'd say. You could try putting some extern C {} in around all the functions which are

C Function Pointer Wrapping Example not working

2008-11-14 Thread Charlie
It is really strange to me. I am a novice swigger but I really need its power to accelerate my development. Could anybody point out where my problem is? TIA Charlie -- http://mail.python.org/mailman/listinfo/python-list

Re: Python is slow

2008-06-07 Thread Charlie Hubbard
That hardware battle was fought long ago. Von Neumann machine vs. the Lisp machine. Guess who won? http://en.wikipedia.org/wiki/Lisp_machine It would be very hard to fight that war all over again. Charlie On Fri, Jun 6, 2008 at 4:59 PM, Jan Claeys [EMAIL PROTECTED] wrote: Op Fri, 23 May

Biggles on Windows with python2.5

2008-04-05 Thread Charlie
Has anyone installed a version of biggles on Windows with python 2.5? The Martin Lamar version for python 2.3 was a big help, but I finally upgraded to python 2.5 and I am having trouble with the biggles build. Thanks, Charlie -- http://mail.python.org/mailman/listinfo/python-list

Jython 2.2 Released!

2007-08-23 Thread Charlie Groves
Jython the same set of language features as Python 2.2. For a more complete list of the additions from 2.1 to 2.2, see the NEWS file in the release. Only the version numbers changed in the code from 2.2rc3 to this release. Enjoy! Charlie -- http://mail.python.org/mailman/listinfo/python-announce

Re: MsiLib

2007-08-23 Thread Charlie
Thank you everybody for your help. It finally runs without errors and I should be able to use this as I figure out more of it. I am curios if there is any idea as to when GetString will be implemented? Charlie -- http://mail.python.org/mailman/listinfo/python-list

Re: MsiLib

2007-08-23 Thread Charlie
Quoting Martin v. Löwis [EMAIL PROTECTED]: Charlie schrieb: Thank you everybody for your help. It finally runs without errors and I should be able to use this as I figure out more of it. I am curios if there is any idea as to when GetString will be implemented? If I can find the time

Re: How would I compile a Python file to a exe

2007-08-23 Thread Charlie
Quoting Lamonte Harris [EMAIL PROTECTED]: Been a while and I'm wondering how I would go about doing it. py2exe seems to be a fairly good option for this, at least in the world of Windows. -- http://mail.python.org/mailman/listinfo/python-list

MsiLib

2007-08-22 Thread Charlie
to find one? If there isn't one, would anybody be willing to throw one together? Thanks Charlie -- http://mail.python.org/mailman/listinfo/python-list

Re: MsiLib

2007-08-22 Thread Charlie
Thanks for the help. That definitely gets me on the right track. I am having an issue though. I keep getting the error that MSIDBOPEN_READONLY is not defined. Here is my code for testing. Am I missing something really obvious or is something just not working that should and my system is

Re: MsiLib

2007-08-22 Thread Charlie
Thanks for pointing that out. It solved the one problem and along came another. Now I get the following error when I try running it. Thanks for the help. Traceback (most recent call last): File msi.py, line 7, in module record = view.Fetch() _msi.MSIError: function failed --

Re: MsiLib

2007-08-22 Thread Charlie
as an argument, especially for a select statement. Thanks for the help. Charlie -- http://mail.python.org/mailman/listinfo/python-list

Jython 2.2 RC3 is available

2007-08-02 Thread Charlie Groves
called before connect don't respect SO_REUSEADDR - execfile() throws a NullPointerException in the interactive console Enjoy! Charlie -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations.html

Jython 2.2 RC1 is available

2007-06-25 Thread Charlie Groves
features a new socket module with support for non-blocking sockets and SSL as well as many bug fixes. Enjoy! Charlie -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations.html

Jython 2.2 Beta2 is available

2007-05-11 Thread Charlie Groves
the 2.2 version of Jython. It includes fixes for more than 30 bugs found since the first beta and the completion of Jython's support for new-style classes. Enjoy! Charlie -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http

Python on mac - can't extend interpreter with catch_exception_raise wrapper.

2006-12-08 Thread Charlie Miller
catch_raise_exception, (in my case at 0x2030 under gdb). The problem is when exc_server calls catch_raise_exception it calls the one from the python binary and not the one I provided and dies. Does anyone have any ideas on how to deal with this perplexing problem?!? Thanks!!! Charlie -- http

Is this a bug? Python intermittently stops dead for seconds

2006-10-01 Thread charlie strauss
Below is a simple program that will cause python to intermittently stop executing for a few seconds. it's 100% reproducible on my machine. I'd be tempted to say this is a nasty garbage collection performance issue except that there is no major memory to be garbage collected in this script.

Re: Is this a bug? Python intermittently stops dead for seconds

2006-10-01 Thread charlie strauss
Steve and other good folks who replied: I want to clarify that, on my computer, the first instance of the gap occurs way before the memory if filled. (at about 20% of physical ram). Additionally the process monitor shows no page faults. Yes if you let the as-written demo program run to

Re: Is this a bug? Python intermittently stops dead for seconds

2006-10-01 Thread charlie strauss
second. This is the threshold for which the computer program flags the time it takes to create a foo object. on a fast computer it should take much less than 0.1 sec. -Original Message- From: charlie strauss [EMAIL PROTECTED] Sent: Oct 1, 2006 10:33 AM To: Steve Holden [EMAIL PROTECTED

Re: Is this a bug? Python intermittently stops dead for seconds

2006-10-01 Thread charlie strauss
I think the point you are missing is that the garbage collector is triggered from time to time to ensure that no cyclical garbage remains uncollected, IIRC. The more data that's been allocated, the longer it takes the collector to scan all of memory to do its job. If you can find a way to

Re: Is this a bug? Python intermittently stops dead for seconds

2006-10-01 Thread charlie strauss
Steve, digging into the gc docs a bit more, I think the behaviour I am seeing is still not expected. Namely, the program I offered has no obvious place where objects are deallocated. The way GC is supposed to work is thate there are three levels of objects level0: newly created objects

Re: Is this a bug? Python intermittently stops dead for seconds

2006-10-01 Thread Charlie Strauss
On Oct 1, 2006, at 9:48 AM, Fredrik Lundh wrote: charlie strauss wrote: level0: newly created objects level1: objects that survived 1 round of garbage collection level2: objects that survivied 2+ rounds of gargbage collection Since all of my numerous objects are level2 objects, and none

Volume of CSG (constructive solid geometry) objects

2005-12-02 Thread Charlie
/etc., I would be very grateful. Thanks, Charlie -- http://mail.python.org/mailman/listinfo/python-list

Defending Python

2005-07-08 Thread Charlie Calvert
/RankingLanguagesFearasaCareerMove.aspx http://www.codefez.com/Home/tabid/36/articleType/ArticleView/articleId/134/TheWaroftheVirtualBills.aspx Thanks. - Charlie -- http://mail.python.org/mailman/listinfo/python-list

Obtaining glyph width in Python

2005-07-04 Thread Charlie
in the font that holds this information that could be extracted? Thanks in advance, -Charlie -- http://mail.python.org/mailman/listinfo/python-list

Re: Python and Excel

2005-01-19 Thread Charlie Taylor
If it helps, I started a similar project a few years ago on SourceForge when I was just learning python called python2xlw. I haven't supported it for quite a while, however, I still use it a lot in my own work. I needed to create Excel files with scatter charts in them for a web interface

Is this a good use for lambda

2004-12-17 Thread Charlie Taylor
I find that I use lambda functions mainly for callbacks to things like integration or root finding routines as follows. flow = integrate(lambda x: 2.0*pi * d(x)* v(x) * sin(a(x)),xBeg, xEnd) root = findRoot(xBeg, xEnd, lambda x: y2+ lp*(x-x2) -wallFunc( x )[0], tolerance=1.0E-15) I

embedded python and interpreter threads

2004-12-06 Thread Charlie DeTar
to C, so there might be something basic I am missing. Any suggestions or ideas? Thanks, Charlie DeTar -- http://mail.python.org/mailman/listinfo/python-list

Re: embedded python and interpreter threads

2004-12-06 Thread Charlie DeTar
\t\tlog.CaptureStdout(str)\n class StderrCatcher:\n \tdef write(self, str):\n \t\tlog.CaptureStderr(str)\n sys.stdout = StdoutCatcher()\n sys.stderr = StderrCatcher()\n); =Charlie Charlie DeTar wrote: So, I have an amazing, functioning foobar class