Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 2d4ce2cdd6d4 by Terry Jan Reedy in branch '3.2':
#6528 None, True, False are keywords in 3.x. Patch by Roger Serwy.
http://hg.python.org/cpython/rev/2d4ce2cdd6d4
New changeset 522f07bfa067 by Terry Jan Reedy in
Terry J. Reedy tjre...@udel.edu added the comment:
I just realized that there is 'another' reason not to reuse builtin names
(other than those usually given): they will be colorized as builtins even if
they have no relation to the builtin. Make_pat uses the function any() defined
just above
Terry J. Reedy tjre...@udel.edu added the comment:
If there are any tests for Idle, I have not found them. No idlelib/test/, no
test/test_idle. There is a testcode.py with random code. I want to look at
tkinter/test/ someday to see if it has any models for testing Idle. Roger, do
you know of
Ezio Melotti ezio.melo...@gmail.com added the comment:
Now 2.7 uses Sphinx 1.0, but I think a full rebuild should be triggered in
order to update all the files.
Georg, can you do something about it?
--
___
Python tracker rep...@bugs.python.org
Ezio Melotti ezio.melo...@gmail.com added the comment:
If the patch works for you, I guess you can commit it; if tests can be added
too, that's even better.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13052
Boštjan Mejak bostjan.me...@gmail.com added the comment:
Found one little bug again in
http://docs.python.org/library/stdtypes.html#sequence-types-str-unicode-list-tuple-bytearray-buffer-xrange
Look at the table with the fields Operation, Result, Notes, and fix the fifth
record of the Result
Changes by Terry J. Reedy tjre...@udel.edu:
--
assignee: - terry.reedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6528
___
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ncoghlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2292
___
___
Python-bugs-list
Changes by Terry J. Reedy tjre...@udel.edu:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11906
___
___
Python-bugs-list
Terry J. Reedy tjre...@udel.edu added the comment:
'All Releases' rather than 'Everything else' is both more accurate and to me,
more graceful.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13122
Luis Marsano luis.mars...@gmail.com added the comment:
The README file implies support:
[⋮]
Build Instructions
--
On Unix, Linux, BSD, OSX, and Cygwin:
[⋮]
--
components: +Build -Installation
nosy: +Luis.Marsano
___
Python tracker
New submission from Nick Coghlan ncogh...@gmail.com:
Currently, there's no straightforward way to create new classes in Python that
delegate the PEP 3118 buffer APIs to another object that supports them (e.g.
bytes, bytearray, memoryview, array.array, a NumPy array).
I see a few possible ways
Changes by Nick Coghlan ncogh...@gmail.com:
--
dependencies: +Problems with Py_buffer management in memoryobject.c (and
elsewhere?)
title: Add a __buffer__ special method to retrieve a PEP 3118 object - Add a
Python level special method to retrieve a PEP 3118 object
Changes by Nick Coghlan ncogh...@gmail.com:
--
title: Add a Python level special method to retrieve a PEP 3118 object - Allow
objects implemented in pure Python to export PEP 3118 buffers
___
Python tracker rep...@bugs.python.org
Georg Brandl ge...@python.org added the comment:
A full rebuild should be done anyway next time the script runs.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13435
___
Georg Brandl ge...@python.org added the comment:
Would you care to explain why that change needs to be made?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13695
___
patrick vrijlandt patrick.vrijla...@gmail.com added the comment:
I agree the Element syntax is sometimes awkward.
But how would you represent text or tail attributes within this enhanced
element?
animal name=cat tail=yes comes to mind ...
--
nosy: +patrick.vrijlandt
Nick Coghlan ncogh...@gmail.com added the comment:
Reviewing Stefan's work on #10181 suggests to me that option 3 is the only
feasible approach.
(Allowing memoryview subclasses will permit types to pass their own state
between __getbuffer__ and __releasebuffer__)
--
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +benjamin.peterson
versions: +Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13793
___
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +benjamin.peterson
stage: test needed - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12705
___
New submission from Ramchandra Apte maniandra...@gmail.com:
If you paste code with multiple lines which are not in a block of code into the
IDLE Shell and press enter to run the code, only the first line of the code
gets executed and the rest of the code is ignored.
You can even put garbage
STINNER Victor victor.stin...@haypocalc.com added the comment:
The vulnerability is known since 2003 (Usenix 2003): read Denial of
Service via Algorithmic Complexity Attacks by Scott A. Crosby and Dan
S. Wallach.
http://www.cs.rice.edu/~scrosby/hash/CrosbyWallach_UsenixSec2003.pdf
This paper
New submission from Ramchandra Apte maniandra...@gmail.com:
base 16 should be hexadecimal in the Unicode HOWTO in both Python 2 and 3
docs.
--
assignee: docs@python
components: Documentation
messages: 151354
nosy: docs@python, ramchandra.apte
priority: normal
severity: normal
status:
R. David Murray rdmur...@bitdance.com added the comment:
Good point. That should be fixed. It should be empty format specification.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13790
Nick Coghlan ncogh...@gmail.com added the comment:
Added 10181 as a dependency - as noted in my review comments on that issue, I
think this becomes fairly trivial to fix (and test) given Stefan's other
improvements.
--
dependencies: +Problems with Py_buffer management in
R. David Murray rdmur...@bitdance.com added the comment:
Meaning you want to run the same test suite with a variety of different DB
connections? That seems like a reasonable use case.
Personally I find that while I sometimes create subclasses to adjust certain
class parameters (thus creating
Nick Coghlan ncogh...@gmail.com added the comment:
Finally reviewed Stefan's latest patch. It mostly looks great to me. Aside from
a few minor cosmetic quibbles, the only substantive change I would like is to
expose the Py_buffer len field as memoryview.size instead of memoryview.len
(to
R. David Murray rdmur...@bitdance.com added the comment:
Drat, the tracker lost my post. In summary, given a concrete use case (running
a test case with a variety of different DB connections) and the improved
readablility for the common case of just changing class constants in the
New submission from Ramchandra Apte maniandra...@gmail.com:
The Python 3 Docs don't highlight nonlocal such as in the code example in the
Python 3 documentation for itertools.zip_longest()
(http://docs.python.org/py3k/library/itertools.html)
--
messages: 151362
nosy: ramchandra.apte
Changes by Ramchandra Apte maniandra...@gmail.com:
--
title: The Python 3 Docs don't highlight nonlocal - The Python 3 Docs doesn't
highlight nonlocal
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13801
Changes by Ramchandra Apte maniandra...@gmail.com:
--
assignee: - docs@python
components: +Documentation
nosy: +docs@python
versions: +Python 3.1, Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13801
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti, georg.brandl
versions: -Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13801
___
Éric Araujo mer...@netwok.org added the comment:
Mark, would you like to work on a patch for this?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12600
___
Michael Foord mich...@voidspace.org.uk added the comment:
Why not create a simple TestCase factory in load_tests?
Before a patch can be produced a clean api that offers a clear benefit over the
TestCase factory needs to be proposed.
--
___
Python
Changes by Christian Häggström paj...@kalvdans.no-ip.org:
--
nosy: +chn
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6531
___
___
Justin Wehnes jweh...@gmail.com added the comment:
Nonlocal is highlighted under Language Reference under simple statements
section 6.13 (http://docs.python.org/dev/reference/index.html).
help(nonlocal) will also bring up the documentation (works for me in 3.3).
--
nosy: +jwehnes
Zbyszek Szmek zbys...@in.waw.pl added the comment:
Hi,
I think that the documentation is pretty clear ([if topdown=False] ... the
directories in dirnames have already been generated by the time dirnames itself
is generated). And such behaviour is what one would expect, since it is the
result
Éric Araujo mer...@netwok.org added the comment:
Not really. If you follow the link given in the first message and compare how
“is” and “nonlocal” are styled, you will see the bug. :)
I hope that Sphinx configures Pygments to use a Python3Lexer, not Python.
Georg?
--
nosy:
Justin Wehnes jweh...@gmail.com added the comment:
Ahh yes I see it. Sorry about that.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13801
___
Simon Sapin simon.sa...@kozea.fr added the comment:
heapq_merge_key_duplicate.patch is a new patch with two code path. It also
updates the function’s docstring (which the previous patch did not). Raymond,
do you think the speed is worth the DRY violation?
--
Added file:
Antoine Pitrou pit...@free.fr added the comment:
However, the generated (files? and) dirs do not necessarily reflect the
current situation as produced by os.listdir.
What do you mean exactly? Another process has re-created b in parallel?
This race condition is pretty impossible to solve in
Benjamin Peterson benja...@python.org added the comment:
Normalizing the string in getattr() is unacceptable. We'll just have to
document, that all identifiers are in NFKC.
--
___
Python tracker rep...@bugs.python.org
Changes by Zbyszek Szmek zbys...@in.waw.pl:
--
nosy: +zbysz
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1692335
___
___
Python-bugs-list mailing
Meador Inge mead...@gmail.com added the comment:
LGTM. Thanks for fixing this.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13665
___
___
Benjamin Peterson benja...@python.org added the comment:
I think an exception is fine, but it should only happen in 3.3.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12705
___
Benjamin Peterson benja...@python.org added the comment:
The problem was until very recently, pygments omitted the nonlocal keyword. We
probably need to wait for another pygments release.
--
nosy: +benjamin.peterson
___
Python tracker
patrick vrijlandt patrick.vrijla...@gmail.com added the comment:
The documentation of this function is generally ambiguous, because os.walk is a
generator. Thus generate means (1) yielded from a generator and (2) prepared
for later use within the generator. To avoid the ambiguity, generate
Pedro Andres Aranda Gutierrez paag...@gmail.com added the comment:
Touché :-)
I was just frustrated because my XMLs never have tail or text as
attributes and I wanted to have more compact code...
On Mon, Jan 16, 2012 at 12:14 PM, patrick vrijlandt
rep...@bugs.python.org wrote:
patrick
Éric Araujo mer...@netwok.org added the comment:
Please review.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12415
___
___
Python-bugs-list
Changes by Éric Araujo mer...@netwok.org:
Added file: http://bugs.python.org/file24249/metadoc-where-are-the-sources.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12415
___
Eric V. Smith e...@trueblade.com added the comment:
Changing to a documentation issue.
--
assignee: eric.smith - docs@python
components: +Documentation -Interpreter Core
keywords: +easy
nosy: +docs@python
versions: +Python 2.7
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
Copied from #13712:
[I]
Problem is that the setup.cfg syntax does not define how to give more than one
value. If it’s judged acceptable to disallow paths with embedded spaces, we
could do something like this:
[files]
package_data =
spam =
Éric Araujo mer...@netwok.org added the comment:
Glad my action plan worked :)
There are now obsolete entries in the Doc/tools/sphinxext/susp-ignored.csv
file: All lines starting with “documenting” can be removed.
--
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
(To clarify quotes in my message: First is a copied message from me, marked
[I], then one form Erik, and the last paragraph is me again. Sleep good,
should get more of that.)
--
___
Python tracker
Brett Cannon br...@python.org added the comment:
Sorry, been busy. I will definitely get to it this week.
On Sun, Jan 15, 2012 at 19:58, Berker Peksag rep...@bugs.python.org wrote:
Berker Peksag berker.pek...@gmail.com added the comment:
Hi Brett, did you have a chance to review the patch
Jason R. Coombs jar...@jaraco.com added the comment:
While this may in fact be related to #6727, I don't believe it's a proper
duplicate. I believe there's a more fundamental issue that's causing both #6727
and #13412, and that's that stat/wstat is broken on Windows due to a regression
in the
Éric Araujo mer...@netwok.org added the comment:
FTR it looks like
http://mail.python.org/pipermail/python-list/2009-January/1188084.html was the
original report for this.
--
___
Python tracker rep...@bugs.python.org
Zbyszek Szmek zbys...@in.waw.pl added the comment:
The documentation of this function is generally ambiguous, because
os.walk is a generator. Thus generate means (1) yielded from a
generator and (2) prepared for later use within the generator. To avoid
the ambiguity, generate should be
Zbyszek Szmek zbys...@in.waw.pl added the comment:
os.makedirs('/tmp/a/b/c')
gen = os.walk('/tmp/a')
next(gen)
('/tmp/a', ['b'], [])
os.makedirs('/tmp/a/b2')
next(gen)
('/tmp/a/b', ['c'], [])
next(gen)
('/tmp/a/b/c', [], [])
gen = os.walk('/tmp/a', onerror=print)
next(gen)
('/tmp/a',
Éric Araujo mer...@netwok.org added the comment:
Thank you for making a patch. I’ve been busy and could not find time to look
at it, but after I add a testing machinery for scripts like pygettext I will
look into this.
--
assignee: docs@python -
dependencies: +Add tests for some
Éric Araujo mer...@netwok.org added the comment:
IMO, now that two official releases of Python 3 have shipped with this behavior
(3.1 and 3.2), it is too late to think about changing what datetime.__format__
does, and we should merely document that it is the same as strftime.
--
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 9935f7837c4b by Brett Cannon in branch 'default':
Issue #13588: Rename decorators in importlib.
http://hg.python.org/cpython/rev/9935f7837c4b
--
nosy: +python-dev
___
Brett Cannon br...@python.org added the comment:
Thanks for the patch, Berker! It's all committed.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13588
___
Zbyszek Szmek zbys...@in.waw.pl added the comment:
Does this need need more discussion, code review, testing, or just more time?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13609
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 7167c04780ed by Sandro Tosi in branch '2.7':
Issue: #12409: remove obsolete susp-entries
http://hg.python.org/cpython/rev/7167c04780ed
New changeset 153e32333aaa by Sandro Tosi in branch '3.2':
Issue: #12409: remove
Sandro Tosi sandro.t...@gmail.com added the comment:
Éric, thanks for spotting it: removed.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12409
___
Changes by Jason R. Coombs jar...@jaraco.com:
--
hgrepos: +104
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6727
___
___
Python-bugs-list mailing
Changes by Jason R. Coombs jar...@jaraco.com:
Added file: http://bugs.python.org/file24250/4aaf78f0dd10.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6727
___
Jason R. Coombs jar...@jaraco.com added the comment:
4aaf78f0dd10.diff is the same patch as that for 2.7 but ported to 3.1.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6727
___
Antoine Pitrou pit...@free.fr added the comment:
There seem to be two issues at play here:
- the atexit module (and its companion helper _Py_PyAtExit()) doesn't know
about sub-interpreters.
- PyState_FindModule() doesn't know about sub-interpreters either, because the
m_index field (which
Antoine Pitrou pit...@free.fr added the comment:
Hmm, it seems I may be mistaken about the second point. m_index is actually
generated such that all modules end up in the same position in the
interpreters' respective modules_by_index lists. Sorry.
--
Changes by Meador Inge mead...@gmail.com:
--
nosy: +meador.inge
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12705
___
___
Python-bugs-list
Boštjan Mejak bostjan.me...@gmail.com added the comment:
I guess you're reffering to the i'th -- i-th thing.
I found numerous occasions on the Internet that say like n-th element blah
blah blah, not n'th element...
So I guess writting this thing as i-th would be correct here, too.
Roger Serwy roger.se...@gmail.com added the comment:
This is a duplicate of #3559.
--
nosy: +serwy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13798
___
Roger Serwy roger.se...@gmail.com added the comment:
I'm not aware of any formal tests for IDLE. Can you show me the docs for
writing proper unit tests? I'll see if I can write one for this.
--
___
Python tracker rep...@bugs.python.org
R. David Murray rdmur...@bitdance.com added the comment:
Maybe we could add a recipe for doing this to the load_tests docs?
I don't think that load_tests is going to be more readable, though, since it
doesn't allow you to put the parameterization next to the class you are
parameterizing
Eric Snow ericsnowcurren...@gmail.com added the comment:
The vulnerability is known since 2003 (Usenix 2003): read Denial of
Service via Algorithmic Complexity Attacks by Scott A. Crosby and Dan
S. Wallach.
Crosby started a meaningful thread on python-dev at that time similar to the
current
Changes by Sandro Tosi sandro.t...@gmail.com:
--
nosy: +sandro.tosi
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13801
___
___
Python-bugs-list
Changes by Jason R. Coombs jar...@jaraco.com:
--
hgrepos: +105
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6727
___
___
Python-bugs-list mailing
Changes by Jason R. Coombs jar...@jaraco.com:
Added file: http://bugs.python.org/file24251/4fdbc9f74235.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6727
___
Marc-Andre Lemburg m...@egenix.com added the comment:
Eric Snow wrote:
Eric Snow ericsnowcurren...@gmail.com added the comment:
The vulnerability is known since 2003 (Usenix 2003): read Denial of
Service via Algorithmic Complexity Attacks by Scott A. Crosby and Dan
S. Wallach.
Crosby
Jason R. Coombs jar...@jaraco.com added the comment:
I ported the patch to the 3.2 branch. This port required more extensive
adjustments. In particular, the NullImporter no longer used (char *) for
directory detection, but instead used platform-specific PyObjects.
Therefore, the 3.2 diff
Georg Brandl ge...@python.org added the comment:
numerous occasions is not good enough. Why not let a native speaker decide?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13695
___
Jim Jewett jimjjew...@gmail.com added the comment:
Why is normalization in getattr unacceptable? I won't pretend to *like* it,
but the difference between two canonically equal strings really is (by
definition) just a representational issue.
Would it be OK to normalize in object's own
Sandro Tosi sandro.t...@gmail.com added the comment:
that looks ok to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12415
___
___
Benjamin Peterson benja...@python.org added the comment:
Because it's (very) expensive and the method you propose would fail in the case
that someone had put the normalized and unnormalized string in the object's
__dict__.
--
___
Python tracker
Terry J. Reedy tjre...@udel.edu added the comment:
The library manual has chapters for
unittest: the generic testing framework (package) that any app can use
test: a package with the Python test suite; test_x tests module x
It has other modules and subpackages, probably not all documented.
Mark Diekhans ma...@kermodei.com added the comment:
R. David Murray rdmur...@bitdance.com added the comment:
Meaning you want to run the same test suite with a variety of
different DB connections? That seems like a reasonable use
case.
This is for external parameterization of a test to
Changes by Berker Peksag berker.pek...@gmail.com:
Added file: http://bugs.python.org/file24252/issue13641_v3_with_tests.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13641
___
Changes by Berker Peksag berker.pek...@gmail.com:
--
nosy: +berkerpeksag
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13165
___
___
Antoine Pitrou pit...@free.fr added the comment:
The macros should be named PyDelta_XXX, as PyDelta_Check and friend.
Otherwise, makes sense.
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13727
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
I named them following the other accessor macros: PyDateTime_TIME_GET_HOUR(),
even though the check function is named PyTime_Check().
Which inconsistency do you prefer? :)
--
___
Python
Antoine Pitrou pit...@free.fr added the comment:
Ow. Then I don't mind :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13727
___
___
Changes by Berker Peksag berker.pek...@gmail.com:
--
nosy: +berkerpeksag
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11695
___
___
Terry J. Reedy tjre...@udel.edu added the comment:
The current indentation is a consequent of using tabs for indents.
Changing that is the subject of #7676.
#1196946 is a similar issue.
--
nosy: +terry.reedy
resolution: - duplicate
status: open - closed
superseder: - IDLE shell
Nadeem Vawda nadeem.va...@gmail.com added the comment:
For 3.x, I think that ignoring non-string names is a reasonable fix. The docs
for io.FileIO specify that its name attribute can be either a path or an integer
file descriptor, and changing this doesn't seem to serve any purpose.
As for the
New submission from Terry J. Reedy tjre...@udel.edu:
In the Fonts/Tabs tab of the IDLE Preference dialog, the large box for examples
of the font selected shows a small square of ascii chars. I think the box
should also show 1 char for each of several alphabets so the consequence of
choosing
Jim Jewett jimjjew...@gmail.com added the comment:
The URL got mangled in at least my browser, so I'm repasting it on its own line:
http://svn.python.org/projects/sandbox/trunk/stringbench
--
nosy: +Jim.Jewett
___
Python tracker
R. David Murray rdmur...@bitdance.com added the comment:
That's not the kind of parameterization this ticket is about, though. You are
talking about passing data in to a test run from the command line (or other
source), which is a different issue (though the implementations might share
some
Changes by Eric Snow ericsnowcurren...@gmail.com:
--
nosy: +eric.snow
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6531
___
___
Python-bugs-list
1 - 100 of 115 matches
Mail list logo