[issue44182] python-config.sh vs python-config.py inconsistency

2021-05-19 Thread Todd C. Miller
New submission from Todd C. Miller : There is an inconsistency between python-config.py and python-config.sh with the output of --ldflags. The .sh version include -L$libdir but the .py version does not include the -L flag unless a non-shared version of Python is built. As a result

[issue39883] Use BSD0 license for code in docs

2020-09-04 Thread Todd Jennings
Todd Jennings added the comment: The pull request is https://github.com/python/python-docs-theme/pull/36 It doesn't seem to went let me add it to linked pull requests. -- ___ Python tracker <https://bugs.python.org/issue39

[issue39917] new_compiler() called 2nd time causes error

2020-03-18 Thread Todd Levi
Todd Levi added the comment: In looking through the setup.py file for uvloop, I see that they purposely do not call super().initialize_options() or super().finalize_options() in their code if they've already been called once. I think that is why their code is revealing this problem

[issue39883] Use BSD0 license for code in docs

2020-03-15 Thread Todd Jennings
Todd Jennings added the comment: Hi Terry, Please take a look at the linked PR. This was already discussed on the python-ideas mailing list and Guido agreed this is a good idea. It is currently waiting on a PSF board decision. Guido requested I create a blurb, and that required

[issue39917] new_compiler() called 2nd time causes error

2020-03-09 Thread Todd Levi
New submission from Todd Levi : Action: Run the following command in py36, py37, and py3 for package uvloop python setup.py build_ext --inline bdist_wheel Expected behavior: The package is built and bundled as a wheel. Observed behavior: The build fails at the bdist_wheel stage

[issue39883] Use BSD0 license for code in docs

2020-03-06 Thread Todd Jennings
New submission from Todd Jennings : Currently using code examples and recipes from the documentation is complicated by the fact that they are all under the Python 2.0 license. Putting them under a more permissive license, particular the BSD0 license, would make them much easier to use

[issue34186] [3.6.6 on macOS] os.listdir replacing "/" with ":"

2018-07-22 Thread Todd
Todd added the comment: Ah, thank you for the link. I looked for something like that, but I obviously didn’t use the right wording while searching. Sorry for the false report and thanks for the quick help. -Todd Sent from my iPhone > On Jul 21, 2018, at 10:10 PM, Zachary Ware wr

[issue34186] [3.6.6 on macOS] os.listdir replacing "/" with ":"

2018-07-21 Thread Todd
New submission from Todd : Short back story - I am organizing music where "/" appears in a lot a metadata for the songs. For instance, the artist "AC/DC" or "ACDC w/ Axl Rose". On macOS, it is acceptable to name a folder "AC/DC" while the slash would ca

[issue33233] Suggest third-party cmd2 module as alternative to cmd

2018-04-06 Thread Todd Leonhardt
Todd Leonhardt <todd.leonha...@gmail.com> added the comment: The cmd2 project is in the process of rapidly stabilizing, but it isn't quite there yet. The other cmd2 core maintainers and I do have a bunch of refactoring planned over the next 6 to 8 months or so. Right now @kotfu (Jared

[issue31739] socket.close recommended but not demonstrated in same-page example code

2017-10-30 Thread Todd Rovito
Change by Todd Rovito <rovit...@rovitotv.org>: -- nosy: +Todd.Rovito ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31739> ___ _

[issue31143] lib2to3 requires source files for fixes

2017-08-08 Thread Todd Schiller
Todd Schiller added the comment: I'm reporting that lib2to3 doesn't work without having source .py files for the fixes that are packaged with the lib2to3 library. Perhaps the get_all_fix_names method in lib2to3/refactor.py should check for either .py or .pyc files? The source files

[issue31143] lib2to3 requires source files for fixes

2017-08-08 Thread Todd Schiller
New submission from Todd Schiller: The lib2to3 library doesn't detect/apply any fixes if the source files aren't included with the distribution. See get_all_fix_names at https://github.com/python/cpython/blob/master/Lib/lib2to3/refactor.py#L30 This affects Azure's official Python site

[issue22810] tkinter: "alloc: invalid block:" after askopenfilename

