anatoly techtonik added the comment:
Ok. Maybe I proposed the solution too early. I am fine with doc fix, but given
the previous experience I have doubts it will happen. Maybe opening a wiki page
with a current draft can help:
http://wiki.python.org/moin/Locals
or better
Charles-François Natali added the comment:
Greg, the original issue was about an OS X failure, and it's still a
problem AFAICT.
However it's definitely not a problem with your patch, but an OS X
kernel bug (we've had another similar issue some time ago I think), so
we might as well skip the
Ned Deily added the comment:
There definitely needs to be an option to continue to include the normal
progress list in the output. This is essential for comparing test runs. I'm
+0 on whether it be the default or not. Actually, what is really needed for
automated analysis of test runs is
New submission from Tshepang Lekhonkhobe:
There are 2 broken links at the beginning of Lib/datetime.py.
One other thing, maybe prototype implemented in Python is an outdated and/or
needless statement?
--
assignee: docs@python
components: Documentation, Library (Lib)
messages: 185494
Changes by Dirkjan Ochtman dirk...@ochtman.nl:
--
nosy: +djc
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17514
___
___
Python-bugs-list mailing
New submission from Claudiu.Popa:
When using a directive that is not recognised by time.strptime, the following
occurs in Python 3:
time.strptime(, %D)
Traceback (most recent call last):
File C:\Python33\lib\_strptime.py, line 320, in _strptime
format_regex =
New submission from Stefan Behnel:
Here is an artificial but pretty broad ElementTree benchmark, testing the
modules xml.etree.ElementTree, xml.etree.cElementTree and lxml.etree (if
importable). Please add it to the benchmark suite.
--
components: Benchmarks, XML
files:
Changes by Stefan Behnel sco...@users.sourceforge.net:
--
nosy: +brett.cannon, pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17573
___
___
Giampaolo Rodola' added the comment:
Where should I look?
Tulip is at code.google.com/p/tulip
I meant in the code (and what needs to be done/refactored exactly).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17561
J Porter added the comment:
Here is the code (security info removed) and the output. I noticed that the
problem is a bit different between 2.6.5 and 2.7.3 (on one the use of
authentication is different) so I've included the output for both:
import urllib2
userData=Basic KEY GOES HERE
Guido van Rossum added the comment:
start_serving() in base_events.py.
On Fri, Mar 29, 2013 at 4:58 AM, Giampaolo Rodola'
rep...@bugs.python.orgwrote:
Giampaolo Rodola' added the comment:
Where should I look?
Tulip is at code.google.com/p/tulip
I meant in the code (and what needs to
New submission from Valentin Lab:
running::
$ pysetup remove shyaml
'shyaml' cannot be removed.
Error: [Errno 18] Invalid cross-device link
Same happens when using::
$ pysetup install shyaml==0.1.3
Besides, I've no idea of the state of distutils2 which was promising and is
working
New submission from dspub...@freemail.hu:
http.client modul, HTTPConnection object, send method
Missing an else for self.sock.sendall(data) try block.
...
if hasattr(data, read) :
if self.debuglevel 0:
print(sendIng a read()able)
encode = False
Éric Araujo added the comment:
Thanks for the report. I think this bug was already known, but development of
distutils2 is currently stopped. The scope and design were fundamentally
flawed. Current efforts are centered on defining a toolchain of builders,
archivers and installers instead
Changes by Chris Angelico ros...@gmail.com:
--
nosy: +Rosuav
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17575
___
___
Python-bugs-list mailing
Antoine Pitrou added the comment:
Sorry to reopen :-). It seems OpenSSL 1.0.1d was a kind of brown paper bag
release, they've released 1.0.1e since (some of test_ssl can fail on 1.0.1d and
succeed on 1.0.1e, as experienced on my Linux setup; the Windows buildbots also
exhibit similar
Ezio Melotti added the comment:
I fixed all the tests that were producing extra output on my machine, but there
are probably some left on other machines. Using -uall also produces extra
output, and I haven't decided how to deal with that yet (maybe it should be
silenced as well).
Getting
Antoine Pitrou added the comment:
Haven't looked at the patch in detail but a couple of things:
- I don't think we need to benchmark the slow pure-Python ET, except when the
fast version isn't present (basically, the main benchmark should try cET and
then fallback on ET)
- I'm ok with lxml
Roundup Robot added the comment:
New changeset d6fe31ce789d by Vinay Sajip in branch '3.3':
Issue #17540: Added style to Formatter configuration by dict.
http://hg.python.org/cpython/rev/d6fe31ce789d
New changeset e097fe3a87de by Vinay Sajip in branch 'default':
Closes #17540: Merged fix from
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6671
___
___
Python-bugs-list
Stefan Behnel added the comment:
I considered lxml.etree support more of a convenience feature, just for
comparison. Given that it's a binary package that doesn't run reliably on other
Python implementations apart of CPython, I don't think it's really interesting
to make it part of the
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
resolution: - invalid
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17549
___
Antoine Pitrou added the comment:
I'm ok with the conditional import for ET, although I don't see a
reason to exclude it. Why not be able to compare the performance of
both implementations as well? There's a slowpickle benchmark, for
example.
It made sense in 2.7 where both implementations
Vinay Sajip added the comment:
Removing myself from nosy, as it appears to be a ConfigParser issue.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17453
___
R. David Murray added the comment:
-uall shouldn't produce more output by itself, it just runs more tests. Do you
mean that some *output* is actually conditionalized on whether a certain
resource is enabled?
--
___
Python tracker
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
components: +Regular Expressions
nosy: +ezio.melotti, mrabarnett
type: enhancement - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17568
Ezio Melotti added the comment:
The tests enabled by -uall (and probably -unetwork) use open_urlresource, and
open_urlresource has a print('\tfetching %s ...' % url,
file=get_original_stdout()). This should probably be printed only when -v is
passed.
--
Senthil Kumaran added the comment:
I think, this requires triaging in terms of is the feature request still
applicable. Except 100 is sent by httplib and the support for this was added
few years ago, much later then this bug was originally raised.
--
assignee: - orsenthil
Mark Lawrence added the comment:
A lot of work has already been done on this issue. If this is likely to get
into 2.7 then fine leave it open, if not can this be closed?
--
___
Python tracker rep...@bugs.python.org
Ezio Melotti added the comment:
Attached a patch to skip the test unless -unetwork/-uall is provided.
--
keywords: +patch
stage: needs patch - patch review
Added file: http://bugs.python.org/file29604/issue17564.diff
___
Python tracker
Nick Coghlan added the comment:
OK, Georg has locked the 3.2 branch now, so we can proceed with this without
making any 3.2 blockers harder to deal with.
--
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
Changes by Todd Rovito rovit...@gmail.com:
--
nosy: +Todd.Rovito
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14146
___
___
Python-bugs-list
Todd Rovito added the comment:
I was going to try Python 3.4 and TK 8.6 on Windows and see what happens.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14146
___
paul j3 added the comment:
Glenn
I looked at your t18a.py test case
parser = ArgumentParser()
parser.add_argument('--foo', dest='foo')
parser.add_argument('--bar', dest='bar')
parser.add_argument('foz')
parser.add_argument('baz', nargs='*')
and parse variations on 'a b c d
Ezio Melotti added the comment:
This is the module docstring:
Concrete date/time and related types -- prototype implemented in Python.
See http://www.zope.org/Members/fdrake/DateTimeWiki/FrontPage
See also http://dir.yahoo.com/Reference/calendars/
For a primer on DST, including many current
Fred L. Drake, Jr. added the comment:
Let's just update the docstring:
Concrete date/time and related types.
See also http://dir.yahoo.com/Reference/calendars/
For a primer on DST, including many current DST rules, see
http://webexhibits.org/daylightsaving/
Sources for time zone and DST
Ezio Melotti added the comment:
The fix LGTM. The attached patch tweaks a bit your test and adds another one
to check _strptime directly.
--
nosy: +ezio.melotti
stage: - commit review
Added file: http://bugs.python.org/file29605/issue17572.diff
Alexander Belopolsky added the comment:
Shouldn't we link to IANA for timezones information?
http://www.iana.org/time-zones/repository/tz-link.html
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17571
Barry A. Warsaw added the comment:
You also end up with this nice bit of inconsistency:
x = myint(7)
from operator import index
range(10)[6:x]
range(6, 7)
range(10)[6:x.__index__()]
range(6, 8)
range(10)[6:index(x)]
range(6, 7)
Granted, it's insane to have __index__() return a different
New submission from Barry A. Warsaw:
operator.index() is just a thin wrapper around PyNumber_Index(). The
documentation for operator.index() claims that it is equivalent to calling
obj.__index__() but for subclasses of int, this is not true. In fact,
PyNumber_Index() first does (e.g. in
Changes by Barry A. Warsaw ba...@python.org:
--
title: PyNumber_Index() is not int-subclass friendly - PyNumber_Index() is not
int-subclass friendly (or operator.index() docos lie)
___
Python tracker rep...@bugs.python.org
Senthil Kumaran added the comment:
LGTM - please make the changes in all versions of python.
( I had the same patch pending locally and was waiting for my push-merge cycle
time)
--
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset f668d2267303 by Ezio Melotti in branch '3.3':
#17564: skip test_bad_address unless the tests are run with -unetwork/-uall.
http://hg.python.org/cpython/rev/f668d2267303
New changeset a472fece6f31 by Ezio Melotti in branch '2.7':
#17564: skip
Roundup Robot added the comment:
New changeset ae5c4a9118b8 by Ezio Melotti in branch 'default':
#17564: merge with 3.3.
http://hg.python.org/cpython/rev/ae5c4a9118b8
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17564
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
assignee: - ezio.melotti
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17564
New submission from Phil Connell:
A recipe often requested on the likes of stackoverflow and activestate is a way
to look 'ahead' in an iterator, without altering the values returned for
subsequent next() calls.
Last time this came up on python-ideas, it got a reasonable reception:
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17577
___
Ezio Melotti added the comment:
The module only defines 2 public objects: HTMLParser and HTMLParseError.
The attached patch adds an __all__ with only HTMLParser. Should HTMLParseError
be included too, even though it's deprecated and will be removed in 3.5?
@Michele:
__all__ won't fix that,
Kenneth O'Brien added the comment:
Removed generated files from patch. Requesting review.
--
Added file: http://bugs.python.org/file29608/ken-ncurses-suse-update.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12271
Eric Snow added the comment:
Would it be okay to do a check on __index__ after the PyLong_Check() succeeds?
Something like this:
if (PyLong_Check(item)
item-ob_type-tp_as_number-nb_index ==
PyLong_Type.tp_as_number-nb_index) {
Py_INCREF(item);
return item;
}
Alex Gaynor added the comment:
In my opinion that should use PyLong_CheckExact
--
nosy: +alex
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17576
___
Barry A. Warsaw added the comment:
On Mar 30, 2013, at 12:29 AM, Eric Snow wrote:
Would it be okay to do a check on __index__ after the PyLong_Check()
succeeds? Something like this:
if (PyLong_Check(item)
item-ob_type-tp_as_number-nb_index ==
PyLong_Type.tp_as_number-nb_index)
Raymond Hettinger added the comment:
Based on previous discussions on the subject, I'm disinclined to accept a
lookahead tool for the itertools module. Adding a recipe using tee() may be
reasonable though.
I'll mark this a low priority and will come back an give in more consideration
at
Raymond Hettinger added the comment:
Unmarking the needs patch stage. A rush to implementation would be premature
at this point.
--
stage: needs patch -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17577
Todd Rovito added the comment:
I tried both TCL/TK 8.5.13 and TCL/TK 8.6 with the latest Python 3.4 on Windows
7 the editor window never showed a line as I stepped through the debugger. I
am going to try in Mac/Linux to make sure I am not crazy that a line in the
editor window does indicate
Changes by Éric Araujo mer...@netwok.org:
--
keywords: +easy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15331
___
___
Python-bugs-list mailing
Todd Rovito added the comment:
Before I forget here are the general steps I followed to get TCL/TK 8.5.13 and
8.6 to work. For TCL/TK 8.6 I had to change the actual Visual Studio 2010
project.
Generally you have to follow the steps in readme.txt located in PCBuild of the
source tree.
Ezio Melotti added the comment:
Fixed, thanks for the report and the patch!
--
assignee: - ezio.melotti
nosy: +ezio.melotti
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
versions: -Python 3.2
___
Python tracker
Roundup Robot added the comment:
New changeset bc73223e4c10 by Ezio Melotti in branch '2.7':
#17526: fix an IndexError raised while passing code without filename to
inspect.findsource(). Initial patch by Tyler Doyle.
http://hg.python.org/cpython/rev/bc73223e4c10
New changeset 39e103c1577e by
Todd Rovito added the comment:
I have confirmed that Linux and Mac work great but Windows fails to highlight
the current line in the editor window. Next I will try and find/file a bug
with the TCL/TK folks.
--
___
Python tracker
Ezio Melotti added the comment:
Can you try the attached patch?
--
keywords: +patch
nosy: +ezio.melotti
Added file: http://bugs.python.org/file29609/issue17533.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17533
Roundup Robot added the comment:
New changeset b0c0a03b8033 by Ezio Melotti in branch '3.3':
#17539: fix MagicMock example. Patch by Berker Peksag.
http://hg.python.org/cpython/rev/b0c0a03b8033
New changeset d5d6209745ab by Ezio Melotti in branch 'default':
#17539: merge with 3.3.
Ezio Melotti added the comment:
Fixed, thanks for the report and the patch!
--
assignee: docs@python - ezio.melotti
nosy: +ezio.melotti
resolution: - fixed
stage: - committed/rejected
status: open - closed
type: - enhancement
___
Python tracker
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17548
___
___
Terry J. Reedy added the comment:
PSF accepts contributions from authors under Contributor Agreements. It does
not grab software from 3rd parties, no matter how lenient the license. Roger,
if you assigned all rights to the University, you should talk with them about
either getting some back
Changes by Terry J. Reedy tjre...@udel.edu:
--
nosy: +terry.reedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17546
___
___
Python-bugs-list
Terry J. Reedy added the comment:
After the last exchange on #7083, Guido emailed me that I could/should revised
the doc a bit, but he said he did *not* want the details explained because he
regards them as CPython implementation details and not part of the language
definition. I have not
Ned Deily added the comment:
There's a typo in the patch and None won't work. With the following change to
the patch:
-_2G = _1G = None
+_2G = _1M = 0
the test passes on OS X 10.5 against the system 2.5.1 and an installed 2.4.4.
Thanks!
--
stage: needs patch - commit review
Terry J. Reedy added the comment:
Bob, when replying by email, please snip everything except your reply, and
perhaps a specific small quote.
Since the doc says exists returns True or False, raising a popup seems like a
bug to be fixed.
--
nosy: +terry.reedy
versions: +Python 3.4
69 matches
Mail list logo