Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
There were non-ascii characters in the Windows license file. This was
corrected with r67860.
I believe that chr(0x1) and chr(0x11000) should have the
opposite behavior.
This other problem is because on a narrow unicode build,
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Here is a patch that properly raises SyntaxError when 'return' or
'yield' statements appear outside a function.
I did not bother to update the (deprecated) compiler package: it seems
to be completely foreign to this kind of checks...
New submission from Nick Craig-Wood n...@craig-wood.com:
I noticed this the other day when debugging a program that neither set()
nor defaultdict() pprint() properly
Same under 3.1 and 2.5 (Not tried 2.6/2.7 but I assume it is the same)
pprint(set(range(100)))
set([0, 1, 2, 3, 4, 5, 6, 7, 8,
Tarek Ziadé ziade.ta...@gmail.com added the comment:
right, nothing to fix here, the feature is available
--
resolution: - rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1815
Mark Hammond mhamm...@users.sourceforge.net added the comment:
Python shouldn't (IMHO) crahs, even if you give bogus input to
python functions.
But it doesn't actually crash does it? It throws an assertion dialog,
which sucks when the machine is unattended - which is why it is a
problem
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
This causes failures in test_urllib2net.
The fix is easy: a handful of
-self.assertTrue(u.fp._sock.gettimeout() is None)
+self.assertTrue(u.fp.raw._sock.gettimeout() is None)
But doesn't this show a
Changes by Brett Cannon br...@python.org:
--
priority: - low
stage: - needs patch
type: - feature request
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5094
___
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
ctypes cannot guess the function signature, and does not know if the function
expects strings or unicodes.
In your examples,
ctypes.windll.user32.MessageBoxW(handle, text, caption, type)
will accept everything you pass, and create
Benjamin Peterson benja...@python.org added the comment:
You should remove the error logic compile.c for return and yield in
function calls.
The problem with this approach is that every SyntaxError generated
during bytecode compilation must be moved to earlier. For example, I can
still use
Changes by Collin Winter coll...@gmail.com:
--
nosy: +collinwinter, jyasskin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5084
___
___
New submission from Raymond Hettinger rhettin...@users.sourceforge.net:
len(obj) is not happy when obj.__len__() returns a non-number.
--
files: crasher_len.py
messages: 81024
nosy: rhettinger
priority: release blocker
severity: normal
status: open
title: SystemError when __len__
New submission from Raymond Hettinger rhettin...@users.sourceforge.net:
IDLE would be *much* easier to use in conjunction with version control
if there were a reload option that did the equivalent of (close current
with no save, followed by open current file).
--
assignee: kbk
New submission from Raymond Hettinger rhettin...@users.sourceforge.net:
To parallel the functions in itertools, add:
math.combinations(n,r) -- n! / r! / (n-r)! when 0 = r = n or zero
when r n.
math.permutations(n,r) -- n! / (n-r)! when 0 = r = n or zero when
r n.
New submission from Robert Yodlowski rbt...@gmail.com:
In
http://docs.python.org/3.0/library/functions.html
these function entries seem to be missing Permalinks.
dict() frozenset() memoryview() set()
Hope this helps.
The Permalinks are a great idea. I hope you add lots more.
...Bob
Miki Tebeka miki.teb...@gmail.com added the comment:
Hmmm, too much time has passed and my 1bit memory has overflowed since :)
IIRC it has to do with the fact that not all nodes in BeautifulSoup has a
name attribute. I wanted to count how may tr there were, so
len(filter(lambda n: n == tr,
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
I would like to see this go forward. It looks promising.
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2459
___
Changes by Erkan Yilmaz erka...@gmail.com:
--
title: test_httpservers consistently fails on OS X using tarball, but not svn
tag r30 - test_httpservers consistently fails - OSError: [Errno 13] Permission
denied (e.g. on OS X using tarball, but not svn tag r30)
301 - 317 of 317 matches
Mail list logo