2017-03-02 Thread Todd Goldfinger
Todd Goldfinger added the comment: >> cursor after the '6' follows by '0' The max is 21. See 'to' parameter. I don't know if my code is correct, but it seems to work more or less. Obviously the crash is an issue with tk or Python. -- ___

[issue22810] tkinter: "alloc: invalid block:" after askopenfilename

2017-03-01 Thread Todd Goldfinger
Todd Goldfinger added the comment: This crashes reliably on Win10 with the same error message. Place cursor after the 2 in the top spin box. Type 0. I have the following files in Anaconda3/tcl: tcl86t.lib, tcl86tg.lib, tclstub86.lib, tk86t.lib, tk86tg.lib, tkstub86.lib. Python 3.6.0

[issue23670] Modifications to support iOS as a cross-compilation target

2017-01-01 Thread Todd Rovito
Todd Rovito added the comment: Russell, this is excellent work I am truly amazed that within a couple of hours I had Python built and running for the iOS simulator this is a feat I didn't think was possible. Perspective on me I am very familiar with Linux, C, and Python but know very

Re: class attribute

2016-01-28 Thread Todd Dembrey
on the objects within the Model. Writing Article.objects.first().titre in Django Models is mostly equivalent to Article.titre from Python classes. Todd -- https://mail.python.org/mailman/listinfo/python-list

[issue11822] Improve disassembly to show embedded code objects

2015-12-03 Thread Todd Dembrey
Changes by Todd Dembrey <todd.demb...@gmail.com>: -- nosy: +Todd Dembrey ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11822> ___

Re: Late-binding of function defaults (was Re: What is a function parameter =[] for?)

2015-11-21 Thread Todd
On Nov 19, 2015 20:48, "Chris Angelico" wrote: > > On Fri, Nov 20, 2015 at 5:42 AM, Ian Kelly wrote: > > BartC on the other hand is just complaining about an aspect of Python > > that is legitimately controversial. > > IMO it's controversial mainly

Re: Strong typing implementation for Python

2015-10-13 Thread Todd
On Oct 13, 2015 2:11 AM, "Steven D'Aprano" wrote: > > On Tue, 13 Oct 2015 04:20 am, Marko Rauhamaa wrote: > > > As for managing complexity, many people believe static typing is a > > crucial tool. I disagree. Static typing adds vast amounts of noise to > > the code. > > Only

Re: Idiosyncratic python

2015-09-24 Thread Todd
Using list indexing with booleans in place of a ternary operator. a = False b = [var2, var1][a] Instead of: b = var1 if a else var2 On Sep 24, 2015 8:06 AM, "Steven D'Aprano" < steve+comp.lang.pyt...@pearwood.info> wrote: > I was looking at an in-house code base today, and the author seems to

Re: Idiosyncratic python

