New submission from Ron Adam:
This patch removes the gui tk control panel and replaces it with a
navigation bar on the served web pages.
This offers a nicer user experience because one no longer needs to jump
back and forth between windows.
The navbar supports getting specific modules
Changes by Ron Adam:
--
versions: +Python 2.6
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2001>
__
___
Python-bugs-list mailing list
Unsubs
Ron Adam added the comment:
Added a topics and keywords index choices to the navbar.
This gives the web interface the same functionality as the cli interface.
Fixed the -p option which I had missed.
Added file: http://bugs.python.org/file9423/pydocnotk.diff
Ron Adam added the comment:
Remade the diff with correct directory name so it patches correctly.
Is there a way to add the patch keyword?
Added file: http://bugs.python.org/file9448/pydocnotk.diff
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/
Ron Adam <[EMAIL PROTECTED]> added the comment:
The following patch also fixes this along with other improvements.
Maybe someone can review it.
http://bugs.python.org/issue2001
--
nosy: +ron_adam
Tracker <[EMAIL PROTECTED]>
<http://
New submission from Ron Frederick :
In testing AsyncSSH against Python 3.8, I noticed a large number of the
following errors, even though I was properly closing streams before the objects
holding them were garbage-collected.
An open stream object is being garbage collected; call
Ron Frederick added the comment:
I think the following change might address this problem:
***
*** 233,239
def _on_reader_gc(self, wr):
transport = self._transport
! if transport is not None:
# connection_made was called
Ron Frederick added the comment:
Sorry, I should have said that the change below was in the file
asyncio/streams.py.
--
___
Python tracker
<https://bugs.python.org/issue38
New submission from Ron Serruya :
The method `_handle_existing_loggers` in the logging lib (called when
configuring loggers using dictConfig) iterates over all existing loggers and
sets their .disabled attribute according to the `disable_existing_loggers`
parameter (usually set to false
New submission from Ron Serruya :
Sending Context.run to another process via ProccessPoolExecutor hangs forever:
```
from contextvars import ContextVar, copy_context
from concurrent.futures import ProcessPoolExecutor
from multiprocessing import Process
var: ContextVar[int] = ContextVar(
Ron Serruya added the comment:
Sending Context.run to another process via ProccessPoolExecutor hangs forever:
```
from contextvars import ContextVar, copy_context
from concurrent.futures import ProcessPoolExecutor
from multiprocessing import Process
var: ContextVar[int] = ContextVar(
New submission from Ron Hoffmann :
position coordinates retrieved from any object on a canvas with
pos = canvas.bbox(object) are returned correctly
but when drawn on the canvas (x0,y0) are correct, but
(x1, y1) are not drawn in the proper positions. x1 has been divided by 2
somewhere and y1
Ron Hoffmann added the comment:
Thank you for your response. I have been fighting this issue in a large piece
of code for quite some time.
So I wrote a small test script as you asked for and the problem will not
reproduce. All behaviour of code is as expected.
I must therefore assume there
New submission from Ron Reiter :
import crypt
Expected result:
>>> crypt.crypt("test") == crypt.crypt("test")
False
>>> crypt.crypt("test", crypt.mksalt()) == crypt.crypt("test", crypt.mksalt())
False
Unexpected results:
>>
Ron Reiter added the comment:
import crypt
Expected result:
>>> crypt.crypt("test") == crypt.crypt("test")
False
>>> crypt.crypt("test", crypt.mksalt()) == crypt.crypt("test", crypt.mksalt())
False
Unexpected results:
>>
Ron Reiter added the comment:
You guessed it, the salt is "$6"
--
___
Python tracker
<https://bugs.python.org/issue33213>
___
___
Python-bugs-l
Ron Reiter added the comment:
Apparently it's a Mac issue. My crypt.methods only contains
[] which is probably why this fails. It's a silent failure
of some sort that is causing this.
--
___
Python tracker
<https://bugs.python.o
Ron Reiter added the comment:
Python 3.6.4 (default, Mar 22 2018, 23:35:12)
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.39.2)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import crypt
>>&g
Ron Reiter added the comment:
Also:
>>> crypt.crypt("test", "$5")
'$5yVOkTkyRzn.'
>>> crypt.crypt("test", "$6")
'$6asQOJRqB1i2'
>>> crypt.crypt("test", "$7")
'$7tSOkvDyiL6U
Change by Ron Reiter :
--
title: crypt function not hashing properly -> crypt function not hashing
properly on Mac (uses a specific salt)
___
Python tracker
<https://bugs.python.org/issu
Change by Ron Reiter :
--
type: -> security
___
Python tracker
<https://bugs.python.org/issue33213>
___
___
Python-bugs-list mailing list
Unsubscrib
New submission from Ron Rothman :
mock.mock_open works as expected when reading the entire file (read()) or when
reading a single line (readline()), but it seems to not support reading a
number of bytes (read(n)).
These work as expected:
from mock import mock_open, patch
# works
Ron Rothman added the comment:
Confirmed that the behavior exists in Python 3.6 as well.
--
versions: +Python 3.6
___
Python tracker
<https://bugs.python.org/issue31
Ron Frederick added the comment:
In my original report, I suggested _either_ exporting asyncio.Server since
that's what was documented elsewhere _OR_ adding AbstractServer to the
documentation and changing existing references to asyncio.Server to point at
asyncio.AbstractServer instea
Ron Frederick added the comment:
Thanks. Unfortunately, in the case of the way SSH listeners with dynamic ports,
the protocol only allows a single port number to be returned. So, when binding
on multiple interfaces there's a requirement that the SAME port be chosen for
all of the s
Ron Frederick added the comment:
That'd be great if you could add AbstractServer to the 3.7 docs - thanks!
Regarding the other issue, I'm already set up to use multiple asyncio.Server
objects to deal with the shared port issue and it's working fine. It did mean
duplicating a h
Ron Frederick added the comment:
> I think you're doing it the right way. It's a rather niche requirement, so I
> don't think we should make create_server to somehow support this use case.
Agreed.
> asyncssh looks absolutely amazi
New submission from Ron Adam:
This patch adds a 'symbols' link after the 'topics' and 'keywords' links in the
html browser menu bar.
help('symbols') worked, but there was no way to get to it in the html browser.
This also adds unquote_plus() to the ur
Changes by Ron Adam :
--
title: Add 'symbols' link to html menu bar. -> Add 'symbols' link to pydoc's
html menu bar.
___
Python tracker
<ht
Changes by Ron Adam :
Removed file: http://bugs.python.org/file30831/pdoc_symbols.diff
___
Python tracker
<http://bugs.python.org/issue18387>
___
___
Python-bugs-list m
Ron Adam added the comment:
New slightly improved patch. Combined the topic index's, topics, keywords, and
the new symbols case, into a single html_topicsindex(title) function.
--
Added file: http://bugs.python.org/file30843/pdoc_symbols
Ron Adam added the comment:
Regarding opertor.get_op:
Look at help("symbols") output for consistancy. There may be items in one that
can be included in the other.
The operator.get_op addition would be useful for improving help on the symbol
information for help/pydoc. Currentl
Ron Adam added the comment:
Thanks for catching that. I had used unquote_plus instead of unquote. That is
needed for multi-field form data, pydoc doens't need it.
Removed the back tick from the pydoc symbols list. The topic link for that
symbol was already removed.
I also attempt
Ron Adam added the comment:
Updated the patch.
--
___
Python tracker
<http://bugs.python.org/issue18387>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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.
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
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
New submission from Ron Hubbard:
setup.py loses the DESTDIR aka --root iff "/" is passed as prefix
http://seclists.org/nmap-dev/2012/q3/1025
I can reproduce this now, but only with a prefix of "/". For example,
this works:
$ python setup.py install --prefix "/a&quo
Changes by Ron Hubbard :
--
type: -> security
___
Python tracker
<http://bugs.python.org/issue16065>
___
___
Python-bugs-list mailing list
Unsubscri
Ron Hubbard added the comment:
python 2.7.2 installation:
CFLAGS="-D_GNU_SOURCE -D_BSD_SOURCE" ./configure -C --prefix="/" || exit 1
make -j9 || exit 1
make DESTDIR="//opt/python" install || exit 1
what python generates out of
--install-scripts=//bin \
Changes by Ron Hubbard :
--
type: -> resource usage
___
Python tracker
<http://bugs.python.org/issue13028>
___
___
Python-bugs-list mailing list
Unsubscri
Ron Hubbard added the comment:
this is a very ugly bug and should be fixed ASAP
it's not only breaking python itself, but any package that uses this python
installer, for example
http://seclists.org/nmap-dev/2012/q3/1025
what is preventing a merge of the existing
Ron Hubbard added the comment:
i'll try to reproduce this later.
looking at the below strace output, python's behaviour seems pretty stupid tho,
for example if /lib is the only existing path out of /lib, /lib64, /usr/lib/,
/usr/local/lib, etc etc, it should check for all these d
Ron Hubbard added the comment:
George.Peristerakis' patch works
please apply
--
___
Python tracker
<http://bugs.python.org/issue9674>
___
___
Python-bugs-l
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
Ron DuPlain added the comment:
For what it's worth,
I ran these tests on Ubuntu 8.10 with Python trunk (2.7) r70765 (svn).
All tests passed. Output is attached (cleaned out ref counts).
--rduplain
--
nosy: +rduplain
Added file: http://bugs.python.org/file13503/trunk.r70765.
Ron DuPlain added the comment:
It looks like the IMAP4.append method is responsible for the CRLF
substitution (trunk/Lib/imaplib.py).
# defined near top of module:
MapCRLF = re.compile(r'\r\n|\r|\n')
# in append method:
self.literal = MapCRLF.sub(CRLF, message)
I'll work o
Ron DuPlain added the comment:
Module imaplib has pretty sparse test code. There is only 1 test case,
for imaplib.Time2Internaldate.
trunk/Lib/test/test_imaplib.py
The attached patch tests for LF, CR preservation with regard to the
IMAP4.append method, but more testing is necessary to make
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 ==
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
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
Ron Adam added the comment:
Sorry, will do...
--
___
Python tracker
<http://bugs.python.org/issue2001>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
Changes by Ron Adam :
--
nosy: +ron_adam
title: PyUnicode_FromFormat segfault when using widths. -> PyUnicode_FromFormat
segfault
___
Python tracker
<http://bugs.python.org/iss
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
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
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
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.
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
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
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
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
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
New submission from Ron Carr:
Hi,
I am unable to install Python 3.6.0, 3.5.2 and 2.7.12, on my Windows 10 64 bit
system, receive error message "A required privilege is not held by the client".
I have turned UAC, and changed registry setting to zero. Also have ensured my
Adminis
Ron Carr added the comment:
Hi Nosy and Brett,
I worked it out, even though I turned off the virus checker it was still in
memory. I had to right click on the install file, then select allow
install, it then completed successfully.
Regards,
Ron
On Tue, Aug 16, 2016 at 2:44 AM, Brett Cannon
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
New submission from Ron Barak:
I wanted to add Python 2.7 to Unix.
I downloaded the sources to the VirtualBox on which the Unix is installed and
run
./configure --prefix=/usr \
--enable-shared \
--with-system-expat \
without problems.
However, when I try to
Ron Barak added the comment:
I tried to apply the patch. Alas, I get an "Hmm... I can't seem to find a patch
in there anywhere." error.
See attached screenshot.
Did I apply the patch incorrectly?
--
Added file: http://bugs.python.org/file39909
Ron Barak added the comment:
When I try to apply the patch manually, namely - editing Modules/posixmodule.c,
and moving the #endif a few lines up, the make finishes correctly.
So, the patch does work: I'm probably not applying it correctly.
Could you point to my error in applying the
New submission from Ron Barak:
I wanted to add Python 2.7 to Unix.
I downloaded the sources to the VirtualBox on which the Unix is installed.
./configure is successful.
make is successful after I manually applied the changes in
http://bugs.python.org/issue24611
However, 'make install
Changes by Ron Barak :
--
components: +Installation -Build
___
Python tracker
<http://bugs.python.org/issue24615>
___
___
Python-bugs-list mailing list
Unsub
Ron Barak added the comment:
EDIT 1 (cut and paste had some extraneous data):
I wanted to add Python 2.7 to Unix.
I downloaded the sources to the VirtualBox on which the Unix is installed.
./configure is successful.
make is successful after I manually applied the changes in
http
New submission from Ron Barak:
I wanted to add Python 2.7 to Unix.
I downloaded the sources to the VirtualBox on which the Unix is installed.
./configure is successful.
make is successful after I manually applied the changes in
http://bugs.python.org/issue24611
However, 'make install
Changes by Ron Barak :
--
resolution: -> duplicate
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue24615>
___
___
Python-bugs-list
Ron Barak added the comment:
@Serhiy,
Not only would posting text be clearer, but much easier.
Alas, the Unixware I use is on a VirtualBox, and VitualBox does not support
Guest Extension on Unixware - which means that neither cut-and-paste nor
sharing host filesystem are possible.
So, unless
New submission from Ron Barak:
UnixWare7 only supports Python 1.6
I added Python 2.7.10 from sources.
Python works, but its make did not finish cleanly: several Standard Library
modules failed to build (see attached: it has to be a screenshot since
VirtualBox does not support cut-and-paste
New submission from Ron Frederick:
The asyncio documentation defines the class 'asyncio.Server' in section
18.5.1.15. However, this class is not exported by asyncio. It is defined in
base_events.py but not in the __all__ list. The only class exported at the
asyncio to
New submission from Ron Barak:
Erratum in https://docs.python.org/2.6/library/multiprocessing.html:
The chunksize argument is the same as the one used by the map() method. For
very long iterables using a large value for chunksize can make >>>make<<< the
job complete much fas
New submission from Ron Barak:
Successfully did:
$ gunzip Python-3.6.0b1.tgz
$ tar xvf Python-3.6.0b1.tar
$ pushd Python-3.6.0b1
$ ./configure --disable-ipv6 --with-optimizations
However, when trying to do:
$ make profile-opt
I get:
...
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g
Ron Barak added the comment:
Re: Cygwin is an unsupported platform.
Currently, from the contents of Python-3.6.0b1, one may be led to believe that
Cygwin _is_ supported, e.g. - see the references to Cygwin in the README file:
$ grep -i cygwin README
On Unix, Linux, BSD, OSX, and Cygwin:
find
Ron Barak added the comment:
Can I apply
http://bugs.python.org/file44208/3.5-issue21085-struct_siginfo-2.patch to 3.6
as is?
--
___
Python tracker
<http://bugs.python.org/issue28
New submission from Ron Longo Work <[EMAIL PROTECTED]>:
When a Tkinter window comes up that uses tkSimpleDialog to construct a
dialog box, the window first flashes on the screen as an unpopulated
top-level window, before being drawn in its completed state.
This problem is easily correc
101 - 188 of 188 matches
Mail list logo