koobs added the comment:
Regressions on FreeBSD buildbots (test_coding)
http://buildbot.python.org/all/builders/AMD64%20FreeBSD%2010.0%203.3/builds/626/steps/test/logs/stdio
--
nosy: +koobs
___
Python tracker rep...@bugs.python.org
Changes by koobs koobs.free...@gmail.com:
--
nosy: +koobs
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19966
___
___
Python-bugs-list mailing
New submission from Jeong-Min Lee:
Running the Pretty top example
(http://docs.python.org/dev/library/tracemalloc.html#pretty-top) in the
tracemalloc module documentation causes a ValueError.
Traceback (most recent call last):
File t.py, line 32, in module
Changes by Jeong-Min Lee false...@gmail.com:
--
title: tracemalloc example - tracemalloc example - Pretty Top
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20814
___
Changes by Berker Peksag berker.pek...@gmail.com:
--
nosy: +haypo
versions: -Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20814
___
Changes by Mark Dickinson dicki...@gmail.com:
--
nosy: +mark.dickinson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20811
___
___
Changes by Richard Oudkerk shibt...@gmail.com:
--
assignee: - sbt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20633
___
___
Python-bugs-list
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
resolution: fixed -
status: closed - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20731
___
Eric V. Smith added the comment:
I think you always want the leading zero. Mark (Dickinson), what do yo think?
And I also think changing it at this point would be problematic.
--
nosy: +anthonybaxter, barry, benjamin.peterson, eric.araujo, georg.brandl,
gvanrossum, lemburg, loewis,
Eric V. Smith added the comment:
Oops, not sure how the nosy list got changed. Sorry about that.
--
nosy: -anthonybaxter, barry, benjamin.peterson, eric.araujo, georg.brandl,
gvanrossum, lemburg, loewis, tarek
___
Python tracker
Martin v. Löwis added the comment:
3.8.3 has been superseded by 3.8.3.1.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20465
___
___
New submission from Michel Albert:
While I was looking at the source of the ipaddress unit-tests, I noticed a
couple of PEP8 violations. This patch fixes these (verified using the ``pep8``
tool).
There are no behavioural changes. Only white-space.
Test-cases ran successfully before, and
Varun Sharma added the comment:
I have made a patch which raises TypeError whenever a string type payload is
attached to message using email.Message.attach() method.I have also added a
unit test for the same. Need review.
--
keywords: +patch
nosy: +varun
Added file:
Roundup Robot added the comment:
New changeset 5e05d7d3db9c by Andrew Kuchling in branch 'default':
#16135: remove mentions of OS/2 from the documentation
http://hg.python.org/cpython/rev/5e05d7d3db9c
--
___
Python tracker rep...@bugs.python.org
Nick Coghlan added the comment:
Unfortunately, the pep8 tool includes some additional invented rules of its
own, mostly related to being far too strict about indentation of continuation
lines.
PEP 8 is actually mostly silent on that topic, merely pointing out a couple of
specific things
Changes by koobs koobs.free...@gmail.com:
--
nosy: +koobs
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20374
___
___
Python-bugs-list mailing
R. David Murray added the comment:
Thanks, Varun. Your patch addresses an issue with the current API, but it
doesn't address the problem raised in this issue. The problem in this issue is
what happens when the *payload* is a string, and you call attach (to attach a
message object) on that
Mark Lawrence added the comment:
'0.12345678' or '+0.1234567' could both be considered equally valid. Who can
say which is really The One True Way? :)
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20811
Xavier de Gaye added the comment:
The doctests are executed with 'test.globs' as globals which is set in the
'find' method of doctest.DocTestFinder, and cleared after each run (unless
'clear_globs' is false). One possible fix is to have test.regrtest 'find' a
new test_runner before each run
Georg Brandl added the comment:
This needs to be fixed for 3.3.5rc2.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20731
___
___
Roundup Robot added the comment:
New changeset dcf4fbf446ca by Benjamin Peterson in branch '3.3':
fix test on debug builds (closes #20731)
http://hg.python.org/cpython/rev/dcf4fbf446ca
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
Brett Cannon added the comment:
Good point about the 2.7 backport. I'm still not worried about 3.3, though, by
the fact that 3.4 should land in less than a month.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20813
Brett Cannon added the comment:
But then if Larry doesn't cherrypick it then backporting would be a good idea,
and considering it's probably safer to just backport the changes by doing a
whole copy copy then we might as well backport.
--
assignee: - brett.cannon
Brett Cannon added the comment:
Something like this should go at the top almost as a tl;dr to get the point
across that regardless of the state of your dependencies, start writing Python
3-compatible code **today** and if you must update old code piecemeal. I'll add
something next time I have
New submission from Jeremiah Lowin:
Tested in Python 3.3 and Python 3.4.0rc1 5e05d7d3db9c
If a function has keyword-only arguments but no keyword-only defaults, then
calling inspect.getcallargs with no arguments results in the wrong TypeError
being raised.
Example:
import inspect
def
Changes by Brett Cannon br...@python.org:
--
nosy: +yselivanov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20816
___
___
Python-bugs-list
Xavier de Gaye added the comment:
After applying patch 'regrtest.diff' from issue 20746, the command:
$ ./python -m test -W -R3:3 test_pdb
succeeds now and shows there are no reference leaks.
However, with the following change in Lib/test/test_pdb.py and patch
'regrtest.diff' applied:
Xavier de Gaye added the comment:
See also issue 20766.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20746
___
___
Python-bugs-list mailing
Jeremiah Lowin added the comment:
I created a patch to resolve this.
If a function has keyword-only arguments, then inspect.getcallargs checks if
the argument is in kwonlydefaults. However, kwonlydefaults is None if no
defaults were specified. In that situation, 'kwarg in kwonlydefaults'
Jeremiah Lowin added the comment:
Apologies, the patch is attached here.
--
keywords: +patch
Added file: http://bugs.python.org/file34260/issue20816.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20816
New submission from Jeremiah Lowin:
If inspect.getcallargs() is called on a function and three or more arguments
are missing, an IndexError is raised instead of the expected TypeError.
This bug is present in Python 3.3 and 3.4.0 rc1 (5e05d7d3db9c). However, it
worked as expected in Python
Jeremiah Lowin added the comment:
The bug is caused by a list of names not getting properly expanded when
generating the error message. This patch fixes it (simply by adding a * in the
appropriate place) and tests that a TypeError, not an IndexError, is raised.
--
keywords: +patch
Michel Albert added the comment:
Thanks for the quick reply!
I did not know the pep8 tool added it's own rules :( I have read PEP8 a long
while ago and have since relied on the tool to do the right thing. Many of
it's idiosyncrasies have probably made their way into my blood since :(
And
Roundup Robot added the comment:
New changeset 57cb8a6e8f10 by R David Murray in branch 'default':
whatsnew: unittest discover works on namespace packages (#17457).
http://hg.python.org/cpython/rev/57cb8a6e8f10
--
___
Python tracker
David Lindquist added the comment:
I don't think it is unreasonable to return a well-known extension for certain
mime types, text/plain being the most obvious (and most in need of repair;
.ksh??).
I've attached a patch based on the previous discussion.
--
keywords: +patch
nosy:
Changes by Yury Selivanov yselivanov...@gmail.com:
--
assignee: - yselivanov
nosy: +larry, ncoghlan, yselivanov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20817
___
Changes by Yury Selivanov yselivanov...@gmail.com:
--
assignee: - yselivanov
nosy: +ncoghlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20816
___
aubmoon added the comment:
Neither of those strictly meets the stated format. '0.12345678' is missing
the + which is explicit in the format and '+0.1234567' does not have 8
decimal places. Only '+.12345678' has a length of 10, 8 decimal places, and
the required sign. I realize this definitely an
Martin v. Löwis added the comment:
Thanks for fixing it.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20731
___
___
Python-bugs-list mailing
Stefan Krah added the comment:
aubmoon: Would it be a possibility just to use 'f' instead?
{:+10.7f}.format(1.12345678)
'+1.1234568'
{:+10.7f}.format(0.12345678)
'+0.1234568'
--
nosy: +skrah
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset 5fa3f6d82d61 by Ned Deily in branch 'default':
Issue #20465: Update OS X installer build to use SQLite 3.8.0.1.
http://hg.python.org/cpython/rev/5fa3f6d82d61
--
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset a8470f88e7b4 by Ned Deily in branch 'default':
Issue #20465: fix NEWS typo (it's 3.8.3.1)
http://hg.python.org/cpython/rev/a8470f88e7b4
--
___
Python tracker rep...@bugs.python.org
New submission from Ned Deily:
Update the OS X installer build to use SQLite 3.8.3.1 instead of 3.8.3 (see
Issue20465).
--
assignee: larry
components: Build
messages: 212524
nosy: larry, ned.deily
priority: release blocker
severity: normal
stage: commit review
status: open
title: 3.4
Ned Deily added the comment:
Fix a bug (ticket 4c86b126f2) that causes rows to go missing on some queries
with OR clauses and IS NOT NULL operators in the WHERE clause, when the
SQLITE_ENABLE_STAT3 or SQLITE_ENABLE_STAT4 compile-time options are used.
aubmoon added the comment:
That is exactly what I tried first. It turns out in the particular case I
have been working the 8th digit is needed for correct answers. The job is a
port of a punch card FORTRAN system into something more modern. The catch
is the system is a scientific application
Eric V. Smith added the comment:
I still think this is a special case that we won't fix. And even if we did,
you'd have to wait until 3.5.
But instead of your solution, it might be easier to wrap your floats in a class
that implements your version of format, based on float's format with some
Nick Coghlan added the comment:
I'd suggest focusing more on the structured tests at the top of the file - the
ones further down we largely incorporated wholesale from the original ipaddr
project, and didn't go back and enforce PEP 8 compliance, but the new tests
should follow the style
Roundup Robot added the comment:
New changeset 82bcc626ffd4 by Benjamin Peterson in branch '3.3':
fix test_posix.test_initgroups to work without supplemental groups (closes
#20249)
http://hg.python.org/cpython/rev/82bcc626ffd4
New changeset 1fbec1c44911 by Benjamin Peterson in branch '2.7':
New submission from Jason R. Coombs:
The setuptools source references a distutils bug here:
https://bitbucket.org/pypa/setuptools/src/85760c42740829000a19ebf708d0a9cd565bb0eb/setuptools/command/bdist_wininst.py?at=default#cl-7
From what I infer from that message, the bug is that
New submission from Nick Timkovich:
On a random trip through Python's past I noticed the new site is escaping HTML
on some older version release notes:
* http://www.python.org/download/releases/1.6/
* http://www.python.org/download/releases/2.0/
* http://www.python.org/download/releases/2.1/
*
Ned Deily added the comment:
Sorry, you were pointed to the wrong tracer. For problems with the new
website, the tracker is:
https://github.com/python/pythondotorg/issues
But, as noted in a reply, the pages you cite should now render properly.
Thanks for reporting it!
New submission from Ryan Govostes:
I cannot find a way to break a long number across multiple lines, other than to
write the number as a string, take advantage of string literal concatenation,
and then convert the string to an integer.
I'd like to be able to write, for example,
N =
Eric V. Smith added the comment:
Please discuss this on the python-ideas mailing list, then if there's interest
we'll re-open this issue.
I'm -0 on the idea, but I haven't really thought about it much.
--
nosy: +eric.smith
resolution: - rejected
stage: - committed/rejected
status:
New submission from Nemo Neminibus:
File: python334.chm
Downloads, md5sum correct.
MS help executable opens a page with Table of Contents, but also displays a box
with following message: Navigation to the webpage was canceled
Clicking on any page icon in Table of Contents list produces no
54 matches
Mail list logo