2015-09-24 Thread Todd
On Sep 24, 2015 18:59, "Chris Angelico" <ros...@gmail.com> wrote: > > On Fri, Sep 25, 2015 at 2:54 AM, Todd <toddr...@gmail.com> wrote: > > Using list indexing with booleans in place of a ternary operator. > > > > a = False > > b = [var2, var

Re: python-matplotlib changes very often?

2015-08-08 Thread Todd
On Aug 8, 2015 10:46, Cecil Westerhof ce...@decebal.nl wrote: On openSUSE I see python-matplotlib updated very often. Sometimes more as once a week. It is also not very small (almost 40 MB). Is there a reason for this, or is there a problem at SUSE? I assume you are using tumbleweed and/or

Re: Python 3 May Become Relevant Now

2015-08-04 Thread Todd
On Aug 3, 2015 17:46, Rick Johnson rantingrickjohn...@gmail.com wrote: On Sunday, August 2, 2015 at 9:45:51 PM UTC-5, Chris Angelico wrote: How do you know it was written today, if you didn't click it? Because i possess skills you can hardly fathom. There are always loopholes; back doors;

Re: Run Python Script; Nothing Happens

2015-07-29 Thread Todd
On Wed, Jul 29, 2015 at 3:19 PM, ryguy7272 ryanshu...@gmail.com wrote: I am using Spyder Python 2.7. I'm running this sample code. import numpy as np import numpy.random as npr import matplotlib.pyplot as plt S0 = 100 r = 0.05 sigma = 0.25 T = 30 / 365. I = 1 ST = S0 * np.exp((r -

Re: Which GUI?

2015-07-27 Thread Todd
On Sun, Jul 26, 2015 at 7:19 PM, Paulo da Silva p_s_d_a_s_i_l_v_a...@netcabo.pt wrote: On 26-07-2015 05:47, blue wrote: Hi . I tested all. Now I think the PySide can more. No python3! Besides ... any differences to pyqt4? Thanks pyside has supported python 3 for a long time now. As

Re: Is there a way to install ALL Python packages?

2015-07-21 Thread Todd
On Tue, Jul 21, 2015 at 2:10 PM, tjohnson tandrewjohn...@outlook.com wrote: On 7/20/2015 10:57 PM, ryguy7272 wrote: I'd like to install ALL Python packages on my machine. Even if it takes up 4-5GB, or more, I'd like to get everything, and then use it when I need it. Now, I'd like to import

Re: str.index() and str.find() versus only list.index()

2015-07-14 Thread Todd
On Tue, Jul 14, 2015 at 7:13 AM, Chris Angelico ros...@gmail.com wrote: On Tue, Jul 14, 2015 at 2:58 PM, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: On Tuesday 14 July 2015 14:07, Ian Kelly wrote: On Mon, Jul 13, 2015 at 9:23 PM, Steven D'Aprano st...@pearwood.info

Re: Bug in floating point multiplication

2015-07-02 Thread Todd
The loop runs to completion for me on openSUSE Tumbleweed and both Python 2.7 64bits and Python 3.4 64bits. On Thu, Jul 2, 2015 at 4:52 PM, Steven D'Aprano st...@pearwood.info wrote: Despite the title, this is not one of the usual Why can't Python do maths? bug reports. Can anyone reproduce

Re: Bug in floating point multiplication

2015-07-02 Thread Todd
On Thu, Jul 2, 2015 at 5:29 PM, Robin Becker ro...@reportlab.com wrote: $ uname -a Linux everest 4.0.6-1-ARCH #1 SMP PREEMPT Tue Jun 23 14:40:31 CEST 2015 i686 GNU/Linux I am wondering if this is a 32bit vs. 64bit thing. Has anyone gotten this problem to work on a 64bit python? --

Re: Classic OOP in Python

2015-06-18 Thread Todd
On Thu, Jun 18, 2015 at 1:03 PM, Fabien fabien.mauss...@gmail.com wrote: On 06/17/2015 11:16 PM, sohcahto...@gmail.com wrote: You don't need interfaces with Python. Duck typing makes that all possible. Yes, but I also like interfaces (or in python: mimicked interfaces with

Re: thinking with laziness

2015-06-18 Thread Todd
On Thu, Jun 18, 2015 at 6:15 PM, Mark Lawrence breamore...@yahoo.co.uk wrote: On 18/06/2015 14:53, Steven D'Aprano wrote: On Thu, 18 Jun 2015 11:10 pm, Neal Becker wrote: http://begriffs.com/posts/2015-06-17-thinking-with-laziness.html I wanted to think about that post, but I'm too lazy

Re: So what's happening here?

2015-06-05 Thread Todd
On Fri, Jun 5, 2015 at 2:46 PM, Paul Appleby pap@nowhere.invalid wrote: I saw somewhere on the net that you can copy a list with slicing. So what's happening when I try it with a numpy array? a = numpy.array([1,2,3]) b = a[:] a is b False b[1] = 9 a array([1, 9, 3]) Numpy arrays

Re: So what's happening here?

2015-06-05 Thread Todd
On Fri, Jun 5, 2015 at 3:11 PM, Paul Appleby pap@nowhere.invalid wrote: On Fri, 05 Jun 2015 14:55:11 +0200, Todd wrote: Numpy arrays are not lists, they are numpy arrays. They are two different data types with different behaviors. In lists, slicing is a copy. In numpy arrays

Re: So what's happening here?

2015-06-05 Thread Todd
On Fri, Jun 5, 2015 at 3:23 PM, Gary Herron gary.her...@islandtraining.com wrote: On 06/05/2015 06:11 AM, Paul Appleby wrote: On Fri, 05 Jun 2015 14:55:11 +0200, Todd wrote: Numpy arrays are not lists, they are numpy arrays. They are two different data types with different behaviors

Re: for...else

2015-06-02 Thread Todd
I think there is essentially zero chance of that. My understanding is that Guido regrets having else to begin with. But this should work broken = True for x in it: if complicated_calculation_1(): break complicated_calculation_2() if complicated_calculation_3(): break

Re: What is considered an advanced topic in Python?

2015-05-29 Thread Todd
On Fri, May 29, 2015 at 7:02 PM, Todd toddr...@gmail.com wrote: On Fri, May 29, 2015 at 6:01 PM, Mike Driscoll kyoso...@gmail.com wrote: Hi, I've been asked on several occasions to write about intermediate or advanced topics in Python and I was wondering what the community considers

Re: What is considered an advanced topic in Python?

2015-05-29 Thread Todd
On Fri, May 29, 2015 at 6:01 PM, Mike Driscoll kyoso...@gmail.com wrote: Hi, I've been asked on several occasions to write about intermediate or advanced topics in Python and I was wondering what the community considers to be intermediate or advanced. I realize we're all growing in our

Re: Question About Image Processing in Python

2015-05-28 Thread Todd
On Thu, May 28, 2015 at 1:05 PM, Terry Reedy tjre...@udel.edu wrote: On 5/28/2015 6:34 AM, Serge Christian Ibala wrote: I want to use the following package “numpy, matplotib, mahotas, ipython OpenCV and SciPy opencv seems to be the only one not available for 3.x. OpenCV 3 (which is

Re: should self be changed?

2015-05-27 Thread Todd
On Wed, May 27, 2015 at 2:40 PM, zipher dreamingforw...@gmail.com wrote: On Wednesday, May 27, 2015 at 6:30:16 AM UTC-5, Ben Finney wrote: Steven D'Aprano steve+comp.lang.pyt...@pearwood.info writes: On Wednesday 27 May 2015 14:39, Ben Finney wrote: That kind of homophobic slur is

Re: Slices time complexity

2015-05-18 Thread Todd
On May 18, 2015 9:26 PM, Mario Figueiredo mar...@gmail.com wrote: I'd like to understand what I'm being told about slices in https://wiki.python.org/moin/TimeComplexity Particularly, what's a 'del slice' and a 'set slice' and whether this information pertains to both CPython 2.7 and 3.4.

Re: Slices time complexity

2015-05-18 Thread Todd
On May 18, 2015 9:56 PM, Fabien fabien.mauss...@gmail.com wrote: On 05/18/2015 09:49 PM, Ian Kelly wrote: It may be possible that lists in CPython could be made to share their internal arrays with other lists on a copy-on-write basis, which could allow slicing to be O(1) as long as neither

Re: Jython from bathc file?

2015-05-09 Thread Todd Vargo
=thequickbrownfoxjumpsoverthelazydog set x1=%x:~11,1%%x:~1,1%%x:~29,1%%x:~0,1% set x2= %x:~32,2%%x:~2,1%%x:~20,1% set x3= %x:~5,1%%x:~0,1% %x:~32,2% echo %x1%%x2%%x3%? pausenul -- Todd Vargo (Post questions to group only. Remove z to email personal messages) -- https://mail.python.org/mailman/listinfo

[issue22471] Python build problems via Homebrew on Mac OS X when GNU core/find utils are default

2014-09-23 Thread Todd Thomas
New submission from Todd Thomas: Installing Python via Homebrew on Mac OS X has build issues if the GNU core/find utils are set as defaults on the system. OS X is very common, on it Homebrew is very common, via Homebrew GNU utilities are among the first installations; EG: http://goo.gl/OodjHI

[issue20631] python readline module crashing on NULL access

2014-02-18 Thread Todd Fiala
Todd Fiala added the comment: Cleaned up the proposed patch a bit. Moves HIST_ENTRY* into a tighter block and removes the second call to history_get() since the value is already stashed in the NULL-checked local. -- Added file: http://bugs.python.org/file34137

[issue20640] Adds idle test for configHelpSourceEdit

2014-02-16 Thread Todd Rovito
Changes by Todd Rovito rovit...@rovitotv.org: -- nosy: +Todd.Rovito ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20640 ___ ___ Python-bugs-list

[issue16278] os.rename documentation slightly inaccurate

2014-02-15 Thread Todd Rovito
Todd Rovito added the comment: Retested this patch with the latest 3.4 and made one tiny change to get it to apply cleanly. Please provide feedback or commit. I would like to get this committed after more than a year since the original bug report. -- Added file: http

[issue16278] os.rename documentation slightly inaccurate

2014-02-15 Thread Todd Rovito
Todd Rovito added the comment: I forgot to mention this patch only works on 3.4 but if it is committed I will work on a patch for 2.7. Thanks. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16278

[issue6143] IDLE - an extension to clear the shell window

2014-02-15 Thread Todd Rovito
Changes by Todd Rovito rovit...@rovitotv.org: -- nosy: +Todd.Rovito ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6143 ___ ___ Python-bugs-list

[issue20631] python readline module crashing on NULL access

2014-02-14 Thread Todd Fiala
New submission from Todd Fiala: Hi all, In working on the LLVM/LLDB project, I've been hitting a bug in the embedded interpreter that causes a NULL dereference in the Python readline module. There is a call to the history_get() function with an assumption that it returns a non-NULL value

[issue20631] python readline module crashing on NULL access

2014-02-14 Thread Todd Fiala
Changes by Todd Fiala tfi...@google.com: -- type: - crash ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20631 ___ ___ Python-bugs-list mailing

[issue18704] IDLE: PEP8 Style Check Integration

2013-08-19 Thread Todd Rovito
Todd Rovito added the comment: Ezio, I think modern editors are expected to have this sort of functionality built into them [1]. XCode is simply amazing where it will pop up errors and quote the C99 standard [2]. We don't expect IDLE to have all that functionality but it seemed to us

[issue18704] IDLE: PEP8 Style Check Integration

2013-08-19 Thread Todd Rovito
Todd Rovito added the comment: Raymond, Would you prefer PyFlakes instead? Try to consider IDLE being for beginners so they need all the help they can get. Advanced users can always turn the extension off. Thanks for your input. -- ___ Python

[issue18704] IDLE: PEP8 Style Check Integration

2013-08-19 Thread Todd Rovito
Changes by Todd Rovito rovit...@gmail.com: -- nosy: +terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18704 ___ ___ Python-bugs-list

[issue18583] Idle: enhance FormatParagraph

2013-07-29 Thread Todd Rovito
Changes by Todd Rovito rovit...@gmail.com: -- nosy: +Todd.Rovito ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18583 ___ ___ Python-bugs-list

[issue18441] Idle: Make test.support.requires('gui') skip when it should.

2013-07-15 Thread Todd Rovito
Changes by Todd Rovito rovit...@gmail.com: -- nosy: +Todd.Rovito ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18441 ___ ___ Python-bugs-list

[issue18441] Idle: Make test.support.requires('gui') skip when it should.

2013-07-15 Thread Todd Rovito
Changes by Todd Rovito rovit...@gmail.com: -- nosy: +JayKrish ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18441 ___ ___ Python-bugs-list mailing

[issue18441] Idle: Make test.support.requires('gui') skip when it should.

2013-07-15 Thread Todd Rovito
Changes by Todd Rovito rovit...@gmail.com: -- nosy: +philwebster ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18441 ___ ___ Python-bugs-list

[issue18444] IDLE: Mac OS X pressing ctrl-A in Python shell moved cursor before the prompt, which then makes the keyboard unresponsive.

2013-07-14 Thread Todd Rovito
Todd Rovito added the comment: Ned, Thanks for such a thorough comment this saved me lots of time now I don't have to dig so deeply into the problem. After spending some time trying to understand how this all works or doesn't across the various Tk's, I am coming to the conclusion that we

[issue17721] Help button on preference window doesn't work

2013-07-13 Thread Todd Rovito
Todd Rovito added the comment: This patch LGTM as well. I think it should be committed ASAP because the button clearly doesn't work as it is programmed now. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17721

[issue18444] IDLE: Mac OS X pressing ctrl-A in Python shell moved cursor before the prompt, which then makes the keyboard unresponsive.

2013-07-13 Thread Todd Rovito
New submission from Todd Rovito: covers point 1.1) Pressing the Home key moves the cursor before the prompt, which then makes the keyboard unresponsive. This issues was fixed on Windows XP and Linux here http://bugs.python.org/issue3851 On Mac OS X the home key is control-A or function

[issue13504] Meta-issue for Invent with Python IDLE feedback

2013-07-13 Thread Todd Rovito
Todd Rovito added the comment: 1.1) Pressing the Home key moves the cursor before the prompt, which then makes the keyboard unresponsive. This issue is still broken on Mac OS X. http://bugs.python.org/issue18444 -- ___ Python tracker rep

