Petri Lehtinen pe...@digip.org added the comment:
It appears the Python 3.2 docs no longer include documentation for URLError
Both URLError and HTTPError are documented in 3.2 and 3.3:
http://docs.python.org/py3k/library/urllib.error.html#urllib.error.URLError
Charles-François Natali neolo...@free.fr added the comment:
I would prefer to keep the shared prefix even if we move functions to a new
module. Python refers usually to the C documentation for the details of a
function. If we rename a function, it becomes more difficult to get the
manual
Yuval Greenfield ubershme...@gmail.com added the comment:
I use python a lot with Hebrew and many websites have internationalization
which may involve unicode paths. I agree that saying unicode paths are rare
is inaccurate.
If the current situation isn't fixed though - you just can't use the
Ezio Melotti ezio.melo...@gmail.com added the comment:
It would be fine for me to rename os.sched_get_priority_max() to
os.sched.get_priority_max().
os.sched.sched_get_priority_max() is a bit redundant, and I think it's not to
difficult to figure out that os.sched.get_priority_max()
New submission from Nick Coghlan ncogh...@gmail.com:
I just got bitten by the singularly unhelpful results of doing
inspect.getsource(generator_context_manager).
Now that @functools.wraps adds the __wrapped__ attribute, perhaps
inspect.getsource(f) should follow the wrapper chain by default?
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
stage: - needs patch
type: - feature request
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13266
___
Nick Coghlan ncogh...@gmail.com added the comment:
After a little thought, I think the explicit unwrap function is the only
viable approach. Doing the unwrapping implicitly just has too many nasty corner
cases to track down to ensure we aren't losing existing functionality.
I'd also suggest
Yuval Greenfield ubershme...@gmail.com added the comment:
Another option btw is to use utf-16, which will work but it's a bit ugly as
well:
os.listdir(os.path.abspath(u'.').encode('utf-16'))
[]
os.path.abspath(u'.')
u'C:\\Users\\alon\\Desktop\\\u05e9\u05dc\u05d5\u05dd'
New submission from Petri Lehtinen pe...@digip.org:
This has been discussed in python-ideas approx. two years ago:
http://mail.python.org/pipermail/python-ideas/2009-December/006635.html
It seems to me that having an opt-in command-line option, environment variable
and sys variable to disable
Atsuo Ishimoto ishim...@gembook.org added the comment:
On Wed, Oct 26, 2011 at 3:36 PM, Yuval Greenfield
rep...@bugs.python.org wrote:
If the current situation isn't fixed though - you just can't use the
resulting path for almost anything. Do you have a use case Ishimoto?
I don't have use
Nick Coghlan ncogh...@gmail.com added the comment:
This feature is unnecessary now that PEP 3147 has been adopted. The way it
works in 3.2+ is that orphaned bytecode files inside __pycache__ are always
ignored, while bytecode files that live directly in the source directories are
always
Jason R. Coombs jar...@jaraco.com added the comment:
I scanned through the libs for Python 2.7, 3.2, and 3.3 and there is no
construction of HTTPError that does not pass a string for msg. I believe it
would be reasonable to alias reason to msg. I'll put together the changesets.
--
Yuval Greenfield ubershme...@gmail.com added the comment:
It won't break existing code. Ignoring this problem here only moves the
exception to whenever the data returned is first used.
Any code this fix breaks is already broken.
--
___
Python
STINNER Victor victor.stin...@haypocalc.com added the comment:
Yuval Greenfield ubershme...@gmail.com added the comment:
Another option btw is to use utf-16
UTF-8, UTF-16 or any encoding different than the ANSI code page are not an
option. The Windows bytes API expect filenames encoded to
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 0b4df6701c4d by Nick Coghlan in branch '2.7':
Issue #13237: further updates to subprocess documentation
http://hg.python.org/cpython/rev/0b4df6701c4d
--
___
Python
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset f445c125aca3 by Nick Coghlan in branch '2.7':
Issue #13237: remove some details that only apply to the 3.x version of this
module and cross reference the relocated warning about the dangers of invoking
the shell
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
title: Assertion failed in _PyUnicode_CheckConsistency during build of default
branch on Mac OS X - llvm-gcc-4.2 miscompiles Python (XCode 4.1+ on Mac OS
10.7)
___
Python tracker
Nick Coghlan ncogh...@gmail.com added the comment:
Absent any further feedback, I think I'm done with the changes to the 2.7
subprocess docs. I'll let them sit for a few days, then do the forward port to
3.2 and default.
There are a couple of additional changes I'll add to the 3.x versions:
-
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 5dfe6d7f7c61 by Nick Coghlan in branch '2.7':
Issue #13237: fix typo
http://hg.python.org/cpython/rev/5dfe6d7f7c61
--
___
Python tracker rep...@bugs.python.org
STINNER Victor victor.stin...@haypocalc.com added the comment:
I asked for more information about llvm-gcc on IRC (#llvm). Extracts:
- llvm-gcc is not maintained. (Clang and DragonEgg are.) Apple is the
maintainer of Apple's version of llvm-gcc and clang.
- Apple ships a [llvm-gcc] branch at
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13266
___
___
Python-bugs-list
Changes by Jesús Cea Avión j...@jcea.es:
--
hgrepos: +86
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6397
___
___
Python-bugs-list mailing list
Changes by Jesús Cea Avión j...@jcea.es:
--
keywords: +patch
Added file: http://bugs.python.org/file23524/d014fd90a487.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6397
___
Changes by Jesús Cea Avión j...@jcea.es:
Removed file: http://bugs.python.org/file23524/d014fd90a487.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6397
___
New submission from Alexander Myodov amyo...@gmail.com:
The extended version of assert statement has a strange violation of documented
behaviour.
According to the
http://docs.python.org/reference/simple_stmts.html#the-assert-statement,
assert expression1, expression2 should be equivalent to
New submission from Jesús Cea Avión j...@jcea.es:
Remote hg repo accepts remote branches, but the devguide says that the patch
must be in default branch.
Update the docs.
I take care of this.
--
assignee: jcea
keywords: easy
messages: 146435
nosy: jcea
priority: normal
severity:
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
components: +Distutils
nosy: +eric.araujo, ezio.melotti
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13269
___
Éric Araujo mer...@netwok.org added the comment:
I take care of this.
Okay, as long as you don’t use Git terminology like “remote” :)
--
components: +Devguide -Distutils
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13269
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 7fbd2fe8c13c by Jesus Cea in branch 'default':
Close #13269: Document that Remote hg repo accepts remote branches
http://hg.python.org/devguide/rev/7fbd2fe8c13c
--
nosy: +python-dev
resolution: - fixed
Jesús Cea Avión j...@jcea.es added the comment:
Eric, the original text says:
The Create Patch button will then compute a diff for the head revision of the
remote branch, and attach the diff to the issue.
^^
:-)
--
___
Python tracker
Jesús Cea Avión j...@jcea.es added the comment:
Eric, the original text says:
The Create Patch button will then compute a diff for the head revision of the
**remote** branch, and attach the diff to the issue.
:-)
--
___
Python tracker
Changes by Jesús Cea Avión j...@jcea.es:
--
Removed message: http://bugs.python.org/msg146438
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13269
___
Éric Araujo mer...@netwok.org added the comment:
Actually I think this bug can be fixed in distutils.
--
components: +Distutils
keywords: +easy
resolution: remind -
stage: - needs patch
type: feature request - behavior
versions: +Python 2.7, Python 3.2, Python 3.3
Changes by Alexander Myodov amyo...@gmail.com:
--
title: assert - assert statement violates the documentation
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13268
___
Éric Araujo mer...@netwok.org added the comment:
anikom15, can you give me a URI to download the OS you used? I don’t know when
I’ll be able to download Windows, but surely a linux-using OS will take less
space and time to download and install in a VM.
--
Éric Araujo mer...@netwok.org added the comment:
I want to review the doc, but lack time right now. For example, one function
signature in your patch uses keyword-only arguments but 2.7 doesn’t support
them.
--
___
Python tracker
Nadeem Vawda nadeem.va...@gmail.com added the comment:
I've been able to consistently reproduce the test_resources failure on Ubuntu
11.10 64-bit, FWIW.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13193
Ned Deily n...@acm.org added the comment:
Haypo, the OP has a workaround. IMO, we should not be making any
recommendations about which Apple compiler to use on OS X 10.7 until we have
completed test cycles of each. There are too many variables at the moment. I
am doing that and should have
Changes by Jesús Cea Avión j...@jcea.es:
Added file: http://bugs.python.org/file23525/6ea157b9d110.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6397
___
Changes by Amirouche Boubekki amirouche.boube...@gmail.com:
--
nosy: +abki
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12657
___
___
Changes by Daniel Urban urban.dani...@gmail.com:
--
nosy: +durban
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13266
___
___
Python-bugs-list
Changes by Amirouche Boubekki amirouche.boube...@gmail.com:
--
nosy: +abki
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4945
___
___
Changes by Jesús Cea Avión j...@jcea.es:
Removed file: http://bugs.python.org/file23525/6ea157b9d110.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6397
___
Changes by Jesús Cea Avión j...@jcea.es:
Added file: http://bugs.python.org/file23526/0ee4386d8f51.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6397
___
Jesús Cea Avión j...@jcea.es added the comment:
First version of the patch. Review 0ee4386d8f51.diff
http://bugs.python.org/file23526/0ee4386d8f51.diff
Details:
1. Current code aliases devpoll in platforms with /dev/poll (Solaris and
derivatives). Considering all the other points, I think
Changes by Jesús Cea Avión j...@jcea.es:
--
keywords: +needs review
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6397
___
Peter Eisentraut pete...@gmx.net added the comment:
Attached is a test file. The key here is that I'm running the unittest suite
inside of a long-running server process, so there is no predictable point of
exit and cleanup. Therefore, the steps I show at the end of the file should be
run in
Changes by Petri Lehtinen pe...@digip.org:
--
components: +Interpreter Core
nosy: +petri.lehtinen
versions: -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13268
___
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
versions: +Python 3.3 -Python 2.6, Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4945
___
Petri Lehtinen pe...@digip.org added the comment:
It seems this cannot be achieved the same way in 2.7 as the traceback is not
directly associated with the exception. However, if we're currently in an
exception handler and sys.exc_info() corresponds to the exception passed to
Ned Deily n...@acm.org added the comment:
With a current 3.3 build (i.e. wide build) on OS X, I can reproduce this. It
causes an exception on the execution of that command in the IDLE shell but it
doesn't crash IDLE. Not surprisingly, it doesn't seem to be reproducible with
3.2 narrow
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset e0499b2b28aa by Petri Lehtinen in branch '2.7':
Issue #10860: Skip the new test if HTTPS is not available
http://hg.python.org/cpython/rev/e0499b2b28aa
New changeset a3939c2f6727 by Petri Lehtinen in branch '3.2':
Santoso Wijaya santoso.wij...@gmail.com added the comment:
Unicode environment vars work properly in Python 3.x on Windows, too, because
the convertenviron() function in posixmodule.c uses extern _wenviron
PyUnicode_FromWideChar() in Python 3.x. In Python 2.7, convertenviron() uses
extern
Terry J. Reedy tjre...@udel.edu added the comment:
Yuval, you are assuming that *no one* who uses the os byte APIs on Windows is
either checking for '?' in returned paths or catching later exceptions. With
Google code search, I did find one instance where someone tests paths for '?'
after
Xavier de Gaye xdeg...@gmail.com added the comment:
I am not marking 'test needed' since the problem is 'hardly reproducible'.
The attached script named 'asyncore_epipe.py' may be used to reproduce
systematically the EPIPE error on linux with Python 3.2:
* the Reader closes the socket
Vetoshkin Nikita nikita.vetosh...@gmail.com added the comment:
added some tests (not sure if in appropriate place).
--
Added file: http://bugs.python.org/file23529/issue_8036_1.patch
___
Python tracker rep...@bugs.python.org
Nick Coghlan ncogh...@gmail.com added the comment:
That's deliberate, as I'm only showing a selected subset of the full
signature at that point and using the subprocess API's with positional
arguments would lead to almost incomprehensible code. I'm not in any great
hurry to forward port though,
New submission from Florent Xicluna florent.xicl...@gmail.com:
these last references to old/new classes should be dropped.
See patch.
--
assignee: docs@python
components: Documentation
files: all_classes_belong_to_new_style.diff
keywords: patch
messages: 146455
nosy: docs@python, flox
Westley Martínez aniko...@gmail.com added the comment:
http://www.archlinux.org/download/
It's a minimalist distribution but if you read through the install guide or
beginner's guide you'll be fine.
--
___
Python tracker rep...@bugs.python.org
Jesús Cea Avión j...@jcea.es added the comment:
I have decided to segregate select.devpoll to a separate object, like
select.epoll.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6397
___
New submission from Joshua Chia joshc...@gmail.com:
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'),
Jesús Cea Avión j...@jcea.es added the comment:
Solved points 1, 3 and 4.
2 will be solved with the documentation.
5 and 6 still pending.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6397
Changes by Jesús Cea Avión j...@jcea.es:
Removed file: http://bugs.python.org/file23526/0ee4386d8f51.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6397
___
Changes by Jesús Cea Avión j...@jcea.es:
Added file: http://bugs.python.org/file23531/6becc4e3eece.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6397
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
Python 2 uses byte strings. If characters are not encodable to the ANSI code
page, Windows replaces them by question marks. See the issue #13247 for another
example (in Python 3 when using explicitly the bytes API). To be able to
Changes by Jesús Cea Avión j...@jcea.es:
Removed file: http://bugs.python.org/file23531/6becc4e3eece.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6397
___
Changes by Jesús Cea Avión j...@jcea.es:
Added file: http://bugs.python.org/file23532/0b701eb5e9e3.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6397
___
Jesús Cea Avión j...@jcea.es added the comment:
Documentation added. That solves 2 and 5.
I still have to solve 6.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6397
___
Changes by Jesús Cea Avión j...@jcea.es:
--
title: Implementing Solaris poll in the select module - Implementing
Solaris /dev/poll in the select module
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6397
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 2cad20e2e588 by Victor Stinner in branch 'default':
Close #13247: Add cp65001 codec, the Windows UTF-8 (CP_UTF8)
http://hg.python.org/cpython/rev/2cad20e2e588
--
nosy: +python-dev
resolution: - fixed
stage:
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 0eac706d82d1 by Victor Stinner in branch 'default':
Fix the issue number of my cp65001 commit: 13247 = issue #13216
http://hg.python.org/cpython/rev/0eac706d82d1
--
nosy: +python-dev
STINNER Victor victor.stin...@haypocalc.com added the comment:
New changeset 2cad20e2e588 by Victor Stinner in branch 'default':
Close #13247: Add cp65001 codec, the Windows UTF-8 (CP_UTF8)
http://hg.python.org/cpython/rev/2cad20e2e588
--
resolution: - fixed
status: open - closed
STINNER Victor victor.stin...@haypocalc.com added the comment:
Oops, I specified the wrong issue number in my changeset 2cad20e2e588, it's the
issue #13216.
--
resolution: fixed -
status: closed - open
___
Python tracker rep...@bugs.python.org
STINNER Victor victor.stin...@haypocalc.com added the comment:
Lib/encodings/cp65001.py uses a little trick to mark the codec as specific to
Windows:
-
if not hasattr(codecs, 'code_page_encode'):
raise LookupError(cp65001 encoding is only available on Windows)
STINNER Victor victor.stin...@haypocalc.com added the comment:
I added a cp65001 codec to Python 3.3: see issue #13216.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6058
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
I added a cp65001 codec to Python 3.3: see issue #13216.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12281
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
I added a cp65001 codec to Python 3.3: see issue #13216. So Python will not
crash anymore if the console code page is set to cp65001.
--
___
Python tracker rep...@bugs.python.org
STINNER Victor victor.stin...@haypocalc.com added the comment:
I added a cp65001 codec to Python 3.3: see issue #13216. So Python will not
crash anymore if the console code page is set to cp65001.
--
nosy: +haypo
___
Python tracker
STINNER Victor victor.stin...@haypocalc.com added the comment:
I added a cp65001 codec to Python 3.3: see issue #13216.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1602
___
Changes by Eric V. Smith e...@trueblade.com:
--
nosy: +bethard, eric.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13271
___
___
Ezio Melotti ezio.melo...@gmail.com added the comment:
I think Éric is referring to the foo(bar, *, baz=None) syntax. In 2.7 you can
drop the '*' and still leave only the keyword arguments that you think are more
useful.
I also see that you converted a few examples to use shell=True, but
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13268
___
Alister Cordiner acordi...@gmail.com added the comment:
I think that workaround should be:
if not hasattr(threading.current_thread(), _children):
threading.current_thread()._children = weakref.WeakKeyDictionary()
--
nosy: +acordiner
___
Python
83 matches
Mail list logo