New submission from Ron Kaminsky :
There are one-off errors in upper bounds given in the error messages for
hashlib.scrypt(...). MAX_INT *is* accepted (and at least for maxmem, works).
See
https://github.com/python/cpython/blob/8fb36494501aad5b0c1d34311c9743c60bb9926c/Modules/_hashopenssl.c
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
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
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 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('var
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('var
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
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
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 added the comment:
Any progress on this?
--
nosy: +ronron
___
Python tracker
<https://bugs.python.org/issue16438>
___
___
Python-bugs-list mailing list
Unsub
ron added the comment:
Well... when handling GBs of data - it's preferred to generate the file
directly in the required format rather than doing conversions.
The new line is a format... protocols don't matter here...
I still think the library should allow the user to create this format
ron added the comment:
I'm a bit confused here.
On one hand you say it's two lines of code. On other hand you suggest that each
service provider will implement it's own functions.
What's the harm from adding - small , unbreakable functionality?
Your points for small code could have also
ron added the comment:
Raymond Hettinger answer is incorrect.
The main difference between Json and new line delimited json is that new line
contains valid json in each line. Meaning you can do to line #47 and what you
will have in this line is a valid json. Unlike the regular json where
New submission from ron :
Many service providers such as Google BigQuery do not accept Json.
They accept newline delimited Json.
https://cloud.google.com/bigquery/docs/loading-data-cloud-storage-json#limitations
please allow to receive this format directly from the dump.
--
messages
Change by Ron Reiter <ron.rei...@gmail.com>:
--
type: -> security
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33213>
___
__
Change by Ron Reiter <ron.rei...@gmail.com>:
--
title: crypt function not hashing properly -> crypt function not hashing
properly on Mac (uses a specific salt)
___
Python tracker <rep...@bugs.python.org>
<https://bugs.pyt
Ron Reiter <ron.rei...@gmail.com> added the comment:
Also:
>>> crypt.crypt("test", "$5")
'$5yVOkTkyRzn.'
>>> crypt.crypt("test", "$6")
'$6asQOJRqB1i2'
>>> crypt.crypt("test", "$7")
'$7tSOkvDyiL6U'
Ron Reiter <ron.rei...@gmail.com> 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 infor
Ron Reiter <ron.rei...@gmail.com> 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 tracke
Ron Reiter <ron.rei...@gmail.com> added the comment:
You guessed it, the salt is "$6"
--
___
Python tracker <rep...@bugs.python.org>
<https://b
Ron Reiter <ron.rei...@gmail.com> 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
New submission from Ron Reiter <ron.rei...@gmail.com>:
import crypt
Expected result:
>>> crypt.crypt("test") == crypt.crypt("test")
False
>>> crypt.crypt("test", crypt.mksalt()) == crypt.crypt("test", crypt.mksalt())
False
Ron Frederick <r...@timeheart.net> 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 amazing, btw.
Ron Frederick <r...@timeheart.net> 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 di
Ron Frederick <r...@timeheart.net> 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
Ron Frederick <r...@timeheart.net> 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
Ron Rothman <ron.roth...@gmail.com> added the comment:
Confirmed that the behavior exists in Python 3.6 as well.
--
versions: +Python 3.6
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python
New submission from Ron Rothman <ron.roth...@gmail.com>:
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 moc
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 <rep...@bugs.python.org>
<http://bugs.python.org/i
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
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 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
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
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
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 top level
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
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
Changes by Ron Barak bugs_python_org.comve...@9ox.net:
--
resolution: - duplicate
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24615
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' fails
Changes by Ron Barak bugs_python_org.comve...@9ox.net:
--
components: +Installation -Build
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24615
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/issue24611.PNG
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 patch
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' fails
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:
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
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 rep...@bugs.python.org
http
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: Interpreter Core
messages: 195186
nosy: ron_adam
priority: normal
severity: normal
status: open
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't
Changes by Ron Adam ron3...@gmail.com:
Removed file: http://bugs.python.org/file30922/pdoc_symbols.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18387
Ron Adam added the comment:
Patch update: removed from pydoc symbols table.
--
Added file: http://bugs.python.org/file30931/pdoc_symbols.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18387
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 rep...@bugs.python.org
http
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. Currently it seems
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 attempted
Ron Adam added the comment:
Updated the patch.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18387
___
___
Python-bugs-list mailing list
Changes by Ron Adam ron3...@gmail.com:
Removed file: http://bugs.python.org/file30843/pdoc_symbols.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18387
Changes by Ron Adam ron3...@gmail.com:
Removed file: http://bugs.python.org/file30831/pdoc_symbols.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18387
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.diff
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 url handler to unquote the html input form
Changes by Ron Adam ron3...@gmail.com:
--
title: Add 'symbols' link to html menu bar. - Add 'symbols' link to pydoc's
html menu bar.
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18387
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.
This should
Ron Hubbard added the comment:
George.Peristerakis' patch works
please apply
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9674
___
___
Python
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 patch
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 directories
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 --root /home/david/destdir
copying
Changes by Ron Hubbard nico.nelson-91c8...@yopmail.com:
--
type: - security
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16065
___
___
Python
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 \
--install-platlib=//lib
Changes by Ron Hubbard nico.nelson-91c8...@yopmail.com:
--
type: - resource usage
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13028
Ron Adam ron3...@gmail.com added the comment:
What about having idle open a web browser session with pydocs new browse option?
python3 -m pydoc -b
We've added input fields to the pages that take the same input as help()
command does. It also links to the online help pages, and you can view
Changes by Ron Adam ron3...@gmail.com:
Removed file: http://bugs.python.org/file24047/f_why1.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13607
Ron Adam ron3...@gmail.com added the comment:
Updated patch with suggested changes.
It also has a cleaned up fast_block_end section.
Concerning speed. What happens is (as Tim and Raymond have pointed out) that we
can make some things a little faster, in exchange for other things being
Ron Adam ron3...@gmail.com added the comment:
I think the time benefits I saw are dependent on how the C code is compiled.
So it may be different on different compilers or the same compiler with only a
very minor change.
Some of the things I've noticed...
A switch is sometimes slower
Changes by Ron Adam ron3...@gmail.com:
Removed file: http://bugs.python.org/file23969/f_why.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13607
Ron Adam ron3...@gmail.com added the comment:
New diff file.
The main difference is I moved the saved why value to the tstate object instead
of the frame object as why_exit.
I'm not seeing the time savings now for some reason. Maybe the previous
increase was a case of coincidental noise
New submission from Ron Adam ron3...@gmail.com:
The following changes cleanup the eval loop and result in a pretty solid 2 to
3% improvement in pybench for me.
And it is about 5% faster for long generators.
* Change why enum type to int and #defines. And moved the why defines to
opcode.h so
Ron Adam ron3...@gmail.com added the comment:
A simple test to show the difference.
BEFORE:
$ python3 -mtimeit def y(n): for x in range(n): yield x
sum(y(10))
10 loops, best of 3: 3.87 usec per loop
$ python3 -mtimeit def y(n): for x in range(n): yield x
sum(y(100))
10
Ron Adam ron3...@gmail.com added the comment:
Thanks for the updated links Nick.
There is a comment in the docs that recommends putting parentheses around any
yield expression that returns a value. So it is in agreement with that in the
function argument case.
The grammar I used does keep
Ron Adam ron3...@gmail.com added the comment:
There is a test for 'yield from' as a function argument without the extra
parentheses.
f(yield from x)
You do need them in the case of a regular yield.
f((yield)) or f((yield value))
Shouldn't the same rule apply in both cases
Ron Adam ron3...@gmail.com added the comment:
Instead of a get_instructions() function, How about using a DisCode class that
defines the API for accessing Opinfo tuples of a disassembled object.
So instead of...
for instr in dis.bytecode_instructions(thing):
process(instr)
You
Changes by Ron Adam ron3...@gmail.com:
--
nosy: +ron_adam
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13062
___
___
Python-bugs-list mailing
Changes by Ron Ridley ronste...@gmail.com:
--
nosy: +Ron.Ridley
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10713
___
___
Python-bugs-list
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
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
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
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
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
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
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
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
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
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
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
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
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
Changes by Ron Adam ron_a...@users.sourceforge.net:
--
nosy: +eric.araujo, rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10961
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
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
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
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
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
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
1 - 100 of 187 matches
Mail list logo