[issue18429] IDLE: Format Paragraph doesn't function with comment blocks

2013-07-12 Thread Todd Rovito
Todd Rovito added the comment: Terry, I was suffering from the classic chicken and egg problem so I was not sure if the test case in http://bugs.python.org/issue18226 should include the small code change. I will work with Phil Webster to get this small change added to issue 18226 along

[issue18279] IDLE Unit test for RstripExtension.py

2013-07-12 Thread Todd Rovito
Todd Rovito added the comment: As a suggestion I always use the command make patchcheck (before making the patch) which catches the white space and tab problem plus it fixes other things. Here is more information on patch check in the developer's guide. http://docs.python.org/devguide

[issue18429] IDLE: Format Paragraph doesn't function with comment blocks

2013-07-11 Thread Todd Rovito
New submission from Todd Rovito: While working on a test case for Format Paragraph (http://bugs.python.org/issue18226) I noted that format paragraph doesn't work with comment blocks when a comment block is selected. The fix is very simple by changing one line: if first and last: data

[issue18429] IDLE: Format Paragraph doesn't function with comment blocks

2013-07-11 Thread Todd Rovito
Changes by Todd Rovito rovit...@gmail.com: -- keywords: +patch nosy: +JayKrish, philwebster, roger.serwy, terry.reedy Added file: http://bugs.python.org/file30891/18429FormatParagraphFor3.4.patch ___ Python tracker rep...@bugs.python.org http

[issue18425] IDLE Unit test for IdleHistory.py

2013-07-10 Thread Todd Rovito
Changes by Todd Rovito rovit...@gmail.com: -- nosy: +Todd.Rovito ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18425 ___ ___ Python-bugs-list

[issue15661] OS X installer packages should be signed for OS X 10.8 Gatekeeper feature

2013-07-06 Thread Todd Rovito
Changes by Todd Rovito rovit...@gmail.com: -- nosy: +Todd.Rovito ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15661 ___ ___ Python-bugs-list

[issue13582] IDLE and pythonw.exe stderr problem

2013-07-06 Thread Todd Rovito
Todd Rovito added the comment: Terry, Bottom line I can't seem to get this patch to do anything for me. Before the patch is applied IDLE seems to be handling warnings and exceptions just fine in PyShell on the Mac. I get no crash and the output matches the normal console. Here

[issue18226] IDLE Unit test for FormatParagrah.py

2013-07-01 Thread Todd Rovito
Todd Rovito added the comment: Here is a uncompleted patch but works for the most part. I thought I would post just in case somebody wanted to provide me comments on the general direction of the patch. The naming might have to change but this follows Terry Reedy's model of monkey patching

[issue18292] IDLE Improvements: Unit test for AutoExpand.py

2013-07-01 Thread Todd Rovito
Changes by Todd Rovito rovit...@gmail.com: -- nosy: +Todd.Rovito ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18292 ___ ___ Python-bugs-list

[issue7136] Idle File Menu Option Improvement

2013-07-01 Thread Todd Rovito
Todd Rovito added the comment: Terry I am sorry the push didn't go smooth. I thought I had checked the patch with 2.7 and 3.4 and it applied for me but maybe I missed something? For sure I didn't check 3.3 but from here on out I will. Awhile ago I worked on a issue to synchronize

[issue18226] IDLE Unit test for FormatParagrah.py

2013-07-01 Thread Todd Rovito
Todd Rovito added the comment: Terry, Thank you for the feedback this helps me alot! I will work with Phil Webster and will use his Text Widget and EditorWindow classes. Hopefully this will help us converge on a strong unit test for FormatParagraph.py. Thanks for the reminder about

[issue7136] Idle File Menu Option Improvement

2013-06-30 Thread Todd Rovito
Todd Rovito added the comment: PING It has been a month since Roger's last comment on the patch looking good, can somebody please commit or post feedback. Thanks. -- nosy: +terry.reedy ___ Python tracker rep...@bugs.python.org http

[issue13582] IDLE and pythonw.exe stderr problem

2013-06-30 Thread Todd Rovito
Todd Rovito added the comment: Yes I have a Mac and I am glad to help, so I gave it a test run tonight. The first thing I did was apply the patch then I ran idle from the console like so: ./python.exe Lib/idlelib/idle.py For testing I used a simple print command to print to stderr

[issue18226] IDLE Unit test for FormatParagrah.py

2013-06-15 Thread Todd Rovito
Changes by Todd Rovito rovit...@gmail.com: -- nosy: +JayKrish ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18226 ___ ___ Python-bugs-list mailing

[issue18226] IDLE Unit test for FormatParagrah.py

2013-06-15 Thread Todd Rovito
New submission from Todd Rovito: Continuing the IDLE unittest framework initiated in http://bugs.python.org/issue15392. A small unit test for IDLE FormatParagraph.py. This patch introduces a test module named test_format_paragraph.py inside Lib/idlelib/idle_test, considering the guidance

[issue18189] IDLE Improvements: Unit test for Delegator.py

2013-06-11 Thread Todd Rovito
Changes by Todd Rovito rovit...@gmail.com: -- nosy: +Todd.Rovito ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18189 ___ ___ Python-bugs-list

[issue18189] IDLE Improvements: Unit test for Delegator.py

2013-06-11 Thread Todd Rovito
Changes by Todd Rovito rovit...@gmail.com: -- nosy: +philwebster ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18189 ___ ___ Python-bugs-list

[issue18189] IDLE Improvements: Unit test for Delegator.py

2013-06-11 Thread Todd Rovito
Changes by Todd Rovito rovit...@gmail.com: -- nosy: +terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18189 ___ ___ Python-bugs-list

[issue18103] Create a GUI test framework for Idle

2013-05-31 Thread Todd Rovito
Changes by Todd Rovito rovit...@gmail.com: -- nosy: +Todd.Rovito ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18103 ___ ___ Python-bugs-list

[issue18104] Idle: make human-mediated GUI tests usable

2013-05-31 Thread Todd Rovito
Changes by Todd Rovito rovit...@gmail.com: -- nosy: +Todd.Rovito ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18104 ___ ___ Python-bugs-list

[issue7136] Idle File Menu Option Improvement

2013-05-29 Thread Todd Rovito
Changes by Todd Rovito rovit...@gmail.com: -- nosy: +Todd.Rovito ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7136 ___ ___ Python-bugs-list

[issue7136] Idle File Menu Option Improvement

2013-05-29 Thread Todd Rovito
Todd Rovito added the comment: Roger's patch works but the documentation has changed since he made the patch back in 2011. So I patched the patch and hope this very simple patch will get committed. I will work on a patch for 2.7 next. Today I was teaching a student on how to use Python

[issue7136] Idle File Menu Option Improvement

2013-05-29 Thread Todd Rovito
Todd Rovito added the comment: Same patch but for Python 2.7.5. I just updated the documentation from Roger's excellent patch. -- versions: +Python 2.7 Added file: http://bugs.python.org/file30419/7136FileMenuConfusionV22point7.patch ___ Python

[issue16278] os.rename documentation slightly inaccurate

2013-05-26 Thread Todd Rovito
Todd Rovito added the comment: Ping!!! I have not heard anything about this patch so I wanted to ping it to get more feedback. Thanks! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16278

[issue17511] Idle find function closes after each find operation

2013-05-26 Thread Todd Rovito
Todd Rovito added the comment: I was wondering does it make sense to commit this patch since it is similar to http://bugs.python.org/issue14146 then put the issue in the pending state as we wait for the TK/TCL fix? It seems more consistent to me since this issue is basically the same

[issue5124] IDLE - pasting text doesn't delete selection

2013-05-26 Thread Todd Rovito
Todd Rovito added the comment: I haver verified Roger's patch does indeed fix the problem on Linux CentOS 6.4 with IDLE 3.4. The Linux situation is complex. Basically as I see it over the years pure X11 applications are becoming extinct and most developers either use GTK (for GNOME) or QT

[issue15392] Create a unittest framework for IDLE

2013-05-26 Thread Todd Rovito
Todd Rovito added the comment: Patch does indeed apply and I get good results! The patch is well done and provides a nice example on how to write unit tests. +1 for making the commit from me R. David Murray you used the patch command while I used hg import --no-commit mywork.patch

[issue2053] IDLE - standardize dialogs

2013-05-26 Thread Todd Rovito
Changes by Todd Rovito rovit...@gmail.com: -- nosy: +Todd.Rovito ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2053 ___ ___ Python-bugs-list

[issue5124] IDLE - pasting text doesn't delete selection

2013-05-25 Thread Todd Rovito
Todd Rovito added the comment: What is standard in other linex and mac apps? -On Mac OS X 10.8.3 TextEdit I get the replacement behavior -On Linux CentOS 6.4 gedit I get the replacement behavior -On IDLE under the latest 3.4 pull I get the replacement behavior with Max OS X 10.8.3 -On IDLE

[issue15392] Create a unittest framework for IDLE

2013-05-18 Thread Todd Rovito
Todd Rovito added the comment: I still have the same problem with the patch it will not apply for me on Python 3.4. Based on Ezio's suggestion I used hg verify where I got three warnings unrelated to IDLE, but just to make sure I did a brand new checkout. Even after a new checkout the patch

[issue15392] Create a unittest framework for IDLE

2013-05-14 Thread Todd Rovito
Todd Rovito added the comment: Terry I think you have a typo you mean PEP434 (http://www.python.org/dev/peps/pep-0434/) where PEP343 exists. Can you please confirm? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15392

[issue15392] Create a unittest framework for IDLE

2013-05-14 Thread Todd Rovito
Todd Rovito added the comment: Terry, On my Mac with hg revert -a and hg pull -u the patch fails to apply on CallTips.py and PathBrowser.py under the latest version of Python 3.4. Here is the output when I try to apply the patch: rovitotv-pc:py34 rovitotv$ hg import --no-commit /Volumes

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-05-12 Thread Todd Rovito
Todd Rovito added the comment: Roger, If you and Terry tested I would apply now so it makes it into 2.7.5. Why not? Right now the debugger in Windows doesn't highlight and I am sure that has to drive people crazy. But if you feel it needs more testing maybe you should let it bake some

[issue17883] Fix buildbot testing of Tkinter

2013-05-06 Thread Todd Rovito
Changes by Todd Rovito rovit...@gmail.com: -- nosy: +Todd.Rovito ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17883 ___ ___ Python-bugs-list

[issue15392] Create a unittest framework for IDLE

2013-05-05 Thread Todd Rovito
Todd Rovito added the comment: This issue appears like it is making progress. For a very small contribution I tested JayKrish's patch and it seems to work on my Mac. The results are documented below. Any comment from Python Core Developers on what needs to happen to get it committed

[issue7951] Should str.format allow negative indexes when used for __getitem__ access?

2013-04-19 Thread Todd Rovito
Changes by Todd Rovito rovit...@gmail.com: -- nosy: +Todd.Rovito ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7951 ___ ___ Python-bugs-list

[issue17642] IDLE add font resizing hot keys

2013-04-19 Thread Todd Rovito
Changes by Todd Rovito rovit...@gmail.com: -- nosy: +Todd.Rovito ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17642 ___ ___ Python-bugs-list

[issue7951] Should str.format allow negative indexes when used for __getitem__ access?

2013-04-19 Thread Todd Rovito
Todd Rovito added the comment: Here is a simple patch that simply explains negative indexes and negative slices are not supported for the string format documentation. Perhaps more documentation needs to be created else where to help explain why all collections do not need to support negative

[issue17721] Help button on preference window doesn't work

2013-04-17 Thread Todd Rovito
Changes by Todd Rovito rovit...@gmail.com: -- nosy: +Todd.Rovito ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17721 ___ ___ Python-bugs-list

  1   2   3   4   >