[issue18387] Add 'symbols' link to pydoc's html menu bar.

2013-07-14 Thread Ron Adam
Changes by Ron Adam : Removed file: http://bugs.python.org/file30843/pdoc_symbols.diff ___ Python tracker <http://bugs.python.org/issue18387> ___ ___ Python-bugs-list m

[issue18387] Add 'symbols' link to pydoc's html menu bar.

2013-07-15 Thread Ron Adam
Changes by Ron Adam : Removed file: http://bugs.python.org/file30922/pdoc_symbols.diff ___ Python tracker <http://bugs.python.org/issue18387> ___ ___ Python-bugs-list m

[issue18387] Add 'symbols' link to pydoc's html menu bar.

2013-07-15 Thread Ron Adam
Ron Adam added the comment: Patch update: "<>" removed from pydoc symbols table. -- Added file: http://bugs.python.org/file30931/pdoc_symbols.diff ___ Python tracker <http://bugs.py

[issue18387] Add 'symbols' link to pydoc's html menu bar.

2013-07-15 Thread Ron Adam
Ron Adam added the comment: I agree the specific content for each symbol are separate issues. Those are probably best addressed individually or a few at a time when they are closely related. -- ___ Python tracker <http://bugs.python.

[issue18740] str is number methods don't recognize '.'

2013-08-14 Thread Ron Adam
New submission from Ron Adam: Shouldn't at least isdecimal return True? >>> '123.0'.isdecimal() False >>> '123.0'.isalnum() False >>> '123.0'.isnumeric() False >>> '123.0'.isdigit() False -- components: I

[issue18740] str is number methods don't recognize '.'

