Change by Steve Holden :
--
nosy: -holdenweb
___
Python tracker
<https://bugs.python.org/issue8943>
___
___
Python-bugs-list mailing list
Unsubscribe:
Steve Holden added the comment:
Verified. Methododology:
1. Copied test_localise.py from the PR into a master checkout.
2. Added a null locale.localize.
3. Verified that all new tests failed.
.. code-block::
Ran 64 tests in 0.023s
FAILED (errors=4, skipped=4)
(base) blockhead:cpython
Steve Holden added the comment:
"Is the same as" is a little misleading - "gives the same result as" would be
better, since there is little doubt actually slicing the subject strings would
be massively less efficient in looping contexts.
The re module offers the start
Change by Steve Holden :
--
nosy: -holdenweb
___
Python tracker
<https://bugs.python.org/issue15443>
___
___
Python-bugs-list mailing list
Unsubscribe:
Steve Holden added the comment:
IIRC sockets can be marked as inheritable or not. It seems to me it would be a
useful enhancement to allow the same determination for the pipes.
--
nosy: +holdenweb
___
Python tracker
<http://bugs.python.
Steve Holden added the comment:
Don't forget that the built-in modules may need to be available before the
zipimporter is. A long time ago (when sys.metapath was introduced) I
experimented with imports from non-filesystem sources and that hit me until
I realised what was going on.
S
Steve Holden added the comment:
If you are going to add such a keyword argument, wouldn't it make sense to
maintain compatibility with print, and use end=terminator?
--
nosy: +holdenweb
___
Python tracker
<http://bugs.python.org/is
Steve Holden added the comment:
I agree on reflection that a single nanoseconds integral value makes more
sense. This then requires refactoring of the existing code so that existing
tests continue to pass using a microsecond property.
Code using ONLY nanoseconds is a disjoint case, for which
Steve Holden added the comment:
A pleasure. Pretty heavily committed at present, but all Python related so
maybe there'll be more small positive improvements.
--
___
Python tracker
<http://bugs.python.org/is
Steve Holden added the comment:
OK, here's what I think should be close to the final patch. I've updated the
documentation, rebuilt it and verified it reads OK, and confirmed that the new
code passes all tests except those skipped for platform reasons (I think they
expect
Steve Holden added the comment:
Is there another way? :)
Sent from my iPhone
> On 26 Aug 2016, at 12:16, Raymond Hettinger wrote:
>
>
> Raymond Hettinger added the comment:
>
> Consider using itertools.permutations() to generate the 120 cases cases.
>
> The news e
Steve Holden added the comment:
Testing could be interesting. I'm thinking of generating five random string
keys with a couple of rows of data, creating csv StringIOs (using pure Python)
for all 120 combinations and verifying that they read back in the order they
were written.
We should
Steve Holden added the comment:
Sorry, deleted the originally submitted (incorrect) patch file.
--
Added file: http://bugs.python.org/file44203/csv.patch
___
Python tracker
<http://bugs.python.org/issue27
Changes by Steve Holden :
Removed file: http://bugs.python.org/file44202/csv.patch
___
Python tracker
<http://bugs.python.org/issue27842>
___
___
Python-bugs-list mailin
New submission from Steve Holden:
It's sometimes annoying that a csv.DictReader doesn't retain the field ordering
given in the first line of the file. Sometimes it matters.
This patch converts the reader so that it returns an OrderedDict rather than a
plain dict, thereby ret
Steve Holden added the comment:
Hmm. Tried making a PR to a forked copy and didn't see it. Probably just
incompetence on my part.
--
___
Python tracker
<http://bugs.python.org/is
Steve Holden added the comment:
I don't seem to be able to activate the PR template, but if you are happy it
works then I guess this would be a belt-and-braces change. If nobody merges it
and it gets closed that's fine, but if it obviates just a few pull requests it
will save bot
Steve Holden added the comment:
Hmm, not sure I quite understand how to interact with this tracker. So here's
an updated patch that I thought I had already submitted ...
--
Added file: http://bugs.python.org/file44006/README2.patch
___
P
New submission from Steve Holden:
I have seen a relatively large number of pull requests via the Github mirror
repository, because would-be contributors presumably just look on Github and,
having found Python there, assume this is the place for contributions.
The standard README file gives no
Steve Holden added the comment:
BTW, I presume it's a bug in the issue tracker that my view of this message
ends after a few lines of msg166386? Makes it rather difficult to track the
issue!
--
___
Python tracker
<http://bugs.python.org/is
Steve Holden added the comment:
Just wanted to add a couple of comments here in case there's any interest. In
our missions to make the world's market data available we deal with financial
exchanges, many of whom are already recording event data at nanosecond
resolution.
Further,
Steve Holden added the comment:
Just wanted to add a couple of comments here in case there's any interest. In
our missions to make the world's market data available we deal with financial
exchanges, many of whom are already recording event data at nanosecond
resolution.
Further,
Steve Holden added the comment:
I don't agree there is any place for the term "read-only" in this document. A
reader who doesn't understand it or seeks clarification is likely to end up at
a page like https://en.wikipedia.org/wiki/Read-only. I submit that nowhere
exce
Steve Holden added the comment:
In my experience the devs are pretty well in touch with the user base (though
they don't always acknowledge its input). If you leave a programming language
at the first sign of wart I fear yo may eventually run out of languages.
--
nosy: +hold
Steve Holden added the comment:
I believe (though my belief is untrammeled by anything as useful as knowledge
of the code: my diagnostic skills are largely psychic) that the cell
essentially takes over the reference from the local namespace of the
about-to-terminate lexically surrounding
Steve Holden added the comment:
Indeed the issue is that the pointer is to the local variable rather than its
value at time of closure defnition. Not being familiar with the way cells are
used, I am unsure as to how the closure keeps the whole namespace alive (that
would seem to require a
New submission from Steve Holden:
When repeated use of a nonlocal variable is made (e.g. to define multiple
functions in a loop) ideally the closure should reflect the value of the local
variable at the time of use. This should at least be explicitly documented if
the behavior is considered
Steve Holden added the comment:
This is an easy issue?
--
nosy: +holdenweb
___
Python tracker
<http://bugs.python.org/issue20098>
___
___
Python-bugs-list mailin
Steve Holden added the comment:
How about: "A simple JSON decoder that converts between JSON string
representations and Python data structures"?
--
nosy: +holdenweb
___
Python tracker
<http://bugs.python.o
Steve Holden added the comment:
Is a fix really required? Are we really supposed to protect programmers from
their own folly by second-guessing when constant folding might be required and
when it might not? How is hte interpreter supposed to know the function isn't
called?
The s
Steve Holden added the comment:
The submitted patch does not approach the issue, since the real question is WHY
is the function being passed a None argument in the first place. Without
extensive testing there would be no guarantees that this change would not
result in breakage elsewhere
Steve Holden added the comment:
Further typo, sorry again.
--
title: isabspath receiving path value of None in ditdutils.dist.py -> isabspath
receiving path value of None in distutils.dist.py
___
Python tracker
<http://bugs.python.org/issu
Steve Holden added the comment:
Typo, sorry
--
title: isabspath receiving path value on None in ditdutils.dist.py -> isabspath
receiving path value of None in ditdutils.dist.py
___
Python tracker
<http://bugs.python.org/issu
Steve Holden added the comment:
I hope the title change is helpful. It's not clear from the report what module
is being installed, or even whether that is a relevant factor.
--
nosy: +holdenweb
title: isabspath fails if path is None -> isabspath receiving path value on
Steve Holden added the comment:
Oops, sorry, meant to close this issue. Hope that's OK.
--
status: open -> closed
___
Python tracker
<http://bugs.python.org
Steve Holden added the comment:
I have just tested this against the 2.7.1 release on Windows 7 and it runs
fine. I suspect there may have been some transient error with the reporter's
system or network, but if this still fails for him then reopening will be
appropriate with more inform
Steve Holden added the comment:
ValueError: (11, 'Resource temporarily unavailable') looks to me like a Cygwin
error relating to Windows' DLLs and the difficulty of mapping them to unique
memory locations. I very much doubt it's a real issue with Python, so closing
the
Steve Holden added the comment:
Sorry about that. I was using 3.1, as you will have gathered.
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issu
Changes by Steve Holden :
--
components: +Documentation
___
Python tracker
<http://bugs.python.org/issue12580>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Steve Holden :
We see in the "Quick-Start Tutorial" (py3k section 8.4.1) the following example:
>>> Decimal(3.14)
Decimal('3.140124344978758017532527446746826171875')
In actua; fact one would expect an exception from that code, which
Steve Holden added the comment:
On 11/25/2010 1:44 PM, Ćukasz Langa wrote:
> To sum up: if you don't find the idea of adding `fallbackdict'
> (possibly with an different *short* name) worth it, then I'm +1 on
> correcting the docs in terms of __missing__ and leaving th
Steve Holden added the comment:
On 11/25/2010 11:48 AM, Eric Smith wrote:
>
> Eric Smith added the comment:
>
> How about:
>
> from collections import defaultdict
>
> class defaultdict_value(defaultdict):
> def __init__(self, value):
> defaultdict
Steve Holden added the comment:
Of course, but better some record than none due to the overwhelming nature of
the task. At least someone else can carry the torch from here.
--
nosy: +holdenweb
___
Python tracker
<http://bugs.python.org/issue10
Steve Holden added the comment:
Personally I think it's just as relevant as it always was, particularly with
the introduction of importlib, but Brett will have a more informed opinion. I
won't be surprised if this issue is closed
Steve Holden added the comment:
The test program Larry provided does not appear to function as intended on
Windows, and runs without either producing error messages or requiring
interactive input. Here's a typical output, in this case from Python 3.1 on
Vista:
C:\Users\sholden\Docu
Steve Holden added the comment:
With the 2.7 release now completed should we close this issue? There's nothing
to be done about the 2.6 issue.
--
nosy: +holdenweb
___
Python tracker
<http://bugs.python.org/i
Steve Holden added the comment:
Thread at http://aspn.activestate.com/ASPN/Mail/Message/python-dev/3873005
refers to this issue. Posted files are already attached herewith.
--
___
Python tracker
<http://bugs.python.org/issue9
Changes by Steve Holden :
Added file: http://bugs.python.org/file17812/test3.1.out
___
Python tracker
<http://bugs.python.org/issue9124>
___
___
Python-bugs-list mailin
Changes by Steve Holden :
Added file: http://bugs.python.org/file17811/test2.5.out
___
Python tracker
<http://bugs.python.org/issue9124>
___
___
Python-bugs-list mailin
Changes by Steve Holden :
Added file: http://bugs.python.org/file17810/test.mailbox
___
Python tracker
<http://bugs.python.org/issue9124>
___
___
Python-bugs-list mailin
New submission from Steve Holden :
The attached program completes in less than half a second under Python 2.5.
Under Python 3 it takes almost three minutes on the same system. The issue
appears to be heavy use of decoding, at least in a Windows system, during
creation of the mailbox toc. The
Changes by Steve Holden :
--
nosy: +holdenweb
___
Python tracker
<http://bugs.python.org/issue8943>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Steve Holden :
C:\Users\sholden>\python31\python \python31\Tools\webchecker\wcgui.py
Traceback (most recent call last):
File "\python31\Tools\webchecker\wcgui.py", line 63, in
from Tkinter import *
ImportError: No module named Tkinter
This makes is seem
53 matches
Mail list logo