Jeff Allen added the comment:
Thomas wrote:
> it's as part of this discussion in
> https://mail.python.org/archives/list/python-...@python.org/thread/ABR2L6BENNA6UPSPKV474HCS4LWT26GY/#IAOCDDCJ653NBED3G2J2YBWD7HHPFHT6
> and others in #python-dev
That's where I noticed it
Jeff Allen added the comment:
I'm interested in Thomas' reasons, but here are some of mine (as far as I
understand things):
1. It is specific to one interpreter implemented in C, equipped with a GIL, and
on certain assumptions about the byte code interpreter and the implementation
Nicole Allen added the comment:
Thanks for putting that all together. Besides for amazing digital marketing
plans visit us now https://www.seobrisk.com/locations/seo-detroit/
--
nosy: +nicoleallen
___
Python tracker
<https://bugs.python.
Change by Allen :
--
title: cannot compute sizeof (long double) -> macOS cannot compute sizeof (long
double)
___
Python tracker
<https://bugs.python.org/issu
Change by Allen :
--
files: config.log
nosy: allenlili
priority: normal
severity: normal
status: open
title: cannot compute sizeof (long double)
type: compile error
versions: Python 3.9
Added file: https://bugs.python.org/file49933/config.log
Allen Downey added the comment:
This API would work well for my use cases.
And looking back at previous comments in this thread, I think this proposal
avoids the most objectionable pitfalls.
--
nosy: +AllenDowney
___
Python tracker
<ht
Clint Allen added the comment:
I don't see anything further needed with this issue. Closing it is fine with
me.
--
status: pending -> open
___
Python tracker
<https://bugs.python.org
Jeff Allen added the comment:
Jython uses the reference grammar and ASDL as a way to ensure it is Python we
approximate, not some subtly different language. The presence of Suite here
gives rise to a class
(https://github.com/jythontools/jython/blob/v2.7.2b3/src/org/python/antlr/ast
Clint Allen added the comment:
Agreed, that is a better approach.
I have tested your patch successfully with gcc on Solaris 11.3.
--
___
Python tracker
<https://bugs.python.org/issue34
Change by Clint Allen :
--
keywords: +patch
Added file:
https://bugs.python.org/file47680/Python-2.7.15-Modules_multiprocessing_h.patch
___
Python tracker
<https://bugs.python.org/issue34
New submission from Clint Allen :
The build of this module fails with this error:
In file included from /usr/include/limits.h:12:0,
from
/usr/gcc/5/lib/gcc/sparcv9-sun-solaris2.11/5.4.0/include-fixed/limits.h:168,
from
/usr/gcc/5/lib/gcc/sparcv9-sun
Allen Downey added the comment:
I'd like to second Raymond's suggestion. With just a few additional methods,
you could support a useful set of operations. One possible API:
def scaled(self, factor)
"""Returns a new Counter with all values multiplied by factor."
Change by Allen Tracht :
--
components: Library (Lib)
nosy: Allen Tracht
priority: normal
severity: normal
status: open
title: NoReturn missing from __all__ in typing.py
type: behavior
versions: Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8
New submission from Allen :
Could someone help me use python to track the tArget phones location and i
would like to intercepts all text and emaIl.
..
--
messages: 311059
nosy: BIGAL
priority: normal
severity: normal
status: open
title: Tracking
New submission from Allen :
..
--
messages: 310995
nosy: BIGAL
priority: normal
severity: normal
status: open
title: The replys additional (Re.) is ok.
___
Python tracker
<https://bugs.python.org/issue32
Change by Allen Li :
--
type: -> enhancement
___
Python tracker
<https://bugs.python.org/issue32299>
___
___
Python-bugs-list mailing list
Unsubscrib
New submission from Allen Li :
mock.patch.dict.__enter__ should return the patched dict/mapping object.
Currently it returns nothing (None).
This would make setting up fixtures more convenient:
with mock.patch.dict(some.thing):
some.thing['foo'] = 'bar'
with mock.p
Change by Allen Li :
--
nosy: +Allen Li
___
Python tracker
<https://bugs.python.org/issue9924>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Allen Li :
sqlite3.connect() should accept PathLike objects (objects that implement
__fspath__)
--
messages: 304773
nosy: Allen Li
priority: normal
severity: normal
status: open
title: sqlite3.connect() should accept PathLike objects
versions: Python 3.6
Change by Allen Li :
--
type: -> enhancement
___
Python tracker
<https://bugs.python.org/issue31843>
___
___
Python-bugs-list mailing list
Unsubscrib
New submission from Allen Li :
It would be useful to document that urllib.parse.{Defrag,Split,Parse}Result are
namedtuples, and make that API officially public if it was not otherwise.
These classes are implemented as namedtuples in Python 2 and 3, and I am not
aware of a reason that that
Change by Jeff Allen :
--
nosy: +jeff.allen
___
Python tracker
<https://bugs.python.org/issue31630>
___
___
Python-bugs-list mailing list
Unsubscribe:
Timothy Allen added the comment:
This would be a benefit to my team, for sure. I can't even tell you how many
different solutions we currently use to make file sizes human readable - at
least three.
--
nosy: +FlipperPA
___
Python tracker
&
Allen Riddell added the comment:
Upon some reflection, I think raising a ValueError is the right thing to do.
Negative weights don't have an obvious interpretation.
--
___
Python tracker
<https://bugs.python.org/is
New submission from Allen Riddell :
Code to reproduce problem:
population = list(range(10))
weights = list(-1 * w for w in range(10))
[random.choices(population, weights) for _ in range(1000)]
will raise IndexError:
358 bisect = _bisect.bisect
359 total = cum_weights
Jeff Allen added the comment:
Just terminology ... strictly speaking what you've done here is "add a *field*
to the nodes Module, FunctionDef and ClassDef", rather than add an *attribute*
-- that is, when one is consistent with the terms used in the ast module
(https://do
New submission from Allen David Frankel:
On the Python Tutorial for beginners, the Python 3.6 gives me a syntax error
with strings and does not respond to print and/or nothing comes up.
--
components: Demos and Tools
messages: 281921
nosy: ADFGUR
priority: normal
severity: normal
Jeff Allen added the comment:
Ah, cunning: I can make sense of it in hex.
>>> hex(to_ulps(expected))
'0x3ff0'
>>> hex(to_ulps(got))
'0x3fec'
>>> hex( to_ulps(got) - to_ulps(expected) )
'-0x4'
... and what you
Jeff Allen added the comment:
Mark: Thanks for doing my homework. Points 1 and 3 I can readily agree with. I
must take another look at to_ulps() with your patch on locally. I used the
approach I did because I thought it was incorrect in exactly those corners
where you prefer it. I'll t
Jeff Allen added the comment:
Mark: Thanks for validating the additional cases so carefully.
If you still want to apply it in stages then I suppose the change to the
comparison logic could go first (untested idea), although that's also where I
could most easily have made a mi
Jeff Allen added the comment:
It would be nice to see this considered alongside #26040.
--
nosy: +jeff.allen
___
Python tracker
<http://bugs.python.org/issue27
Changes by Jeff Allen :
Added file: http://bugs.python.org/file42191/extra_cmath_testcases.py
___
Python tracker
<http://bugs.python.org/issue26040>
___
___
Python-bug
Changes by Jeff Allen :
Removed file: http://bugs.python.org/file42190/stat_math.py
___
Python tracker
<http://bugs.python.org/issue26040>
___
___
Python-bugs-list mailin
Changes by Jeff Allen :
Added file: http://bugs.python.org/file42192/stat_math.py
___
Python tracker
<http://bugs.python.org/issue26040>
___
___
Python-bugs-list mailin
Changes by Jeff Allen :
Removed file: http://bugs.python.org/file41526/stat_math.py
___
Python tracker
<http://bugs.python.org/issue26040>
___
___
Python-bugs-list mailin
Jeff Allen added the comment:
Thanks for the prompt acknowledgement and for accepting this to review.
I have updated the coverage & tolerance demo program. Usage in the comments (in
v3).
I have also added the program I used to generate the extra test cases (needs
mpmath -- easier to
Changes by Jeff Allen :
Added file: http://bugs.python.org/file42190/stat_math.py
___
Python tracker
<http://bugs.python.org/issue26040>
___
___
Python-bugs-list mailin
Jeff Allen added the comment:
Here is a patch that improves coverage and addresses the uneven accuracy.
Required accuracy is now specified in ulps. Mostly, I have choses 1 ulp, since
this passed for me on an x86 architecture (and also ARM), but this may be too
ambitious.
I have also
Jeff Allen added the comment:
I'm also interested in a smooth experience for beginners.
I have a factual observation with respect to Terry's comment:
'''Windows icons have a Shortcut tab with a Start-in field. We should like to
put %USERPROFILE% there, but this d
New submission from Michael Allen:
Modifying a file while getting a stacktrace across multiple threads causes
linecache's cache to bust and del to be called on the global cache variable.
This is not thread safe and raises a KeyError.
Reproducible with,
import threading
import traceback
Jeff Allen added the comment:
Disabling the AV/firewall did not stop the symptoms when I was investigating
originally. In order to get the unmodified test to pass, I had to stop the BFE
(base filtering engine), which I think may have been given new rules or
behaviours as a result of
Allen Riddell added the comment:
I gather this is the desired behavior.
If one specifies remote_addr then one only accepts packets from that address
and port. Whereas if no remote_addr is given then one accepts packets from any
address and any port.
Sorry for the noise
Allen Riddell added the comment:
(couldn't figure out how to attach multiple files)
-- client_good.py --
"""Send and receive a messages using DatagramProtocol"""
import asyncio
import time
class Helloer(asyncio.DatagramProtocol):
def connection_m
New submission from Allen Riddell:
Creating a UDP connection through ``create_datagram_endpoint`` when specifying
both remote_addr and local_addr does not work; messages are not received. If
remote_addr is removed, messages are received.
Easy to reproduce:
works: python3 client_good.py
New submission from Allen Riddell:
The following important information from PEP 3156 does not appear in the
asyncio library documentation:
"""Datagram protocols have connection_made() and connection_lost() methods with
the same signatures as stream protocols."""
Jeff Allen added the comment:
I worked out that the essence of the test is to insert an extra \n at the end
of a GET request line. The request is syntactically invalid for HTTP. The
\n\r\n appears like two blank lines, implying no headers, but the headers then
follow where no data should be
Jeff Allen added the comment:
Actual patch for your convenience. I'm not set up to build CPython from source,
so I've tested this with my installed CPython 2.7.6, and it's clean.
[As for keeping the tests in sync, yes that's our aim. Jython's Lib contains
only the
Jeff Allen added the comment:
Thanks for adding to the evidence here. As discussed above, disabling the
security product (which is Bitdefender) on my PC didn't stop the problem for
me, and I'm reluctant to uninstall. I narrowed it to the Windows Base Filtering
Engine, but p
New submission from Jeff Allen:
When I run:
start python -m test.test_httpservers
test_request_line_trimming reports ERROR, and the test hangs at
test_version_none. If I run a copy of the test in which the latter test is
skipped with @unittest.skipIf(sys.platform == "win32", &
New submission from Don Allen:
Give the attached file execute permission and run it. At the first breakpoint,
the backtrace will be correct. Continue. At the second breakpoint, a backtrace
will show the foo('first call') on the stack when, in fact, the call came from
foo('se
New submission from Christopher Allen-Poole :
This is is encountered when extending html.parser.HTMLParser and running with
strict mode False.
Expected behavior:
When '''The rain in
Spain''' is passed to the feed method, div, b, a, br,
and span should all be
Bryce Allen added the comment:
I encountered this issue when trying to exit cleanly on SIGTERM, which I use to
terminate background daemons running serve_forever.
In BaseServer, a threading.Event is used in shutdown, so it can block until
server_forever is finished (after checking __serving
New submission from Robert Paul Allen :
I would like to see support for NTFS symbolic links to be added to the os
module. As simple Popen('mklink') implementation could be used. Any other ideas?
--
components: Library (Lib), Windows
messages: 99170
nosy: ipatrol
severity: nor
New submission from J.R. Allen :
Currently the zipfile.ZipFile class has no __exit__ atribute, so it
does not work with a with statement as other file objects do. Can this
be implemented?
--
components: Library (Lib)
messages: 83768
nosy: petruchio
severity: normal
status: open
title
Brad Allen <[EMAIL PROTECTED]> added the comment:
in the previous post, please replace the word 'customer' with the word
'user'
__
Tracker <[EMAIL PROTECTED]>
&
New submission from Brad Allen <[EMAIL PROTECTED]>:
The logging module contains several bare except statements. It's
understandable that the logging module should be completely silent, but
in the case of logging.config, the bare except can make it very
difficult to identify when
56 matches
Mail list logo