Geoffrey Spear added the comment:
It's impossible to guess exactly what you did from your vague description
instead of actual code, but it may be covered by this FAQ question:
https://docs.python.org/3/faq/programming.html#why-are-default-values-shared-between-objects
(mutable objects
Geoffrey Spear added the comment:
Indexing bytes giving an int is a feature. Some might argue it's a bad feature,
but it was done on purpose.
--
nosy: +geoffreyspear
___
Python tracker
<https://bugs.python.org/issue34
Geoffrey Spear added the comment:
"Means" is perfectly acceptable to use as a singular form:
http://grammarist.com/usage/means/ (the rest of these all look like legitimate
typos)
--
nosy: +geoffreyspear
___
Python track
Geoffrey Spear <geoffsp...@gmail.com> added the comment:
This behavior seems to have been introduced in commit
ee3784594b33c72c3fdca6a71892d22f14045ab6
--
nosy: +geoffreyspear, ncoghlan
___
Python tracker <rep...@bugs.python.or
Changes by Geoffrey Spear <geoffsp...@gmail.com>:
--
nosy: +geoffreyspear
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24836>
___
Changes by Geoffrey Spear geoffsp...@gmail.com:
--
components: +Interpreter Core
nosy: +geoffreyspear
type: - resource usage
versions: +Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24085
Geoffrey Spear added the comment:
Returns weekday of first day of the month and number of days in month, for the
specified year and month..
The 6 means February began on a Sunday, not that there are 6 weeks in the month.
--
nosy: +geoffreyspear
Changes by Geoffrey Spear geoffsp...@gmail.com:
--
nosy: +geoffreyspear
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18454
___
___
Python-bugs
Changes by Geoffrey Spear geoffsp...@gmail.com:
--
nosy: +geoffreyspear
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5187
___
___
Python-bugs
Geoffrey Spear added the comment:
This is not a bug, it's a deliberate change.
Python 2.x doesn't work correctly; what you have there is an octal literal,
not a 0-padded base-10 integer. Try 008 or 011 and be surprised that python 2
is broken and you'll see why this syntax was removed
New submission from Geoffrey Spear:
This seems to be related to issue20605 where _socket.getaddrinfo() mysteriously
fails on some Snow Leopard systems but not others; I don't think the cause of
that one was ever explained but this appears to be the same error
Geoffrey Spear added the comment:
From the documentation: Complex numbers have a real and imaginary part, which
are each a floating point number.
Needing to use int() to convert these floats to integers is not a bug, it's the
expected behavior.
--
nosy: +geoffreyspear
Changes by Geoffrey Spear geoffsp...@gmail.com:
--
components: +Interpreter Core
type: compile error - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22532
Geoffrey Spear added the comment:
The same behavior exists in Python 3, however, I'm not sure it's a bug. The
documentation says The characters in salt must be in the set [./a-zA-Z0-9].
Presumably the behavior when there is a $ in the salt is undefined by Python,
and different on different
Geoffrey Spear added the comment:
This is actually the expected behavior of crypt(3) on OS X. It doesn't support
the $id$ modular format, and if the salt does not begin with an underscore only
the first 2 bytes are used (presumably in your bug #2 you're changing parts
of the salt beyond
Geoffrey Spear added the comment:
Robert:
That is not related. Python 3's round() function, as documented, rounds halves
to the even choice; what you describe is the expected behavior.
--
nosy: +geoffreyspear
___
Python tracker rep
Changes by Geoffrey Spear geoffsp...@gmail.com:
--
nosy: +geoffreyspear
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19884
___
___
Python-bugs
Geoffrey Spear added the comment:
Per pitrou's suggestion, eliminate get_time altogether and use _PyTime_INTERVAL
macro.
--
Added file: http://bugs.python.org/file35340/issue21555-3.patch
___
Python tracker rep...@bugs.python.org
http
Changes by Geoffrey Spear geoffsp...@gmail.com:
--
nosy: +geoffreyspear
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21555
___
___
Python-bugs
Geoffrey Spear added the comment:
Attached patch replaces call to Python time.time() with _PyTime_gettimeofday()
call.
--
keywords: +patch
Added file: http://bugs.python.org/file35324/issue21555.patch
___
Python tracker rep...@bugs.python.org
http
Geoffrey Spear added the comment:
revised patch; thanks to berkerpeksag's code review.
--
Added file: http://bugs.python.org/file35325/issue21555-2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21555
Changes by Geoffrey Spear geoffsp...@gmail.com:
--
nosy: +geoffreyspear
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21015
___
___
Python-bugs
Geoffrey Spear added the comment:
This test still fails in Python 3.5 on Snow Leopard with the system ncurses; it
would be nice to at least skip the test on systems with older ncurses.
--
nosy: +geoffreyspear
versions: +Python 3.4, Python 3.5
Geoffrey Spear added the comment:
There is no correct date and time Python 3.4 was built. I'm sure even the
Windows binary installers weren't built simultaneously, and on Linux systems it
will differ based on distro.
My Python 3.4 says it was built 5 minutes ago, because it was.
I suppose
New submission from Geoffrey Spear:
The documentation for os.times directs the reader: See the Unix manual page
times(2) or the corresponding Windows Platform API documentation.
However, the POSIX manual page in question is times(3P), and on OS X and BSD
systems it's times(3). Falling back
Geoffrey Spear added the comment:
Attached patch to ignore OSError attempting to F_NOTIFY on a machine without
dnotify but with sys/fcntl.h including #defines for F_NOTIFY and DN_MULTISHOT.
The test as written attempts to skip the test, but fails when the header
doesn't match the actual
Geoffrey Spear added the comment:
Ned:
socket.gethostbyname(localhost)
'127.0.0.1'
socket.getaddrinfo(localhost, 00, 0, 0, 0, socket.AI_NUMERICSERV)
Traceback (most recent call last):
File stdin, line 1, in module
File /usr/local/lib/python3.4/socket.py, line 530, in getaddrinfo
Geoffrey Spear added the comment:
Reproduced this on a Cr-48 Chromebook running ChrUbuntu 3.4.0 in Python 3.3.4
and 3.4.0RC1. The kernel does appear to have been compiled with
CONFIG_DNOTIFY=y, so that's not a complete solution.
--
nosy: +geoffreyspear
versions: +Python 3.3, Python
New submission from Geoffrey Spear:
On OS X 10.6.8, I'm getting the following result for test_socket:
[cpython] % ./python.exe -m test test_socket
[1/1] test_socket
/Users/geoff/Documents/programming/cpython/Lib/test/test_socket.py:1721:
RuntimeWarning: received malformed or improperly
Geoffrey Spear geoffsp...@gmail.com added the comment:
If people do override this provate method, would they really bother calling
super() to get the essentially no-op functionality of the superclass method?
FWIW, Google Code and github both seem to be free of any such code
Changes by Geoffrey Spear geoffsp...@gmail.com:
--
nosy: +geoffreyspear
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14075
___
___
Python-bugs
Changes by Geoffrey Spear geoffsp...@gmail.com:
--
nosy: +wooble
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8739
___
___
Python-bugs-list
32 matches
Mail list logo