Marc-Andre Lemburg m...@egenix.com added the comment:
STINNER Victor wrote:
STINNER Victor victor.stin...@haypocalc.com added the comment:
you should make a case by example
Did you read comments of this issue and my email thread on python-dev?
No.
There are differents examples:
-
Paul Moore p.f.mo...@gmail.com added the comment:
Yes, working correctly now
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13181
___
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti, gvanrossum
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13224
___
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
keywords: +easy
nosy: +ezio.melotti
stage: - test needed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13223
___
Ned Deily n...@acm.org added the comment:
This sounds like an issue with Windows installation rather than an IDLE issue.
--
components: +Installation, Windows -IDLE
nosy: +brian.curtin, loewis, ned.deily, tim.golden
___
Python tracker
Ezio Melotti ezio.melo...@gmail.com added the comment:
I installed Python 3.2 first and then 2.7
This probably made 2.7 the default Python.
I tried to open a .py file that's written with 3.2,
but it were opened with the 2.7 IDLE.
So this is normal.
So I uninstalled 2.7 and tried to open it
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +jnoller
stage: - test needed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13220
___
New submission from STINNER Victor victor.stin...@haypocalc.com:
We have a sys.setdlopenflags() function, but required constants are not
available on all platforms. The DLFCN is only available on Linux and sunos5 (is
plat-sunos5 available for all Solaris and OpenIndiana versions?), but not on
New submission from Raymond Hettinger raymond.hettin...@gmail.com:
Based on a comment from Andrew Koenig, it is suggested that the lru_cache()
offer an option to become type specific so that equal objects of different
typed don't get cached to the same entry.
Here's an example:
STINNER Victor victor.stin...@haypocalc.com added the comment:
I created the issue #13226 to provide RTLD_* constants on all platforms (not
only on Linux and sunos5).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12619
Brett Cannon br...@python.org added the comment:
And thanks for doing this, Antoine! One less thing on my never-ending
todo list. =)
On Mon, Oct 17, 2011 at 10:35, Antoine Pitrou rep...@bugs.python.org wrote:
Antoine Pitrou pit...@free.fr added the comment:
Should be fixed now. Thanks for
Nick Coghlan ncogh...@gmail.com added the comment:
Some further comments after getting back up to speed with the actual status of
this problem (i.e. that we had issues with the error checking and reporting in
the original 3.2 commit).
1. I agree with the position that the codecs module itself
Nick Coghlan ncogh...@gmail.com added the comment:
Oops, typo in my second error example. The command should be:
b'a'.decode('rot_13')
(Since str objects don't offer a decode() method any more)
--
___
Python tracker rep...@bugs.python.org
Changes by Jakub Wilk jw...@jwilk.net:
--
nosy: +jwilk
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13226
___
___
Python-bugs-list mailing list
STINNER Victor victor.stin...@haypocalc.com added the comment:
There are differents examples:
- LONG_MAX is 9223372036854775807 even on 32 bits system
- On Mac OS X, FAT programs contains 32 and 64 binaries, whereas
constants are changed for 32 or 64 bits
That's because the h2py.py
STINNER Victor victor.stin...@haypocalc.com added the comment:
*.encode('rot_13') == CodecLookupError
I like the idea of raising a lookup error on .encode/.decode if the codec is
not a classic text codec (like ASCII or UTF-8).
*.transform('ascii') == CodecLookupError
Same comment.
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 677e625e2ef1 by Victor Stinner in branch 'default':
Issue #13150: Add a comment in _sysconfigdata to explain the origin of this file
http://hg.python.org/cpython/rev/677e625e2ef1
--
Ezio Melotti ezio.melo...@gmail.com added the comment:
Here's a patch against 2.7. I rephrased the section a bit. If it's more
understandable I'll commit it.
--
assignee: docs@python - ezio.melotti
keywords: +patch
nosy: +ezio.melotti
stage: - commit review
versions: +Python 3.2,
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
Updated patch to include tests and an application to the re module.
--
Added file: http://bugs.python.org/file23475/typed_lru2.diff
___
Python tracker rep...@bugs.python.org
Nick Coghlan ncogh...@gmail.com added the comment:
On Thu, Oct 20, 2011 at 8:34 AM, STINNER Victor rep...@bugs.python.org wrote:
str.transform('bz2') == CodecLookupError
A lookup error is surprising here. It may be a TypeError instead. The bz2 can
be used with .transform, but not on str.
STINNER Victor victor.stin...@haypocalc.com added the comment:
FYI, in Debian we have at least:
one package using the CDROM module,
Is it cdsuite? (http://offog.org/code/cdsuite.html)
3 packages using the IN module,
I found policykit (it uses IN.INT_MAX). What are the 2 others? Which
Ezio Melotti ezio.melo...@gmail.com added the comment:
I don't think we need to mention that. Actually the tone of the whole
paragraph could be relaxed a bit, because it first says that any change
**will** break code (which is not true), except new semantic, obviously
(which is not true
Mark Hammond skippy.hamm...@gmail.com added the comment:
The first chunk of that patch is for when pythonhome==NULL. There is also a
similar block just under it when MS_WINDOWS is not defined. While I don't know
in which cases this will be built without that define, it looks as though the
STINNER Victor victor.stin...@haypocalc.com added the comment:
The patch doesn't update the doc. You may also test type(square(3)). Except of
these nits, the patch looks good.
The typed option is an important feature, and your patch contains a good
example of its usage (the re module).
STINNER Victor victor.stin...@haypocalc.com added the comment:
I think it may even make sense to build the filtering
options into codecs.lookup() itself:
def lookup(encoding, decoded_format=None, encoded_format=None):
info = _lookup(encoding) # The existing codec lookup algorithm
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13226
___
Giampaolo Rodola' g.rod...@gmail.com added the comment:
Indeed you were right.
Thanks.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13222
___
New submission from Ezio Melotti ezio.melo...@gmail.com:
Attached patch adds to the index page a list of 5 steps necessary to set up
Python and make a patch. These informations are currently scattered around a
few pages and many contributors are already familiar with Mercurial and the
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13125
___
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti -BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4733
___
___
Nick Coghlan ncogh...@gmail.com added the comment:
Features looks good, but the current patch doesn't handle keyword arguments
correctly (more details in the Reitveld review).
--
nosy: +ncoghlan
___
Python tracker rep...@bugs.python.org
Ezio Melotti ezio.melo...@gmail.com added the comment:
I'm not sure adding a strict option is a good idea. HTMLParser got a strict
argument and it's causing more problems than it solves. If another problem
comes up later we would either have to change the behavior for strict and break
code
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13227
___
Víctor Terrón quinta...@gmail.com added the comment:
FWIU, only the name of the method, getAnswer, would be a HTML link in the
self.getAnswer() line that pydoc should generate, while strong (highlighted)
text would be used for instance attributes.
I have written a patch for that, by checking
Ezio Melotti ezio.melo...@gmail.com added the comment:
Brian, can you still reproduce this?
I tried now with Python 3.3.0a0 (default:bfbe144986d7, Oct 20 2011, 04:35:19)
and I can see the message (same output posted by Benjamin).
If I run the test with python3.2 (i.e. Python 3.2 (r32:88445,
Nick Coghlan ncogh...@gmail.com added the comment:
I'm fine with people needing to drop down to the lower level lookup() API if
they want the filtering functionality in Python code. For most purposes,
constraining the expected codec input and output formats really isn't a major
issue - we
New submission from Nick Coghlan ncogh...@gmail.com:
I needed a depth-limited, filtered search of a directory tree recently and came
up with the following wrapper around os.walk that brings in a few niceties like
glob-style filtering, depth limiting and symlink traversal that is safe from
Brian Jones bkjo...@gmail.com added the comment:
I've just done a fresh hg pull and new build, and I can no longer reproduce the
problem. Yay!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12527
Ezio Melotti ezio.melo...@gmail.com added the comment:
OK, I will close the issue then.
Thanks for the quick reply!
--
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12527
Ezio Melotti ezio.melo...@gmail.com added the comment:
Christian Heimes wrote:
There is no generic and simple way to detect the encoding of a
remote site. Sometimes the encoding is mentioned in the HTTP header,
sometimes it's embedded in the head section of the HTML document.
FWIW for
Ezio Melotti ezio.melo...@gmail.com added the comment:
page.decode_content() might be a better name, and would avoid confusion with
the bytes.decode() method.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4733
Eric Snow ericsnowcurren...@gmail.com added the comment:
Per Ezio's and Stefan's feedback I cleaned things up a little:
* consolidated on Buildbot
* clarified the meaning of the standard development toolchain
* % changed to $
* cleaned up the network ports section
* removed a bunch of
Senthil Kumaran sent...@uthcode.com added the comment:
- page.encoding is a good idea.
- page.decode_content sounds definitely better than page.decode which can be
confusing as page is not a bytes object, but a file-like object.
I am thinking if an attribute to urlopen would be better? Not
New submission from Westley Martínez aniko...@gmail.com:
After running the uber test on the latest build of python (./python -bb -E -Wd
-m test -r -w -uall) I get one error:
==
ERROR: test_resources
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
components: +Tests
nosy: +alexis, eric.araujo, tarek
stage: - needs patch
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13230
Changes by Eric Snow ericsnowcurren...@gmail.com:
Added file: http://bugs.python.org/file23479/devguide-buildbots-2.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13124
___
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
Nick, Ezio, and Victor, thanks for looking at the code.
Here's an updated the patch:
* optimization for fast globals() are now keyword-only arguments
* now types the keyword values, not the key/values tuples
* expanded tests
*
Nick Coghlan ncogh...@gmail.com added the comment:
Looks good to me (although it took me longer than it should have to figure out
why you didn't need to store the keyword argument names a second time)
--
___
Python tracker rep...@bugs.python.org
101 - 148 of 148 matches
Mail list logo