2013-08-14 Thread Ron Adam
Ron Adam added the comment: I get the same resluts if I make the string by str(123.0). I was thinking it should test True for the isdecimal case for that. It seems I missunderstood their purpose/use. This seems like it would be a very common misunderstanding. It appears, (Because it isn&#

[issue18387] Add 'symbols' link to pydoc's html menu bar.

2013-10-19 Thread Ron Adam
Ron Adam added the comment: Adding you Nick, I don't have commit rights. This probably doesn't need much.. maybe a one line comment in news is all. (And maybe not even that.) -- nosy: +ncoghlan ___ Python tracker <http://bu

[issue9319] segfault when searching modules with help()

2010-07-20 Thread Ron Adam
New submission from Ron Adam : help('modules spam') causes segfault. When pydoc tries goes though the files it does the following in the ModuleScanner class. (minimal example) >>> for importer, modname, ispkg in pkgutil.walk_packages(): ... if modname == 

[issue2001] Pydoc interactive browsing enhancement

2010-07-23 Thread Ron Adam
Ron Adam added the comment: Thank You for the review Mark. It's very much appreciated. I took another look at it and decided to offer another patch that moves the html/text server to the http package where the rest of the server stuff is. I also corrected the example in it. Everything

[issue2001] Pydoc interactive browsing enhancement

2010-07-23 Thread Ron Adam
Ron Adam added the comment: Here's the new patch with the Misc/NEWS and pydoc.rst additions added to it. I'm not sure if local_text_server is the best name for the server module. In pydoc it's a local server, but it may not be limited to that use. I've also co

[issue2001] Pydoc interactive browsing enhancement

2010-07-23 Thread Ron Adam
Ron Adam added the comment: Sorry, will do... -- ___ Python tracker <http://bugs.python.org/issue2001> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2001] Pydoc interactive browsing enhancement

2010-07-23 Thread Ron Adam
Ron Adam added the comment: Ok, spell, check and attribute error corrected. I agree on the -p / -g issue. I'll bring this up on python dev. Thanks for the reviews and feedback. It really helps. -- Added file: http://bugs.python.org/file18165/pydoc_server3

[issue9362] Make exit/quit hint more novice friendly

2010-07-23 Thread Ron Adam
Ron Adam added the comment: I agree it could be improved a bit. A little experimenting comes up with the following inconsistencies. >>> quit Use quit() or Ctrl-D (i.e. EOF) to exit >>> exit Use exit() or Ctrl-D (i.e. EOF) to exit help(exit) and help(quit) is not helpful. It

[issue2001] Pydoc interactive browsing enhancement

2010-07-24 Thread Ron Adam
Ron Adam added the comment: Ok, on the "!" marks. The Segmentation fault exits python and isn't catchable as far as I know. It's happens in the compiled tokenize.c file. The python side error detection doesn't get a chance to catch it. The problem is present with

[issue9319] segfault when searching modules with help()

2010-07-24 Thread Ron Adam
Ron Adam added the comment: Trying to look at this a bit further... The PyErr_Format function then calls PyUnicode_FromFormatV in Objects/unicodeobject.c to do the actual formating. It looks like there have been a number of issues of this type. Search the tracker for unicodeobject.c and

[issue7330] PyUnicode_FromFormat segfault

2010-07-27 Thread Ron Adam
Changes by Ron Adam : -- nosy: +ron_adam title: PyUnicode_FromFormat segfault when using widths. -> PyUnicode_FromFormat segfault ___ Python tracker <http://bugs.python.org/iss

[issue9319] segfault when searching modules with help()

2010-07-29 Thread Ron Adam
Ron Adam added the comment: The error happens when Null is passed to strlen in (unicodeobject.c, line 860) Passing NULL to a string format function is probably in the category of don't do that. Stefans solution of checking for NULL before calling PyErr_Format looks to me to be correct

[issue2001] Pydoc interactive browsing enhancement

2010-07-29 Thread Ron Adam
Changes by Ron Adam : Removed file: http://bugs.python.org/file18160/pydoc_server.diff ___ Python tracker <http://bugs.python.org/issue2001> ___ ___ Python-bugs-list m

[issue2001] Pydoc interactive browsing enhancement

2010-07-29 Thread Ron Adam
Changes by Ron Adam : Removed file: http://bugs.python.org/file18163/pydoc_server2.diff ___ Python tracker <http://bugs.python.org/issue2001> ___ ___ Python-bugs-list m

[issue2001] Pydoc interactive browsing enhancement

2010-07-29 Thread Ron Adam
Ron Adam added the comment: Link to the discussion on the python-dev new group. Subject: [isssue 2001] Pydoc enhancement patch questions http://permalink.gmane.org/gmane.comp.python.devel/115474 -- ___ Python tracker <http://bugs.python.

[issue2001] Pydoc interactive browsing enhancement

2010-07-30 Thread Ron Adam
Ron Adam added the comment: I also put in a temporary fix to skip the test file that was causing it to crash when doing a search. It's marked as such and can be removed once the bug is fixed. -- ___ Python tracker <http://bugs.py

[issue2001] Pydoc interactive browsing enhancement

2010-07-30 Thread Ron Adam
Ron Adam added the comment: New diff file. Removed the '-g' option and added a '-b' option. Using the '-g' option will now bring up pydoc options help. Added a simple server command prompt with 'b' and 'q' choices to open a browser and quit

[issue9319] segfault when searching modules with help()

2010-08-04 Thread Ron Adam
Ron Adam added the comment: This is by far the simplest fix for this. See patch file. This patch is what Stefan Krah suggested and I agree unless someone a lot more familiar with the import process can take a look at this and re-factor things so the filename is passed along with the file

[issue9319] segfault when searching modules with help()

2010-08-04 Thread Ron Adam
Ron Adam added the comment: I added you to this Victor because it looks like what your doing to rewrite the imports to work with Unicode (issue:9425) overlaps this. See the test in the patch. Your rewrite may fix this as the segfault has to do with getting the file encoding. My apologies

[issue7798] document pydoc methods

2010-08-07 Thread Ron Adam
Ron Adam added the comment: I think a good place for the pager is in the cmd module. I have a separated version of it I could upload if there is consensus on this. I've extracted the text server, but it's in a minimum 'works for pydoc' stage. (See issue 2001) Both of

[issue10716] Modernize pydoc to use better HTML and separate CSS

2013-03-01 Thread Ron Adam
Ron Adam added the comment: I'm going to go over this issue again with fresh eyes after having been away for some time. Recent experience with another project has helped answer some of the questions I had earlier. Particulary, how not to over specifying class names and id's. T

<    1   2