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 there
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(
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 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 t
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
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 if
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 :
--
type: -> security
___
Python tracker
<https://bugs.python.org/issue33213>
___
___
Python-bugs-list mailing list
Unsubscrib
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
Ron Reiter added the comment:
Also:
>>> crypt.crypt("test", "$5")
'$5yVOkTkyRzn.'
>>> crypt.crypt("test", "$6")
'$6asQOJRqB1i2'
>>> crypt.crypt("test", "$7")
'$7tSOkvDyiL6U
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:
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:
You guessed it, the salt is "$6"
--
___
Python tracker
<https://bugs.python.org/issue33213>
___
___
Python-bugs-l
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:
>>
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 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
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:
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:
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 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
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 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
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 fas
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:
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:
@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
Changes by Ron Barak :
--
resolution: -> duplicate
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue24615>
___
___
Python-bugs-list
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
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 :
--
components: +Installation -Build
___
Python tracker
<http://bugs.python.org/issue24615>
___
___
Python-bugs-list mailing list
Unsub
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
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
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
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 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 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 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 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.
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
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
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
Ron Adam added the comment:
Updated the patch.
--
___
Python tracker
<http://bugs.python.org/issue18387>
___
___
Python-bugs-list mailing list
Unsubscribe:
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:
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:
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
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
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
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
Ron Hubbard added the comment:
George.Peristerakis' patch works
please apply
--
___
Python tracker
<http://bugs.python.org/issue9674>
___
___
Python-bugs-l
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:
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
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:
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: -> security
___
Python tracker
<http://bugs.python.org/issue16065>
___
___
Python-bugs-list mailing list
Unsubscri
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
Ron Adam 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 the
source
Ron Adam 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 a
little slower. You
Changes by Ron Adam :
Removed file: http://bugs.python.org/file24047/f_why1.diff
___
Python tracker
<http://bugs.python.org/issue13607>
___
___
Python-bugs-list mailin
Ron Adam 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 if it has a &qu
Ron Adam 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. (?) Still lo
Changes by Ron Adam :
Removed file: http://bugs.python.org/file23969/f_why.diff
___
Python tracker
<http://bugs.python.org/issue13607>
___
___
Python-bugs-list mailin
Ron Adam 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):" " f
New submission from Ron Adam :
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 that they can be
Ron Adam 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 it as a variant
Ron Adam 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?
* I
Ron Adam 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 could use
Changes by Ron Adam :
--
nosy: +ron_adam
___
Python tracker
<http://bugs.python.org/issue13062>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Ron Ridley :
--
nosy: +Ron.Ridley
___
Python tracker
<http://bugs.python.org/issue10713>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Ron Adam :
--
nosy: +ron_adam
___
Python tracker
<http://bugs.python.org/issue2571>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
New submission from Ron Adam :
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
editing tools like VIM, a
Changes by Ron Adam :
--
nosy: +ron_adam
___
Python tracker
<http://bugs.python.org/issue9364>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
Ron Adam 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 pydoc output i
Ron Adam 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. :-)
--
___
Python tr
Ron Adam 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 were tested on Ubuntu and
Ron Adam added the comment:
Ok, after input from Eric, Here is another patch.
Removed a set of unneeded parentheses.
Changed the title of the pages from PyDoc to Pydoc.
A better fix for the uncaught floats. Wrap the main content in div with
style="clear:both;". Should work
Changes by Ron Adam :
Removed file: http://bugs.python.org/file20473/pydoc_misc_fix_c.diff
___
Python tracker
<http://bugs.python.org/issue10961>
___
___
Python-bug
Ron Adam 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
with any needed ch
Changes by Ron Adam :
--
nosy: +eric.araujo, rhettinger
___
Python tracker
<http://bugs.python.org/issue10961>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Ron Adam :
Removed file: http://bugs.python.org/file20468/pydoc_misc_fix.diff
___
Python tracker
<http://bugs.python.org/issue10961>
___
___
Python-bugs-list m
Ron Adam 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 rather than another topic
Changes by Ron Adam :
Removed file: http://bugs.python.org/file20467/pydoc_misc_fix.diff
___
Python tracker
<http://bugs.python.org/issue10961>
___
___
Python-bugs-list m
Ron Adam 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
<http://bugs.python.org/issue10
New submission from Ron Adam :
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, Fals
Ron Adam 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 the data from the program
Ron Adam 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.
--
___
Python
Ron Adam 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 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&
Ron Adam added the comment:
Why is this surprising?
>>> def foo(c, c=None):
... pass
...
File "", 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 to no
1 - 100 of 188 matches
Mail list logo