[issue3490] Example Code Error in Tutorial Documentation

2008-08-01 Thread Adam
New submission from Adam [EMAIL PROTECTED]: In section 4.4 of the Python Tutorial (http://docs.python.org/tut/node6.html) there is a code example using prime numbers that results extraneous output. The else is incorrectly indented one tab too far to the right and is nested under (for x in range

[issue3490] Example Code Error in Tutorial Documentation

2008-08-02 Thread Adam
Adam [EMAIL PROTECTED] added the comment: You know what, you're absolutely right. My apologies for sending the bad submission. =\ ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3490

[issue12973] int_pow() implementation is incorrect

2011-09-13 Thread Adam
New submission from Adam a...@netbsd.org: int_pow() (from Objects/intobject.c) shows incorrect results when Python is compiled with Clang (llvm.org); long story short: int_pow() function should use 'unsigned long' type instead of 'long' or some code gets optimised out. Please, refer

[issue23402] dynload_shlib does not close ldl handles when the interpreter is shut down

2015-02-06 Thread Adam
New submission from Adam: I think dynload_shlib (and maybe some of the other non-ldl dynamic library loaders?) should close the libraries when the interpreter is shut down. Currently the handles are not ever closed and in ldl's case sometimes leaked. The reason I desire this behavior is I

[issue17908] Unittest runner needs an option to call gc.collect() after each test

2015-04-27 Thread Adam
Adam added the comment: Is this enhancement still open? I've run into this problem previously, and would be more than happy to implement this feature. -- nosy: +azsorkin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17908

[issue24821] The optimization of string search can cause pessimization

2015-10-06 Thread Adam
Changes by Adam <azsor...@gmail.com>: -- nosy: +azsorkin ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24821> ___ ___ Python

[issue25344] Enhancement to Logging - Logging Stack

2015-10-08 Thread Adam
Changes by Adam <azsor...@gmail.com>: -- nosy: +azsorkin ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25344> ___ ___ Python

[issue17908] Unittest runner needs an option to call gc.collect() after each test

2015-10-13 Thread Adam
Adam added the comment: Any comments about this proposed patch? -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17908> ___ ___

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

2015-09-08 Thread Adam
Changes by Adam <azsor...@gmail.com>: -- nosy: +azsorkin ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10716> ___ ___ Python

[issue24899] Add an os.path <=> pathlib equivalence table in pathlib docs

2015-09-08 Thread Adam
Changes by Adam <azsor...@gmail.com>: -- nosy: +azsorkin ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24899> ___ ___ Python

[issue24249] unittest API for detecting test failure in cleanup/teardown

2015-09-08 Thread Adam
Changes by Adam <azsor...@gmail.com>: -- nosy: +azsorkin ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24249> ___ ___ Python

[issue24928] mock.patch.dict spoils order of items in collections.OrderedDict

2015-09-08 Thread Adam
Changes by Adam <azsor...@gmail.com>: -- nosy: +azsorkin ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24928> ___ ___ Python

[issue25041] document AF_PACKET socket address format

2015-09-10 Thread Adam
Changes by Adam <azsor...@gmail.com>: -- nosy: +azsorkin ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25041> ___ ___ Python

[issue28844] Pickling units

2016-11-30 Thread Adam
New submission from Adam: See below code to show you can't round-trip units through pickle: Python 3.5.1 |Anaconda 4.0.0 (64-bit)| (default, Feb 16 2016, 09:49:46) [MSC v.1900 64 bit AMD64)] import units u = units.unit('myUnit') x = u(3.0) import pickle f = open('C:/temp/what.pkl', 'wb

[issue29722] heapq.merge docs don't handle reverse flag well

2017-03-04 Thread Adam
New submission from Adam: The docs for heapq.merge are a little misleading. Iterables passed into heapq.merge with the reversed flag set to True must be sorted from largest to smallest to achieve the desired sorting effect, but the paragraph describing the function in the general case states

[issue29722] heapq.merge docs are misleading with the "reversed" flag

2017-03-04 Thread Adam
Changes by Adam <adam.niede...@gmail.com>: -- title: heapq.merge docs don't handle reverse flag well -> heapq.merge docs are misleading with the "reversed" flag ___ Python tracker <rep...@bugs.python.org> <http:

[issue32627] Header dependent _uuid build failure on Fedora 27

2018-05-07 Thread Adam
Adam <a...@netbsd.org> added the comment: Some systems might have both uuid.h and uuid/uuid.h. For example, NetBSD provides /usr/include/uuid.h, and one might also install libuuid from a package, and the latter has uuid/uuid.h. To fix this, do not include both files, when both hav

[issue31087] asyncio.create_subprocess_* do not honor `encoding`

2018-04-11 Thread Adam
Adam <adam.g...@wp.pl> added the comment: It occurs both on Python 3.6 and 3.7 RC, so maybe it should be fixed in the 3.7 release. -- nosy: +adampl type: -> behavior versions: +Python 3.7 Added file: https://bugs.python.org/file47531/asyncio_encodin

[issue31087] asyncio.create_subprocess_* should honor `encoding`

2018-04-15 Thread Adam
Adam <adam.g...@wp.pl> added the comment: After reading the docs more carefully, it's now plain to me that text encoding is not supported yet, so actually it's not a bug :) However the docs should be improved (and then an assertion could be added too) to prevent people from f

