New submission from rpointel pyt...@xiri.fr:
Hello,
on OpenBSD (arch: sparc), I got a SIGBUS error during the compilation.
gdb info:
#0 0x089f136c in listextend (self=0xb6232d8, b=0xb611060) at
/home/ports/pobj/Python-2.7.1/Python-2.7.1/Objects/listobject.c:838
838
kota nospam.kotarou.d...@gmail.com added the comment:
Ok. Time to get those people over at glib to fix up their python script then :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12648
Changes by Petri Lehtinen pe...@digip.org:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12631
___
___
Python-bugs-list
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
See also #12631 regarding the remove() method for bytearray.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12170
___
Petri Lehtinen pe...@digip.org added the comment:
See also #12631 regarding the remove() method for bytearray.
AFAICS, it's about bytearray.remove() working but bytearray.index() not working
as documented, and that's why I marked is as a duplicate of this issue.
--
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 42f40f53fd73 by Vinay Sajip in branch '2.7':
Closes #12667: Corrected documentation for SMTPHandler secure argument.
http://hg.python.org/cpython/rev/42f40f53fd73
New changeset ba5bd8c1ae27 by Vinay Sajip in branch
rpointel pyt...@xiri.fr added the comment:
This bug seems to be the same than 7424:
http://bugs.python.org/issue7424
Sorry I didn't seen it before.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12673
New submission from thp t...@thpinfo.com:
If I want to get help on a method on a built-in class (e.g. list or str) I can
use the help function in the interactive shell:
help(str.split)
help(list.append)
However, when I try to do the same with the command-line utility pydoc it
does not
Changes by R. David Murray rdmur...@bitdance.com:
--
resolution: - duplicate
stage: - committed/rejected
status: open - closed
superseder: - pydoc str works but not pydoc str.translate
type: - behavior
___
Python tracker rep...@bugs.python.org
Changes by R. David Murray rdmur...@bitdance.com:
--
resolution: - duplicate
stage: - committed/rejected
status: open - closed
superseder: - segmentation fault in listextend during install
___
Python tracker rep...@bugs.python.org
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 5d3e22d69d4f by Éric Araujo in branch '3.2':
Fix regression with distutils MANIFEST handing (#11104, #8688).
http://hg.python.org/cpython/rev/5d3e22d69d4f
--
nosy: +python-dev
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 313a71664781 by Éric Araujo in branch '3.2':
Let “make patchcheck” work for out-of-dir builds (#9860)
http://hg.python.org/cpython/rev/313a71664781
New changeset 5993f91598ce by Éric Araujo in branch 'default':
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 2b5a0c4e052b by Éric Araujo in branch '3.2':
Stop trying to write into the stdlib during lib2to3 tests (#12331).
http://hg.python.org/cpython/rev/2b5a0c4e052b
New changeset 7ee8f413188e by Éric Araujo in branch
Changes by rpointel pyt...@xiri.fr:
--
nosy: +rpointel
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7424
___
___
Python-bugs-list mailing list
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset a425408f1e52 by Éric Araujo in branch '2.7':
Stop trying to write into the stdlib during lib2to3 tests (#12331).
http://hg.python.org/cpython/rev/a425408f1e52
--
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 21feea7f35e5 by Éric Araujo in branch '2.7':
Fix regression with distutils MANIFEST handing (#11104, #8688).
http://hg.python.org/cpython/rev/21feea7f35e5
--
___
Python
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset bea11ce24bb0 by Éric Araujo in branch '2.7':
Let “make patchcheck” work for out-of-dir builds (#9860)
http://hg.python.org/cpython/rev/bea11ce24bb0
--
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
This is now fixed. Let me just eat these words: “This should not be too hard
to fix”.
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
I did some more work on the patch and committed. Thanks again to both of you.
I also thought again about this remark:
Changeset r83996 was introduced to prevent sdist from overwriting a
project maintained manifest by testing for a comment at
New submission from Gareth Rees g...@garethrees.org:
The tokenize module is happy to tokenize Python source code that the real
tokenizer would reject. Pretty much any instance where tokenizer.c returns
ERRORTOKEN will illustrate this feature. Here are some examples:
Python 3.3.0a0
New submission from Popa Claudiu pcmantic...@gmail.com:
There appears to be used a variable that is not defined in HTTPConnection.send
method. The approximate line is 781. How to reproduce:
import http.client
import urllib.parse
c = urllib.parse.urlencode({user:claudiu, password:1})
c =
Antoine Pitrou pit...@free.fr added the comment:
Some notes:
- By doing things this way, we lose the ability to specify custom arguments to
the interpreter with $(TESTPYTHONOPTS). Might this be a problem?
Yes, some buildbots use it. Can't you add support for it in the test
runner?
- The
Éric Araujo mer...@netwok.org added the comment:
It looks like “it” should be “data”.
--
assignee: - orsenthil
keywords: +easy
nosy: +eric.araujo, orsenthil
stage: - needs patch
versions: +Python 2.7, Python 3.3
___
Python tracker
R. David Murray rdmur...@bitdance.com added the comment:
I'm not familiar with the parser internals (I'm nosying someone who is), but I
suspect what you are seeing at the command line is the errors being caught at a
stage later than the tokenizer.
--
nosy: +benjamin.peterson,
Antoine Pitrou pit...@free.fr added the comment:
Vlad, thank you for the diagnosis.
Indeed by passing a different tagname (or no tagname at all), the problem
doesn't occur.
Since mmap.mmap() matches the semantics chosen by Microsoft here, I tend to
think this is not a bug; besides, fixing it
Éric Araujo mer...@netwok.org added the comment:
I propose that we just narrow the scope of this report. If you agree with my
earlier message, the current docs just need a few patches:
- How to prepare a text editor
- How to run Python code from a file (if the tutorial or using docs don’t
Antoine Pitrou pit...@free.fr added the comment:
As an aside, the quicktest would probably deserve an update.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11651
___
New submission from Sandro Tosi sandro.t...@gmail.com:
Hello, following up http://mail.python.org/pipermail/docs/2011-July/005235.html
here's 2 patch (for 3.3 + 3.2 and 2.7) to correct the orientation in the
documentation, using turtle.right instead of turtle.left, since the work
Changes by Sandro Tosi sandro.t...@gmail.com:
Added file: http://bugs.python.org/file22819/turtle_right-2.7.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12677
___
Nadeem Vawda nadeem.va...@gmail.com added the comment:
Some notes:
- By doing things this way, we lose the ability to specify custom arguments
to
the interpreter with $(TESTPYTHONOPTS). Might this be a problem?
Yes, some buildbots use it. Can't you add support for it in the test
Gareth Rees g...@garethrees.org added the comment:
These errors are generated directly by the tokenizer. In tokenizer.c, the
tokenizer generates ERRORTOKEN when it encounters something it can't tokenize.
This causes parsetok() in parsetok.c to stop tokenizing and return an error.
--
Antoine Pitrou pit...@free.fr added the comment:
As an aside, the quicktest would probably deserve an update.
How so? Should it perhaps use -u none?
No, I meant the list of tests that it disables.
--
___
Python tracker rep...@bugs.python.org
Nadeem Vawda nadeem.va...@gmail.com added the comment:
What changes do you suggest?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11651
___
___
Antoine Pitrou pit...@free.fr added the comment:
What changes do you suggest?
Not sure, I never use it. But test_concurrent_futures is not in the list
for example.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11651
Piotr Zolnierczuk piotr.zolnierc...@gmail.com added the comment:
OK. I will work around it.
I was using 'mapping object of a specified size that is backed by the system
paging file instead of by a file in the file system' - map-handle ==
INVALID_HANDLE_VALUE (-1), i.e. shared memory for
Éric Araujo mer...@netwok.org added the comment:
Patch looks good. I made a few very minor style comments on Rietveld (follow
the “review” link).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10087
Piotr Zolnierczuk piotr.zolnierc...@gmail.com added the comment:
Just looked into my partner C++ code and he's using it very much like in
Python 2.5:
m_obj-map_handle = CreateFileMapping (INVALID_HANDLE_VALUE,
NULL, PAGE_READWRITE,
Antoine Pitrou pit...@free.fr added the comment:
Note that multiprocessing can abstract this kind of things for you:
http://docs.python.org/library/multiprocessing#sharing-state-between-processes
http://docs.python.org/library/multiprocessing#module-multiprocessing.sharedctypes
--
Changes by Antoine Pitrou pit...@free.fr:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12562
___
___
Python-bugs-list
Benjamin Peterson benja...@python.org added the comment:
This should probably be fixed (patches welcome). However, note even with valid
Python code, the tokens are not the same.
--
___
Python tracker rep...@bugs.python.org
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
versions: +Python 2.7, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12675
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
stage: - test needed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12675
___
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 63bd8f42b511 by Éric Araujo in branch '3.2':
Fix resource warning when looking at turtledemo’s help (#12295)
http://hg.python.org/cpython/rev/63bd8f42b511
New changeset 7af576e3cb0c by Éric Araujo in branch
Changes by Éric Araujo mer...@netwok.org:
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12295
Nadeem Vawda nadeem.va...@gmail.com added the comment:
Updated patch attached.
Some notes:
- By doing things this way, we lose the ability to specify custom arguments
to
the interpreter with $(TESTPYTHONOPTS). Might this be a problem?
Yes, some buildbots use it. Can't you add support
Daniel Stutzbach stutzb...@google.com added the comment:
Could you add a comment above the lines defining self._BytesIO, describing why
they're being set? Someone else might see them as unnecessary and rip them out
if there's no explanation.
Can a test launch Python in a subprocess, set up
Changes by Eric Snow ericsnowcurren...@gmail.com:
--
nosy: +ericsnow
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12675
___
___
Python-bugs-list
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12676
___
___
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12676
___
___
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
keywords: +patch
Added file: http://bugs.python.org/file22821/issue12676_py33.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12676
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt
versions: +Python 3.3 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10395
___
Petri Lehtinen pe...@digip.org added the comment:
I looked at multiprocessing code, but didn't understand how to trigger a call
to these functions. Makes it hard to come up with a unit test...
Ben: Do you still remember how you stumbled upon this issue?
--
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
test_support fails in my environment, only when run from an installed Python,
due to permissions issues:
==
ERROR: test_forget (test.test_support.TestSupport)
Brandon Craig Rhodes bran...@rhodesmill.org added the comment:
Éric, I think your points are good ones. (And, as I return to this patch after
three months, I should thank the PSF for sponsoring the CPython sprint here at
PyOhio, and creating this opportunity for me to continue trying to land
Antoine Pitrou pit...@free.fr added the comment:
The latest patch looks ok to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11651
___
___
Brandon Craig Rhodes bran...@rhodesmill.org added the comment:
Éric, I think your suggestions are all good ones, and I have incorporated them
into the file. (But do note that the departures we are now making from Ned's
own copy of the tracer code — removing the commented-out debugging
Ben Darnell ben.darn...@gmail.com added the comment:
These functions are used when passing a socket object across a
multiprocessing.Queue.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11657
Alexander b3n...@yandex.ru added the comment:
It sounds like the early consensus on python-dev is that html5 support is a
good thing.
Yeah... But wait another 8 years untill these guys decides that there is enough
tests and other cool stuff.
--
Antoine Pitrou pit...@free.fr added the comment:
Yeah... But wait another 8 years untill these guys decides that
there is enough tests and other cool stuff.
Which guys are you talking about?
Granted, this issue has been around for a lng time... but now that we have
a patch that seems ok
Matt Basta bastaw...@gmail.com added the comment:
Seeing as everyone seems pretty satisfied with the 2.7 version, I'd be happy to
put together a patch for 3 as well.
To confirm, though, this fix is NOT going behind the strict parameter, correct?
--
Tiago Gonçalves tiagogoncal...@ua.pt added the comment:
I think that this time i have included almost every proposed changes.
For the unitTest I did not included the condition os.getuid() == 0 because of
this information in the Linux documentation 3.3 network security issues
(capabilities)
Eric Snow ericsnowcurren...@gmail.com added the comment:
You can already get the better prefix using os.path, albeit less efficiently.
Here's an example:
def commondirname(paths):
subpath = os.path.commonprefix(paths)
for path in paths:
if path == subpath:
return
Maxim Bublis b...@codemonkey.ru added the comment:
I've ran into the same problem with getfullargspec not supporting callables, so
I've written patch with docs and tests, that adds support for any Python
callable. As a result of getfullargspec's implementation change, getargspec
function also
Jason R. Coombs jar...@jaraco.com added the comment:
I've created a patch to address (1) and (2).
Is there any value in also including this in the 2to3 fixer? I can see that
it's a simple translation, but adds complexity to the converted code. I'd be
content to go with just a documentation
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset c68a80779434 by Nadeem Vawda in branch 'default':
Issue #11651: Move options for running tests into a Python script.
http://hg.python.org/cpython/rev/c68a80779434
--
___
Benjamin Peterson benja...@python.org added the comment:
I'm -0.5. I think the current patch makes too many assumptions for the caller.
For example, someone calling a class may really desire __new__'s signature, not
that of __init__. Moreover, conceptually, getargspec() returns the argspec of
Michael Foord mich...@voidspace.org.uk added the comment:
Right. For a callable object (instance with __call__ method), it's unambiguous
which signature you want. For a class it's ambiguous.
--
___
Python tracker rep...@bugs.python.org
Changes by Daniel Stutzbach stutzb...@google.com:
--
nosy: +stutzbach
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12612
___
___
Python-bugs-list
Maxim Bublis b...@codemonkey.ru added the comment:
Agree, support for __new__ or __init__ methods would add some ambiquity, so
i've decided to drop __init__ support from patch. Patch has been reuploaded.
--
Added file: http://bugs.python.org/file22826/inspect2.patch
New submission from Antoine Pitrou pit...@free.fr:
Seen on the buildbots, seems very recent:
http://www.python.org/dev/buildbot/all/builders/x86%20XP-5%202.7/builds/968
http://www.python.org/dev/buildbot/all/builders/x86%20XP-5%203.2/builds/440
Vlad Riscutia riscutiav...@gmail.com added the comment:
How come tokenizer module is not based on actual C tokenizer? Wouldn't that
make more sense (and prevent this kind of issues)?
--
nosy: +vladris
___
Python tracker rep...@bugs.python.org
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 1a978892a105 by Eli Bendersky in branch 'default':
Issue #11049: fix test_forget to work on installed Python, by using a temporary
module for import/forget
http://hg.python.org/cpython/rev/1a978892a105
--
Benjamin Peterson benja...@python.org added the comment:
tokenize has useful features that the builtin tokenizer does not possess such
as the NL token.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12675
Changes by Nadeem Vawda nadeem.va...@gmail.com:
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11651
___
74 matches
Mail list logo