New submission from Joshua:
The Modulus doesn't seem to pull the proper remainder from simple calculations.
Look at the difference below between the remainder of a regular division
calculation and the modulus:
Am I missing something???
>>> print (str(10.2 / 2))
5.1
>>&
Joshua added the comment:
never mind, long day sorry!
--
resolution: -> works for me
status: open -> closed
___
Python tracker
<http://bugs.python.org/i
Changes by joshua williams :
--
nosy: +jowillia
___
Python tracker
<http://bugs.python.org/issue5723>
___
___
Python-bugs-list mailing list
Unsubscribe:
Joshua Bronson added the comment:
Thanks for the great additions.
--
___
Python tracker
<http://bugs.python.org/issue7734>
___
___
Python-bugs-list mailin
Joshua Purcell added the comment:
Sorry I've not replied to anyones thoughts until now but nothing seems to fix it
--
components: +Windows -IDLE
resolution: works for me ->
status: closed -> open
___
Python tracker
<http://b
New submission from Joshua Purcell :
There is a complete FAIL in this versionand all other versions like 3.*
THEY ALL FREEZE UP MY SYSTEM (Windows) HELP
--
components: Windows
messages: 121227
nosy: 08jpurcell
priority: normal
severity: normal
status: open
title: The whole thing is NOT
Changes by Joshua Lock :
--
nosy: +joshual
___
Python tracker
<http://bugs.python.org/issue8194>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Joshua Arnold :
In 'Doc/reference/datamodel.rst', the 'Invoking Descriptors' documentation
specifies the following behavior for super objects:
[snip]
Super Binding
If ``a`` is an instance of :class:`super`, then the binding ``super(B,
obj).
New submission from Joshua Blount :
When I get a stack traceback, it would be very handy if the traceback gave me
the relevant class name (along with all the current information).
--
components: Interpreter Core
messages: 127015
nosy: stickwithjosh
priority: normal
severity: normal
Joshua Blount added the comment:
Yes!
--
___
Python tracker
<http://bugs.python.org/issue11007>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Joshua Logan :
Hello,
It is mentioned in the documentation for input() (
http://docs.python.org/py3k/library/functions.html#input ) that the newline is
stripped from the end of the returned string. However, on Windows, it used to
trim '\r\n'. Now it no longer
New submission from Joshua Cogliati :
In Python/pythonrun.c the following definition exists:
static wchar_t *progname = L"python";
This is then used by Py_GetProgramName which is used by calculate_path in
Modules/getpath.c
Since in python 3, the default executable is python3, and
Joshua Cogliati added the comment:
Here is a part of an strace where Python fails to find python3:
(This would work if progname=L"python3" )
...
23249 stat("/opt/python/3.2.2.3/bin/python", 0x7fff2881cbf0) = -1 ENOENT
(No such file or directory)
23249 readlink("/usr
Changes by Joshua Cogliati :
--
title: Poor default value for progname in pythonrun.c -> default value for
progname in pythonrun.c should be python3 for Python 3
___
Python tracker
<http://bugs.python.org/issu
Joshua Cogliati added the comment:
> Joshua: what command did you run under strace?
A program I created that embeds python3. I could create a minimum piece of
code that triggered the bug if needed.
> Maybe it would be better to use L"python3.2" for Python 3.2 and L"pyt
Joshua Cogliati added the comment:
> Joshua, if you are embedding Python, why don't you simply call Py_SetPath to
> set the search path appropriately? Or is it not enough? (I've lost memory of
> the mazy details of how we calculate paths :-S).
Setting Py_SetPath manua
New submission from Joshua Landau:
http://www.python.org/about/ section "Python plays well with others", last
paragraph, link "extension modules" links to
http://www.python.org/doc/ext/intro.html, a 404 page.
http://www.python.org/doc/ext/ redirects to http://docs.
New submission from Joshua Biagio:
There seems to be a very minor bug in the ElementTree.py file, for the
so-called 'empty' elements that are serialized without a closing tag. The
HTML_EMPTY tuple/set is used to lookup these tags.
In the Lib/xml/etree/ElementTree.py file, the HTML_E
New submission from Joshua Landau:
"a¹ = None" is not valid, even though unicodedata.normalize("NFKC", "¹") == "1".
One would expect "a¹ = None" and "a1 = None" to be equivalent in this case, as
with "aⁱ = None" and "ai
New submission from Joshua Bronson :
This issue was originally opened in the PyPI tracker but was dismissed on the
theory that it's a bug in Python:
https://sourceforge.net/tracker/index.php?func=detail&aid=3396924&group_id=66150&atid=513503
"""
If in
New submission from Joshua Chia :
What steps will reproduce the problem?
1. Make a script containing this code:
parser = argparse.ArgumentParser()
parser.add_argument('-i', '--input-base-directory',
type=argparse.FileType('r'),
New submission from Joshua Landau :
When setting defaults to keyword-only arguments in lambdas which are inside
non-global scopes, cPython doesn't push the name to it's closure's co_freevars.
EXAMPLE:
global_variable = None
(lambda: (lambda *, keyword_only=global_variable: No
Joshua Landau added the comment:
Glad to help :)
It's made my day. I get to boast at school now!
--
___
Python tracker
<http://bugs.python.org/is
Joshua Root added the comment:
The fix that was committed doesn't work if CC is a full path like
/usr/bin/clang.
--
nosy: +jmr
___
Python tracker
<http://bugs.python.org/is
New submission from Joshua Landau :
Inside the grammar for classes[1], the documentation states that the
inheritance list can be of type:
"(" [argument_list [","] | comprehension] ")"
The "comprehension" part seems to be superfluous, especially as it is
New submission from Joshua Bronson :
>From http://docs.python.org/library/heapq.html:
> The latter two functions (nlargest and nsmallest) perform best for
> smaller values of n. For larger values, it is more efficient to use
> the sorted() function. Also, when n==1, it is more effi
Joshua Bronson added the comment:
Oh, that's great!
(I also noticed that the previously inutile line "_heappushpop = heappushpop"
is now doing something in the heapq.py you linked to, nice.)
It looks like the docs haven't been updated yet though. For instance,
http:/
Joshua Bronson added the comment:
> I prefer the docs the way they are. They help the reader understand
> the relationship between min, max, nsmallest, nlargest, and sorted.
Except that it's no longer true that "when n==1, it is more efficient to use
the
builtin min() and
Joshua Bronson added the comment:
One more thing:
> I prefer the docs the way they are. They help the reader understand
> the relationship between min, max, nsmallest, nlargest, and sorted.
The docs still use the unspecific language "for smaller values of n" and
"for la
Joshua Bronson added the comment:
> That is in the pure python version of nsmallest() and that
> code is not used (it is overriden by the C version).
So just because it isn't used by CPython it should remain in there even
though as you said yourself it's completely without b
Changes by Joshua Bronson :
--
nosy: +jab
___
Python tracker
<http://bugs.python.org/issue6626>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Joshua Bronson :
--
nosy: +jab
___
Python tracker
<http://bugs.python.org/issue6763>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Joshua Root :
Building Python 2.6.2 on Mac OS X 10.6 (final version, 10A432) fails. Full
build transcript is attached.
Other system details: Xcode 3.2, hardware is MacPro1,1
--
assignee: ronaldoussoren
components: Build, Macintosh
files: py26-snowleopard.log
Joshua Root added the comment:
Note that this problem appears to be x86_64-specific (caused by "-
arch_only i386"), and only happens if you configure with --enable-
framework.
--
___
Python tracker
<http://bugs.python.
Joshua Root added the comment:
Noting for completeness that:
* 3.0.1 behaves the same as 3.1.1 (works without --enable-framework).
* 2.5.4 fails with 'cc1: error: unrecognized command line option "-Wno-
long-double"'. Once this is removed from the configure scrip
Joshua Root added the comment:
I tried release26-maint just now (r74683) and it errored out during make
install. New log attached.
--
Added file: http://bugs.python.org/file14846/release26-maint.log
___
Python tracker
<http://bugs.python.
Joshua Root added the comment:
Tried again after ensuring that ~/test was completely empty; no
difference.
--
___
Python tracker
<http://bugs.python.org/issue6
Joshua Root added the comment:
Should line 110 of Lib/plat-mac/macresource.py say 'isinstance' rather
than 'instance'?
--
___
Python tracker
<http://bu
Joshua Root added the comment:
It works now. Thanks!
--
___
Python tracker
<http://bugs.python.org/issue6802>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Joshua Purcell :
--
nosy: 08jpurcell
severity: normal
status: open
title: Help
versions: Python 2.6
___
Python tracker
<http://bugs.python.org/issue6
New submission from Joshua Purcell :
My IDLE (Python GUI) Will NOT open It says socket error which is really
annoying me because it doesnt open IDLE (AT ALL)
--
components: +IDLE
type: -> performance
Added file: http://bugs.python.org/file14926/python_icon.
New submission from Joshua Bronson :
Though the heapq module does not support changing the priority of a particular
element of the heap (a necessary operation for the A* search family of
algorithms), such an element can be marked as invalid and a new element can be
added with different
Joshua Uziel <[EMAIL PROTECTED]> added the comment:
Or slightly better:
from operator import mul
def factorial(num):
return reduce(mul, range(2, num+1), 1)
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Joshua Uziel <[EMAIL PROTECTED]> added the comment:
It's a simplified version, but why not something like this:
import operator
def factorial(num):
return reduce(operator.mul, range(1, num+1))
A product() function could also be done similarly.
--
New submission from Joshua Kugler <[EMAIL PROTECTED]>:
According to a discussion on comp.lang.python, re.findall and
re.finditer scan strings from left to right, and returns them in the
order it found them. It would be nice to note that in documentation.
--
assignee: georg.
Joshua Kugler <[EMAIL PROTECTED]> added the comment:
That looks good. Thanks!
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3384>
___
__
New submission from Joshua Logan <[EMAIL PROTECTED]>:
Python 3.0b2 will not parse the XML file located at
http://rubyquiz.com/SongLibrary.xml.gz
It complains of a UnicodeEncodeError
'charmap' codec can't encode character '\xc8' in position 45: ch
aracter maps t
Joshua Chia added the comment:
Added test case
--
resolution: -> duplicate
status: open -> closed
Added file: http://bugs.python.org/file29639/test.py
___
Python tracker
<http://bugs.python.org/i
Joshua Chia added the comment:
Seems to be duplicate of http://bugs.python.org/issue12776
--
___
Python tracker
<http://bugs.python.org/issue13271>
___
___
Pytho
Joshua Landau added the comment:
http://www.python.org/dev/peps/pep-0448/ is out; see what you think.
See http://mail.python.org/pipermail/python-ideas/2013-July/021872.html for all
the juicy discussion so far.
--
nosy: +Joshua.Landau
___
Python
New submission from Joshua Bronson :
os.makedirs' mode argument defaults to a hardcoded value of 511 (0777 in
octal). This forces the caller to either pass in a different hardcoded value
(commonly 0750), or to implement a workaround that calculates the expected
mode based on the pr
Joshua Bronson added the comment:
Ah, I was misunderstanding the behavior of mkdir, thank you for the
explanation.
My misunderstanding stemmed from recently coming across two widely-used
packages which both pass mode=0750 to os.makedirs. I have no idea why
they would be doing this (as it
Joshua Bronson added the comment:
> My suspicion is that people setting explicit file permissions
> typically know what they are doing, and that you will find that
> your tickets get closed as invalid, explaining to you that this
> mode usage is fully intentional.
For what it'
Changes by Joshua Bronson :
--
nosy: +jab
___
Python tracker
<http://bugs.python.org/issue4753>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Joshua Kinard :
I'm attempting to get Python to cross-compile, and I'm not sure if this
is an actual flaw in the build system or not, but thought I'd detail
what I can here and seek comment from those in the know.
What happens is under a cross-environment se
Joshua Kinard added the comment:
Gotcha, I'll poke around and see what I can find. Are you guys open to
patches for 2.5.x still if we find something that needs patching (versus
passing lots of variables to the make process)?
___
Python tracker
Joshua Kinard added the comment:
Gotcha. Not sure how far off Gentoo is from supporting 2.6 -- our
primary package manager relies on it, so the updates tend to be slow.
for moving to new versions.
Do you guys maintain any kind of an "internals" guide to the build
system anywhere
Joshua Kinard added the comment:
Anyone gotten farther on getting Python-2.5.x to cross-compile? I'm
trying to get x86_64-pc-linux-gnu --> mipsel-unknown-linux-gnu, and
after some hacking at the last updated cross-2.5.1.patch, plus a fix for
the %zd printf bugaboo, plus adding in co
Joshua Kinard added the comment:
Making progress!
Adapted the cross-2.5.1.patch from Issue #1597850, integrated the %zd
printf fixup patch, and added another cross-compiler check for the
libffi configure bits in setup.py (it'd pass libffi's configure no
--host options, so libffi wou
Joshua Kinard added the comment:
Roumen,
I took a look at 4010, and tried your patch (as well as attempted to
apply the latter patch, but they changes are too great). Neither one
helped resolve my issue, but I should probably explain the angle I'm
attacking this from so you have an id
Changes by Joshua Logan :
--
nosy: +jaylogan
___
Python tracker
<http://bugs.python.org/issue2636>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Joshua Kugler :
On the page lib/http-redirect-handler.html it says the signature of
redirect_request is:
redirect_request( req, fp, code, msg, hdrs)
It is actually:
redirect_request(req, fp, code, msg, hdrs, newurl)
Well, technically the signature is:
redirect_request
New submission from Joshua Kugler :
I tried to edit my e-mail address in the python bug tracker
(under "Your Details"), but when I hit submit, it tells me:
You do not have permission to edit user
--
components: None
messages: 83833
nosy: jkugler
severity: normal
status:
Joshua Kinard added the comment:
Is there any movement on this perchance? Just bumped into this on my
MIPS platform and discovered this bug.
--
nosy: +kumba
___
Python tracker
<http://bugs.python.org/issue4
New submission from Joshua Bleecher Snyder :
When Python is compiled on OS X with llvm, the decimal module behaves
erratically (simple calculations are wrong, most doctests fail). This was
originally reported here:
http://stackoverflow.com/questions/7590137/dividing-decimals-yields-invalid
Joshua Bleecher Snyder added the comment:
>> Possibly related to http://bugs.python.org/issue11149?
> Maybe I missed it in the links you gave, but that is easily
> settled by compiling with and without -fwrapv.
Apologies -- I didn't do enough homework on this one. Yes, I
Joshua Bleecher Snyder added the comment:
This documentation change didn't make it into the docs for translate in the
string module -- see http://docs.python.org/library/string.html. It'd be great
to add it there as well, as I just got bitten by this. :)
--
nosy:
67 matches
Mail list logo