[issue39074] Threading memory leak in _shutdown_locks for non-daemon threads

2019-12-17 Thread Adam
New submission from Adam : When running 3.7, we noticed a memory leak in threading._shutdown_locks when non-deamon threads are started but "join()" or "is_alive()" is never called. Here's a test to illustrate the growth: = import threading import time imp

[issue39074] Threading memory leak in _shutdown_locks for non-daemon threads

2019-12-17 Thread Adam
Change by Adam : -- type: resource usage -> security ___ Python tracker <https://bugs.python.org/issue39074> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue39074] Threading memory leak in _shutdown_locks for non-daemon threads

2019-12-17 Thread Adam
Adam added the comment: Looks like this issue might be a duplicate of https://bugs.python.org/issue37788 -- ___ Python tracker <https://bugs.python.org/issue39

[issue37788] fix for bpo-36402 (threading._shutdown() race condition) causes reference leak

2019-12-18 Thread Adam
Adam added the comment: I ran into this bug as well, and opened an issue for it (before I saw this issue): https://bugs.python.org/issue39074 Was there a conclusion on the best way to fix this? It seems like the previous __del__ implementation would correct the resource leakage by removing

[issue39201] Threading.timer leaks memory in 3.8.0/3.8.1

2020-01-03 Thread Adam
Adam added the comment: I filed a bug for this a few weeks ago, and then found another ticket about the same issue before: https://bugs.python.org/issue37788 My ticket: https://bugs.python.org/issue39074 The memory leak was from a change introduced about 6 months ago: https://github.com

[issue43486] Python 3.9 installer not updating ARP table

2021-03-13 Thread Adam
Adam added the comment: The 64 installer doesn't even show up in the ARP table, only Python Launcher. -- ___ Python tracker <https://bugs.python.org/issue43

[issue43486] Python 3.9 installer not updating ARP table

2021-03-13 Thread Adam
New submission from Adam : 1. Install 3.9.0 using the following command line options: python-3.9.0.exe /quiet InstallAllUsers=1 2. Install 3.9.2 using the following command line options: python-3.9.2.exe /quiet InstallAllUsers=1 3. Observe that 3.9.2 successfully installed, however

[issue46863] Python 3.10 OpenSSL Configuration Issues

2022-02-28 Thread Adam
Adam added the comment: Update, the Pyenv team confirmed that they do not install OpenSSL in linux, its only installed for MacOS, and it should be built using the system OpenSSL within Linux. We're investigating further to attempt to debug the issue. Interestingly the OpenSSL build flags

[issue46863] Python 3.10 OpenSSL Configuration Issues

2022-02-26 Thread Adam
Adam added the comment: Thanks for the quick reply. On both Ubuntu and Centos, I’m installing Python using Pyenv, testing with 3.9.10 and 3.10.2. Pyenv provides a verbose install flag, I can rebuild the Python versions and review the build commands, if helpful? I’m testing with clean Linux

[issue46863] Python 3.10 OpenSSL Configuration Issues

2022-02-26 Thread Adam
Adam added the comment: I found the Python build recipes and Pyenv does appear to install OpenSSL from source. The only difference I can see, aside from the Python version, is an update on the OpenSSL versions; openssl-1.1.1l (3.9.10) to openssl-1.1.1k (3.10.2). The OpenSSL release notes do

[issue46863] Python 3.10 OpenSSL Configuration Issues

2022-02-26 Thread Adam
Adam added the comment: Yes agreed, it may well be a Pyenv issue. Interestingly we can demonstrate that the global OpenSSL crypto policies is respected with the 3.9.10 version, through adjusting the policy. The ssl error occurs with the default policy setting and is resolved with the legacy

[issue46863] Python 3.10 OpenSSL Configuration Issues

2022-03-01 Thread Adam
Adam added the comment: Many thanks Christian, see the attached for the output of the commands on Python 3.9.10 and 3.10.2, along with a diff removing version numbers and memory addresses. I've run the commands on the Ubuntu distribution, we can also run the same for the Centos VM

[issue46863] Python 3.10 OpenSSL Configuration Issues

2022-03-02 Thread Adam
Adam added the comment: Many thanks Christian, that resolved the issue! I really appreciate your efforts here. -- ___ Python tracker <https://bugs.python.org/issue46

[issue41395] pickle and pickletools cli interface doesn't close input and output file.

2022-04-02 Thread Adam
Change by Adam : -- nosy: +achhina nosy_count: 7.0 -> 8.0 pull_requests: +30326 pull_request: https://github.com/python/cpython/pull/32257 ___ Python tracker <https://bugs.python.org/issu

[issue41395] pickle and pickletools cli interface doesn't close input and output file.

2022-04-05 Thread Adam
Adam added the comment: Hi, First-time contributor here, I've made a patch in follow-up to the discussions that happened in Amir's patch in regards to this. I'd appreciate it if someone would be able to take a look and review it! https://github.com/python/cpython/pull/32257

[issue1033] Support for newline and encoding in tempfile module

2007-08-26 Thread Adam Hupp
New submission from Adam Hupp: It would be useful for tempfile.TemporaryFile and friends to pass newline and encoding arguments to the underlying io.open call. For example, several tests in test_csv use TemporaryFile and need to handle unicode file output or preserve exact newlines

[issue1033] Support for newline and encoding in tempfile module

2007-08-26 Thread Adam Hupp
Adam Hupp added the comment: One change I forgot to mention that may need discussion. I've changed the 'bufsize' arguments in tempfile to 'buffering', since that is consistent with the same change in os.fdopen. __ Tracker [EMAIL PROTECTED] http://bugs.python.org

[issue1098] decode_unicode doesn't nul-terminate

2007-09-03 Thread Adam Olsen
New submission from Adam Olsen: In the large else branch in decode_unicode (if encoding is not NULL or iso-8859-1), the new string it produces is not nul-terminated. This then hits PyUnicode_DecodeUnicodeEscape's octal escape case, which reads past the end of the string (but would stop

Re: [issue2001] Pydoc interactive browsing enhancement

2010-11-19 Thread Ron Adam
On 11/19/2010 08:21 AM, Alexander Belopolsky wrote: Alexander Belopolskybelopol...@users.sourceforge.net added the comment: On Thu, Nov 18, 2010 at 2:37 AM, Ron Adamrep...@bugs.python.org wrote: .. I'll try reading and writing directly to the socket and working up some tests from that. I

[issue2001] Pydoc interactive browsing enhancement

2010-11-19 Thread Ron Adam
Ron Adam ron_a...@users.sourceforge.net added the comment: I added an empty _pydoc.css file. The server does read it and you'll be able to play around with it, but don't expect it to be pretty if you do until the rest of the html is updated. Should I put that in the pydoc_data? It just

[issue2001] Pydoc interactive browsing enhancement

2010-11-20 Thread Ron Adam
Ron Adam ron_a...@users.sourceforge.net added the comment: Here is the latest patch with tests. In order to test the html pages I separated out the URL handler. So now we have three new functions. pydoc._start_server(urlhandler, port) pydoc._url_handler(url, content_type=text/html

[issue10509] PyTokenizer_FindEncoding can lead to a segfault if bad characters are found

2010-11-22 Thread Ron Adam
Ron Adam ron_a...@users.sourceforge.net added the comment: Is this a duplicate of issue 9319? -- nosy: +ron_adam ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10509

[issue2001] Pydoc interactive browsing enhancement

2010-11-27 Thread Ron Adam
Ron Adam ron_a...@users.sourceforge.net added the comment: Thanks for the review and style edits Éric. I think it's a much better patch with the changes and suggestions from you, Nick, and Alexander. I'll check my white space settings. Thanks for noticing it. As Nick points out, parts

[issue10588] imp.find_module raises unexpected SyntaxError

2010-11-30 Thread Ron Adam
Changes by Ron Adam ron_a...@users.sourceforge.net: -- nosy: +ron_adam ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10588 ___ ___ Python-bugs

[issue10562] Change 'j' for imaginary unit into an 'i'

2010-12-03 Thread Adam Byrtek
Adam Byrtek adambyr...@gmail.com added the comment: What happened with there should be one-- and preferably only one --obvious way to do it? -- nosy: +adambyrtek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10562

[issue10562] Change 'j' for imaginary unit into an 'i'

2010-12-03 Thread Adam Byrtek
Changes by Adam Byrtek adambyr...@gmail.com: -- nosy: -adambyrtek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10562 ___ ___ Python-bugs-list

[issue9319] imp.find_module('test/badsyntax_pep3120') causes segfault

2010-12-15 Thread Ron Adam
Ron Adam ron_a...@users.sourceforge.net added the comment: Pydoc skips the badsysntax_pep3120 file for now. When this gets fixed that workaround should be removed. The work around is commented and refers to this issue #. -- ___ Python tracker rep

[issue10716] Modernize pydoc to use CSS

2010-12-16 Thread Ron Adam
Ron Adam ron_a...@users.sourceforge.net added the comment: I uploaded the css file I used in an experimental version of pydoc. It may give some useful starting values. Before this is done, the old server code should be removed (also for 3.3). (another issue?) There are two files

[issue10716] Modernize pydoc to use CSS

2010-12-16 Thread Ron Adam
Ron Adam ron_a...@users.sourceforge.net added the comment: Eric, most of what's in that file is what I figured out by trial and error in order to get it to work on the different browsers at that time. (about 3 years ago.) You are probably more experienced with css than I am, so you are more

[issue10716] Modernize pydoc to use CSS

2010-12-16 Thread Ron Adam
Ron Adam ron_a...@users.sourceforge.net added the comment: I think that's how I ended up with the style sheet I uploaded. It works, but it can be a slow process. Another factor is the pydoc server will reread an external style sheet on browser refreshes. So you can see the results of style

[issue10716] Modernize pydoc to use CSS

2010-12-16 Thread Ron Adam
Ron Adam ron_a...@users.sourceforge.net added the comment: Ok, I just looked at them again, I didn't remember how different it was. They probably won't be much help other than maybe seeing how some things could be done. Here's a zip file of some saved pages, so you can take a look

[issue8916] Move PEP 362 (function signature objects) into inspect

2010-12-19 Thread Ron Adam
Changes by Ron Adam ron_a...@users.sourceforge.net: -- nosy: +ron_adam ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8916 ___ ___ Python-bugs-list

[issue10087] HTML calendar is broken

2010-12-20 Thread Ron Adam
Changes by Ron Adam ron_a...@users.sourceforge.net: -- nosy: +ron_adam ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10087 ___ ___ Python-bugs

[issue10087] HTML calendar is broken

2010-12-20 Thread Ron Adam
Ron Adam ron_a...@users.sourceforge.net added the comment: The problem is in the following line... return ''.join(v).encode(encoding, xmlcharrefreplace) The .encode(encoding, xmlcharrefreplace) is returning a bytes object. Here is the simplest change to resolve the problem. return

[issue10087] HTML calendar is broken

2010-12-20 Thread Ron Adam
Ron Adam ron_a...@users.sourceforge.net added the comment: Oops. You're right. I miss understood how the encode method works in this particular case. ;-/ I agree with your comments as well. -- ___ Python tracker rep...@bugs.python.org http

[issue10573] Consistency in unittest assert methods: order of actual, expected

2010-12-26 Thread Ron Adam
Ron Adam ron_a...@users.sourceforge.net added the comment: The issue10573.diff file with the time stamp 20:03 has a lot of document changes that don't have corresponding code changes? -- nosy: +ron_adam ___ Python tracker rep...@bugs.python.org http

[issue10716] Modernize pydoc to use CSS

2010-12-28 Thread Ron Adam
Ron Adam ron_a...@users.sourceforge.net added the comment: Here is a tentative start on this. (css_v1.diff) The css file is much better. It's shorter, simpler and validated. The header and navbar panel use it in the new server. Added a markup call to the topic page contents. (The same

[issue10716] Modernize pydoc to use CSS

2010-12-29 Thread Ron Adam
Ron Adam ron_a...@users.sourceforge.net added the comment: The HtmlDoc class has methods that take colors. Can this be changed or does it need to be depreciated first? def heading(self, title, fgcol, bgcol, extras=''): Format a page heading. return ''' table width=100

[issue10716] Modernize pydoc to use CSS

2010-12-29 Thread Ron Adam
Ron Adam ron_a...@users.sourceforge.net added the comment: It may be useful to change those to 'id=' and 'class=' if possible. It isn't clear to me how much of pydoc is still part of the public api in python 3.x. pydoc.__all__ is set only to ['help']. Entering help(pydoc) just gives

[issue10716] Modernize pydoc to use CSS

2011-01-01 Thread Ron Adam
Ron Adam ron_a...@users.sourceforge.net added the comment: Here is a new diff which updates all the new pydoc pages to use the css file. The css file is simpler and cleaner. I also made a few adjustments to the url handler error handling, and changed the titles in the head sections so

[issue10716] Modernize pydoc to use CSS

2011-01-01 Thread Ron Adam
Changes by Ron Adam ron_a...@users.sourceforge.net: Removed file: http://bugs.python.org/file20081/defaultstyle.css ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10716

[issue10716] Modernize pydoc to use CSS

2011-01-01 Thread Ron Adam
Changes by Ron Adam ron_a...@users.sourceforge.net: Removed file: http://bugs.python.org/file20088/pydoc sample html files.zip ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10716

[issue10716] Modernize pydoc to use CSS

2011-01-01 Thread Ron Adam
Changes by Ron Adam ron_a...@users.sourceforge.net: Removed file: http://bugs.python.org/file20183/css_v1.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10716

[issue10716] Modernize pydoc to use CSS

2011-01-02 Thread Ron Adam
Ron Adam ron_a...@users.sourceforge.net added the comment: If the colors are passed directly to the HTML they should be removed and left to the CSS(s) only. I don't know the code well enough to say if this is doable and/or if it requires a deprecation first; We may have to do dome

[issue10716] Modernize pydoc to use CSS

2011-01-02 Thread Ron Adam
Ron Adam ron_a...@users.sourceforge.net added the comment: To go forward I can create a new private api instead of changing HTMLDoc, that would be preferable. Should the -w option also use the new html pages? Or do we need a new option

[issue10818] pydoc: refactorize duplicate DocHandler and DocServer classes

2011-01-03 Thread Ron Adam
Ron Adam ron_a...@users.sourceforge.net added the comment: No refactoring is needed. The second copies are part of the new server. The old server was depreciated in 3.2 and is supposed to be removed along with the tk panel for 3.3. After that there will only be one of each again

[issue10818] pydoc: Remove old server and tk panel

2011-01-04 Thread Ron Adam
Ron Adam ron_a...@users.sourceforge.net added the comment: Here is a patch for this. Not much to it as the hard parts were already done. Apparently there was no tests for this, test_pydoc still passes without it. Does there need to be any messages for the -g option? Pydoc help is displayed

[issue10918] **kwargs unnecessarily restricted in API

2011-01-17 Thread Ron Adam
Ron Adam ron_a...@users.sourceforge.net added the comment: Why is this surprising? def foo(c, c=None): ... pass ... File stdin, line 1 SyntaxError: duplicate argument 'c' in function definition In the previous examples, it finds the duplicate at run time instead of compile time due

[issue10918] **kwargs unnecessarily restricted in API

2011-01-17 Thread Ron Adam
Ron Adam ron_a...@users.sourceforge.net added the comment: Is this issue referring to something in Python's library, or a hypothetical function someone may write? If it's in the library, we can look at that case in more detail, otherwise, it's just a bad program design issue and there's

[issue10918] **kwargs unnecessarily restricted in concurrent.futures 'submit' API

2011-01-17 Thread Ron Adam
Ron Adam ron_a...@users.sourceforge.net added the comment: Here is the whole method for reference... def submit(self, fn, *args, **kwargs): with self._shutdown_lock: if self._shutdown_thread: raise RuntimeError('cannot schedule new futures after shutdown

[issue10918] **kwargs unnecessarily restricted in concurrent.futures 'submit' API

2011-01-17 Thread Ron Adam
Ron Adam ron_a...@users.sourceforge.net added the comment: Change... are never unpacked within submit. to... Are completely separate. It's the attempt to mix two function signatures together as one, that was/is the problem

[issue10918] **kwargs unnecessarily restricted in concurrent.futures 'submit' API

2011-01-18 Thread Ron Adam
Ron Adam ron_a...@users.sourceforge.net added the comment: Yes, you are correct. Pulling the first value off of args would work. This is new for 3.2, can it still be changed? One more thing to consider... One of the things I look at for functions like these is, how easy is it to separate

[issue10961] Pydoc touchups in new browser for 3.2

2011-01-20 Thread Ron Adam
New submission from Ron Adam ron_a...@users.sourceforge.net: A collection of small fix's that only effect the new browser mode. * Change title of html pages from Python ... to PyDoc * Fixed unterminated div float for items returned without a header. example: str, None, True

[issue10961] Pydoc touchups in new browser for 3.2

2011-01-20 Thread Ron Adam
Ron Adam ron_a...@users.sourceforge.net added the comment: new patch... Adjusted a comment in the _gettopic method. Everything else the same. -- Added file: http://bugs.python.org/file20468/pydoc_misc_fix.diff ___ Python tracker rep

[issue10961] Pydoc touchups in new browser for 3.2

2011-01-20 Thread Ron Adam
Changes by Ron Adam ron_a...@users.sourceforge.net: Removed file: http://bugs.python.org/file20467/pydoc_misc_fix.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10961

[issue10961] Pydoc touchups in new browser for 3.2

2011-01-20 Thread Ron Adam
Ron Adam ron_a...@users.sourceforge.net added the comment: A few last minute changes.. I think this will be all. Run topic contents through html.markup. That makes ref:, pep:, and html: links if they exist. (I meant to this earlier.) Fix case where topic reference links are to objects

[issue10961] Pydoc touchups in new browser for 3.2

2011-01-20 Thread Ron Adam
Changes by Ron Adam ron_a...@users.sourceforge.net: Removed file: http://bugs.python.org/file20468/pydoc_misc_fix.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10961

[issue10961] Pydoc touchups in new browser for 3.2

2011-01-20 Thread Ron Adam
Changes by Ron Adam ron_a...@users.sourceforge.net: -- nosy: +eric.araujo, rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10961

[issue10961] Pydoc touchups in new browser for 3.2

2011-01-21 Thread Ron Adam
Ron Adam ron_a...@users.sourceforge.net added the comment: George, My apologies to you for the late corrections. And thanks for doing this. Eric, I replied to your comments on Rietveld. Thanks for taking a look. I'll wait until you have a chance to reply and test it, then upload a new patch

[issue10961] Pydoc touchups in new browser for 3.2

2011-01-23 Thread Ron Adam
Changes by Ron Adam ron_a...@users.sourceforge.net: Removed file: http://bugs.python.org/file20473/pydoc_misc_fix_c.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10961

[issue10961] Pydoc touchups in new browser for 3.2

2011-01-29 Thread Ron Adam
Ron Adam ron_a...@users.sourceforge.net added the comment: New and hopefully last patch... pydoc_misc_fix_e.diff I removed the .html in the ?key= links as Eric suggested. I checked the navbar float behavior on browsershots.org. Multiple versions of MSIE, firefox, opera, chrome, and safari

[issue10716] Modernize pydoc to use CSS

2011-01-30 Thread Ron Adam
Ron Adam ron_a...@users.sourceforge.net added the comment: A reminder: Check for instances where html.escape is not called on data inserted into the html pages. I'll update the patch as the non-css (error handling) parts made it into python 3.2

[issue1038909] pydoc method documentation lookup enhancement

2011-02-03 Thread Ron Adam
Ron Adam ron_a...@users.sourceforge.net added the comment: I agree. It is close enough to be a duplicate. I suggest closing it. As Ka-Ping noted in the other issue: There's a link to the base class provided if you want to find out what the base class does. This is easy to do if your viewing

[issue9364] some problems with the documentation of pydoc

2011-02-04 Thread Ron Adam
Changes by Ron Adam ron_a...@users.sourceforge.net: -- nosy: +ron_adam ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9364 ___ ___ Python-bugs-list

[issue11182] pydoc.Scanner class not used by anything

2011-02-10 Thread Ron Adam
New submission from Ron Adam ron_a...@users.sourceforge.net: There doesn't seem to be any references to it in any other part of pydoc, or the Library for that matter. Searching for it on google code search (and also google web search) only turns up auto generated API references for python

[issue2571] cmd.py always uses raw_input, even when another stdin is specified

2011-02-17 Thread Ron Adam
Changes by Ron Adam ron_a...@users.sourceforge.net: -- nosy: +ron_adam ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2571 ___ ___ Python-bugs-list

[issue1237] type_new doesn't allocate space for sentinal slot

2007-10-04 Thread Adam Olsen
New submission from Adam Olsen: type_new() allocates the exact number of slots it's going to use, but various other functions assume there's one more slot with a NULL name field serving as a sentinel. I'm unsure why it doesn't normally crash. -- components: Interpreter Core messages

[issue1237] type_new doesn't allocate space for sentinal slot

2007-10-05 Thread Adam Olsen
Adam Olsen added the comment: typeobject.c:1842:type_new type = (PyTypeObject *)metatype-tp_alloc(metatype, nslots); nslots may be 0. typeobject.c:1966:type_new assigns this just-past-the-end address to tp_members type-tp_members = PyHeapType_GET_MEMBERS(et); type_new later

[issue1288] dict.fromkeys - Odd logic when passing second dict.fromkeys as value

2007-10-16 Thread Adam Doherty
New submission from Adam Doherty: Hello: I'm am trying to conduct some tests on a list of data that checks for the position of values in list elements using the bisect module. To store the results of these tests for output to a template I have build a dictionary with 47 keys the values

[issue1328] feature request: force BOM option

2007-11-01 Thread Adam Olsen
Adam Olsen added the comment: The problem with being tolerate as you suggest is you lose the ability to round-trip. Read in a file using the UTF-8 signature, write it back out, and suddenly nothing else can open it. Conceptually, these signatures shouldn't even be part of the encoding; they're

[issue1328] feature request: force BOM option

2007-11-01 Thread Adam Olsen
Adam Olsen added the comment: On 11/1/07, James G. sack (jim) [EMAIL PROTECTED] wrote: James G. sack (jim) added the comment: Adam Olsen wrote: Adam Olsen added the comment: The problem with being tolerate as you suggest is you lose the ability to round-trip. Read in a file using

[issue1373] turn off socket timeout in test_xmlrpc

2007-11-02 Thread Adam Hupp
New submission from Adam Hupp: The attached patch resolves the intermittent test_xmlrpc failures reported by Neal Norwitz[0]. test_xmlrpc starts the XMLRPC server with a socket timeout. This puts the socket into non-blocking mode which is incompatible with the use of socket.makefile as used

[issue1380] fix for test_asynchat and test_asyncore on pep3137 branch

2007-11-03 Thread Adam Hupp
New submission from Adam Hupp: The attached patch resolves test failues in test_asynchat and test_asyncore. The asynchat failure was due to interpolating a byte string into a unicode string using %s. This resulted in a b'' byte representation in the final string. The fix is to use string

[issue1720390] Remove backslash escapes from tokenize.c.

2007-11-08 Thread Ron Adam
Ron Adam added the comment: Yes, I will update it. _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1720390 _ ___ Python-bugs-list mailing list Unsubscribe: http

[issue1420] Unicode literals in tokenize.py and tests.

2007-11-11 Thread Ron Adam
New submission from Ron Adam: Replaced Unicode literals in tokenize.py and it's tests files with byte literals. Added a compile step to the test to make sure the text file used in the test are valid python code. This will catch changes that need to be done in to the text (gold file) for future

[issue1420] Unicode literals in tokenize.py and tests.

2007-11-12 Thread Ron Adam
Ron Adam added the comment: George is correct. The changes are minimal. The only addition is to run the tokenize_tests.txt file though compile() as a way to force an exception if it needs updating in the future. The results of the compile are not used

[issue1720390] Remove backslash escapes from tokenize.c.

2007-11-15 Thread Ron Adam
Ron Adam added the comment: It looks like the disabling of \u and \U in raw strings is done. Does tokenize.py need to be fixed, to match? While working on this I was able to clean up the string parsing parts of tokenize.c, and have a separate patch with just that. And an updated patch

[issue1720390] Remove backslash escapes from tokenize.c.

2007-11-15 Thread Ron Adam
Changes by Ron Adam: Added file: http://bugs.python.org/file8763/no_raw_escapes_patch.diff _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1720390 _ ___ Python-bugs-list

[issue1225584] crash in gcmodule.c on python reinitialization

2007-11-26 Thread Adam Olsen
Changes by Adam Olsen: -- nosy: +rhamphoryncus _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1225584 _ ___ Python-bugs-list mailing list Unsubscribe: http

[issue1517] lookdict should INCREF/DECREF startkey around PyObject_RichCompareBool

2007-11-28 Thread Adam Olsen
New submission from Adam Olsen: (thanks go to my partner in crime, jorendorff, for helping flesh this out.) lookdict calls PyObject_RichCompareBool without using INCREF/DECREF on the key passed. It's possible for the comparison to delete the key from the dict, causing its own argument

[issue1564547] Py_signal_pipe

2007-12-09 Thread Adam Olsen
Adam Olsen added the comment: The minimal patch doesn't initialize dummy_char or dummy_c. It's harmless here, but please fix it. ;) sizeof(dummy_char) will always be 1 (C defines sizeof as multiples of char.) The convention seems to be hardcoding 1 instead

  1   2   3   4   5   6   7   >