Ned Deily added the comment:
From the backtrace it shows you are linking with the Apple-supplied Tk
(/System/Library/Frameworks/Tk.framework/Versions/8.5/Tk) framework. The
Apple-supplied Tk 8.5 in OS X 10.6 was the first release of the Cocoa Aqua Tk.
It has proven to be unusable with Python
Mark Dickinson added the comment:
New patch: move new test to the correct test class.
--
Added file: http://bugs.python.org/file28103/issue16546_v2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16546
Serhiy Storchaka added the comment:
Patch updated. The converters declaration moved to the new file
Modules/posixmodule.h (Modules/grpmodule.c, Modules/posixmodule.c,
Modules/pwdmodule.c, and Modules/signalmodule.c use it) and the implementation
moved to Modules/posixmodule.c.
--
Mark Dickinson added the comment:
Closing as won't fix.
--
resolution: - wont fix
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16483
___
Serhiy Storchaka added the comment:
The value -1 is used is some functions like chown() (to only change the
user, only the group or none, to check if you are allowed or not). How do
you handle this value?
Yes, there is a special case for -1. Look at the code.
--
Nick Coghlan added the comment:
Right, aside from my recent revamp, much of the existing layout of the types
section has been inherited from the pre-new style classes days when you
*couldn't* inherit from types, and strings were the only one with a non-trivial
number of methods.
Rearranging
Nick Coghlan added the comment:
The simpler approach Chris has taken here (i.e. just leaving the string methods
separate from the class definition) also works.
Patch looks good to me - I'm definitely in favour of moving towards a more
consistent approach of having the builtin function
Mark Dickinson added the comment:
Here's a patch for the documentation and tests.
--
keywords: +patch
Added file: http://bugs.python.org/file28105/issue16339.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16339
Changes by Mark Dickinson dicki...@gmail.com:
Added file: http://bugs.python.org/file28106/issue16339.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16339
___
Changes by Mark Dickinson dicki...@gmail.com:
Removed file: http://bugs.python.org/file28105/issue16339.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16339
___
Mark Dickinson added the comment:
Should this be closed as a duplicate of issue #13557?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8824
___
Changes by Mark Dickinson dicki...@gmail.com:
--
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16339
___
___
Mark Dickinson added the comment:
Updated patch: adds in the missing checks for PyMem_Malloc errors.
--
Added file: http://bugs.python.org/file28107/random_seed_metd2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16496
Mark Dickinson added the comment:
Updated patch: drops mention of backwards compatibility, since that's not so
useful (thanks, Ezio!). Adds note about resemblance to Python 3 code.
--
Added file: http://bugs.python.org/file28108/issue16339_v2.patch
Mark Dickinson added the comment:
Rewording the sentence about Python 3.
--
Added file: http://bugs.python.org/file28109/issue16339_v3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16339
New submission from Serhiy Storchaka:
This issue inspired by issue12848. The proposed patch get rid of the marshal
module (the struct module used instead), removes some redundant code, and
changes the code to use more modern idioms.
--
components: Library (Lib)
files:
New submission from Serhiy Storchaka:
Since issue12848 some lengths in pickle module treated as unsigned, however
pyckletools module treats all 32-bit lengths as signed. The proposed patch adds
support of unsigned 32-bit lengths.
--
components: Library (Lib)
files:
Jyrki Pulliainen added the comment:
I rebased this change on top of 3.4 and in case of an iterable argument it now
uses the _convert_names function to convert it to a list of test names.
--
Added file: http://bugs.python.org/file28112/issue15132_py3_v2.patch
Changes by Jyrki Pulliainen jy...@dywypi.org:
Removed file: http://bugs.python.org/file27681/issue15132_py2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15132
___
Ramchandra Apte added the comment:
+1 on exception
--
nosy: +ramchandra.apte
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16548
___
___
Serhiy Storchaka added the comment:
I don't think the code should fixed. You can use separators=(',', ': ') with
indentation. Perhaps the documentation should contains such suggestion.
--
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset fd9c9579050d by Mark Dickinson in branch '2.7':
Issue #16339: Document and test exec(stmt, globals, locals) form in Python 2.7.
http://hg.python.org/cpython/rev/fd9c9579050d
--
nosy: +python-dev
___
Changes by Mark Dickinson dicki...@gmail.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16339
___
Serhiy Storchaka added the comment:
Here is a simple patch.
--
keywords: +patch
nosy: +serhiy.storchaka
versions: +Python 3.4 -Python 3.1
Added file: http://bugs.python.org/file28113/json_tool_open.patch
___
Python tracker rep...@bugs.python.org
anatoly techtonik added the comment:
Would you mind providing some counter-arguments?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16333
___
Mark Dickinson added the comment:
-1 on an exception. This would be a backwards-incompatible API change, so
could only happen in Python 3.4. os.system is well documented, including a
recommendation to use the subprocess module instead.
Reclassifying as a feature request, since this isn't a
anatoly techtonik added the comment:
Trailing whitespace produce visual warnings in diff comparison tools. If you
have to read docs on how fix every piece of code that produces readable JSON to
avoid this warnings, it is a very-very bad user experience.
The argument that by default the output
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
assignee: - ezio.melotti
nosy: +ezio.melotti
stage: needs patch - test needed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16549
___
anatoly techtonik added the comment:
+1 for all branches.
Is that handling of booleans PEPified somewhere?
--
nosy: +techtonik
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4945
___
Mark Dickinson added the comment:
Closing as fixed (for the C version, at least).
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14478
___
Ramchandra Apte added the comment:
Buuump.
--
nosy: +ramchandra.apte
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1569040
___
___
Changes by Ramchandra Apte maniandra...@gmail.com:
--
components: +Library (Lib) -Regular Expressions
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2537
___
Benjamin Peterson added the comment:
This issue hasn't been touched in years and would certainly need a completely
new patch.
--
resolution: - rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Ramchandra Apte added the comment:
Beemp.
--
nosy: +ramchandra.apte
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3410
___
___
Python-bugs-list
Ezio Melotti added the comment:
I couldn't find a non-English Windows machine to test this, so I'm just going
to close it. Feel free to reopen it or create a new issue if there are other
problems.
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
Roundup Robot added the comment:
New changeset ffb2fa900cb7 by Mark Dickinson in branch '3.3':
Issue #16546: make ast.YieldFrom argument mandatory.
http://hg.python.org/cpython/rev/ffb2fa900cb7
New changeset 9bc6e157475a by Mark Dickinson in branch 'default':
Issue #16546: merge fix from 3.3
Georg Brandl added the comment:
It would be a new feature, and as such forbidden to add in maintenance releases.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1286
___
Changes by Mark Dickinson dicki...@gmail.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16546
___
Changes by Vinay Sajip vinay_sa...@yahoo.co.uk:
--
assignee: - vinay.sajip
nosy: +vinay.sajip
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16521
___
Changes by Mark Dickinson dicki...@gmail.com:
--
nosy: -mark.dickinson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2537
___
___
Serhiy Storchaka added the comment:
What you think about default separators will be (', ', ': ') if indent is None
and (',', ': ') if indent is not None? This will allow indent options be
human-friendly and keep the flexibility to specify arbitrary separators if they
needed.
--
Roundup Robot added the comment:
New changeset d7660ccd8470 by Vinay Sajip in branch '3.2':
Closes #16521: Improved error handling for basicConfig(), added tests for same.
http://hg.python.org/cpython/rev/d7660ccd8470
New changeset 4b522a1c9c27 by Vinay Sajip in branch '3.3':
Null merge for fix
Changes by Mark Dickinson dicki...@gmail.com:
--
versions: -Python 2.6, Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9011
___
___
Berker Peksag added the comment:
Lib/json/tool.py is triggering a ResourceWarning.
Patch attached with a test.
--
nosy: +berker.peksag
Added file: http://bugs.python.org/file28114/issue16549.diff
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
Tests added. They fail until issue16333 will be resolved.
--
Added file: http://bugs.python.org/file28115/json_tool_tests.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16549
Serhiy Storchaka added the comment:
Oops. This issue becomes very popular.
--
dependencies: +Trailing whitespace in json dump when using indent
stage: test needed - patch review
___
Python tracker rep...@bugs.python.org
Catalin Iacob added the comment:
I tried Serhiy's suggestion in msg174934, see attached
attempt-fseek-seek_cur.patch updated to current default. It makes no difference
relative to the default branch for my test stdlib.zip, dummy reads still work
better on Windows.
This makes sense if you
Changes by Catalin Iacob iacobcata...@gmail.com:
Added file: http://bugs.python.org/file28117/zipimport-speedup-v3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8745
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
components: +Regular Expressions
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2537
___
___
Mark Dickinson added the comment:
New patch.
--
assignee: - mark.dickinson
Added file: http://bugs.python.org/file28118/issue9011_v2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9011
Berker Peksag added the comment:
The bug has been fixed in issue 7211.
Related changeset: http://hg.python.org/cpython/rev/f89a93a778a8#l4.63
See the output of kevent-repr-test.py(tested in 3.2.3 and 3.3.0):
select.kevent ident=1 filter=-1 flags=0x1 fflags=0x0 data=0x0 udata=0x0
I think
Serhiy Storchaka added the comment:
Actually most proposed changes were already committed, only the documentation
left. Here is an updated and fixed patch for 3.x.
--
components: +Documentation -Library (Lib)
nosy: +serhiy.storchaka
versions: +Python 3.4
Added file:
Changes by Serhiy Storchaka storch...@gmail.com:
Added file: http://bugs.python.org/file28120/json_doc_truefalse-2.7.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4945
___
Catalin Iacob added the comment:
Václav, are you sure about the official python27.dll being linked against
msvcrt.dll? Maybe this is your own python27.dll compiled with MinGW?
I see the opposite: for both C:\windows\system32\python27.dll (64 bit) and
c:\windows\SysWOW64\python27.dll (32 bit)
Ezio Melotti added the comment:
See also #15201.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16543
___
___
Python-bugs-list mailing list
Serhiy Storchaka added the comment:
The proposed patch changes default *separators* value to (',', ': ') if
*indent* is not None.
--
Added file:
http://bugs.python.org/file28121/json_indent_separators_default.patch
___
Python tracker
Sebastian Kraft added the comment:
Attached to this mail you find my patch for the implementation of support for
8, 16, 24, 32 bit signed int PCM and 32, 64 bit float.
24bit on big endian systems is buggy, but this will be reported in another
ticket.
The modified test checks all number
Roundup Robot added the comment:
New changeset ea36de7926f8 by Mark Dickinson in branch '2.7':
Issue #9011: AST creation no longer modifies CST for negated numeric literals.
http://hg.python.org/cpython/rev/ea36de7926f8
--
nosy: +python-dev
___
Changes by Mark Dickinson dicki...@gmail.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9011
___
Serhiy Storchaka added the comment:
So this patch is a workaround for poor fseek performance in Microsoft's CRT,
it doesn't cause performance issues on Linux but saves quite some
milliseconds of startup time so I think it's worth the tradeoff.
I think some clarifying comments will be good
Chris Jerdonek added the comment:
The simpler approach Chris has taken here (i.e. just leaving the string
methods separate from the class definition) also works.
Yes, though I mentioned nesting the string methods beneath the class entry in
the original post for this issue, I figured we
Serhiy Storchaka added the comment:
Berker and me wrote the different tests. I were add a separate test file
because json.tool should not be tested for both C and Python implementation and
because json tests already splitted on many files. Berker tests using json.tool
as a filter. Both tests
Serhiy Storchaka added the comment:
Here is a merged tests.
--
Added file: http://bugs.python.org/file28123/json_tool_tests_2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16549
___
Changes by Mark Dickinson dicki...@gmail.com:
--
resolution: - duplicate
status: open - closed
superseder: - exec of list comprehension fails on NameError
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8824
Chris Jerdonek added the comment:
Updating patch to fix up affected/related index entries.
--
Added file: http://bugs.python.org/file28124/issue-16209-2-default.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16209
Chris Jerdonek added the comment:
To clarify, I didn't say that _convert_names() should be used. I was just
noting that it returns a list.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15132
Serhiy Storchaka added the comment:
I am not sure, should this issue be closed as rejected because the suggested
patch for Lib/wave.py was rejected, or as fixed because Georg was committed
the documentation patch (changeset 8239ec6f39e6) for this issue?
--
nosy: +serhiy.storchaka
Terry J. Reedy added the comment:
I suggested more change here than I committed in #13557. I would like to think
about the extra a bit more. The issue about def in exec just came up again on
python-list, but I do not really like the third sentence I suggested.
--
assignee: docs@python
Mark Dickinson added the comment:
Okay; sorry about that. Reopening.
--
resolution: duplicate -
status: closed - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8824
___
Serhiy Storchaka added the comment:
I added some comments on Rietveld.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6584
___
___
New submission from Chris Jerdonek:
The docs for os.path.abspath(), os.path.basename(), and os.path.dirname():
http://docs.python.org/dev/library/os.path.html#os.path.abspath
should hyperlink to os.path.normpath() and os.path.split() as appropriate for
easier navigability.
--
New submission from yop:
tested on 2.7.3 with -R or stock 3.3, the following:
OrderedDict(foo=0,bar=0).keys()
is nondeterminstic as a result of hash randomization.
probably since **kwds creates a dict.
what is the proper idiom for constructing an ordered-key
dictionary other then (ugly,
Benjamin Peterson added the comment:
It's random anyway, since keyword arguments have no order.
You can use a tuple.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16553
___
Changes by Benjamin Peterson benja...@python.org:
--
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16553
___
Georg Brandl added the comment:
I say fixed: there was a bug (undocumented, but correct behavior) and that
was fixed.
--
resolution: rejected - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10855
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: - committed/rejected
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10855
___
___
New submission from Daniel Urban:
The description of the argument of the MAKE_FUNCTION and MAKE_CLOSURE opcodes
in the documentation of the dis module is incorrect. Patch attached.
--
assignee: docs@python
components: Documentation
files: make_function_closure.patch
keywords: needs
Jyrki Pulliainen added the comment:
Yeah, I added the convert names call mostly to make the behavior the same as
with passing things from command line.
However, then we should probably wrap the case of str argument to _convert_name
and the conversion behavior might be bit too implicit.
I
Changes by Jyrki Pulliainen jy...@dywypi.org:
Added file: http://bugs.python.org/file28126/issue15132_py3_no_convert.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15132
___
Changes by Leiser Fernández Gallo leise...@gmail.com:
--
components: Library (Lib)
nosy: Leiser.Fernández.Gallo
priority: normal
severity: normal
status: open
title: Add es_cu to locale library.
versions: Python 2.7
___
Python tracker
New submission from Berker Peksag:
Python 2.7 is in bugfix-only mode.
--
nosy: +berker.peksag
versions: +Python 3.4 -Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16555
___
New submission from Taavi Burns:
The documentation says **kwds instead of **kwargs, which is what the
function signature uses.
I noticed some other (internally-consistent) occurrences in string.rst. Is
there any interest in replacing **kwds generally with **kwargs? It looks
like 327 vs 932
Roundup Robot added the comment:
New changeset 580ca5c587f6 by Chris Jerdonek in branch '2.7':
Add hyperlinks to the docs of some os.path functions (issue #16552).
http://hg.python.org/cpython/rev/580ca5c587f6
New changeset cde59c6acf98 by Chris Jerdonek in branch '3.2':
Add hyperlinks to the
Changes by Chris Jerdonek chris.jerdo...@gmail.com:
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16552
Éric Araujo added the comment:
Could you expand on the feature request? The Python locale module delegates to
the operating system’s locale system; to the best of my knowledge there is no
registry of locale names at the Python level.
--
nosy: +eric.araujo
Éric Araujo added the comment:
Hello Taavi! It seems to me there is little value in changing all docs to use
“**kwargs” instead of “**kwds”, given that this cannot cause actual problems.
The interesting thing is that the function takes keyword args.
For string.Formatter.vformat, I see no
Éric Araujo added the comment:
I think it’s Terry who has an enlightening distinction between arguments
definition (positional-or-keyword, positional-only, keyword-only, starargs,
starkwargs) and function call (positional, keyword, *-unpacked, **-unpacked).
It may have been Nick or David
Éric Araujo added the comment:
Thanks for the workaround Serhiy, I stole that and ran with it :)
For 3.4 I still think something built-in would be best.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16535
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +chris.jerdonek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12217
___
___
Python-bugs-list
Éric Araujo added the comment:
cycle was a bad example, but there are other: ifilter, islice, takewhile. it
(like what tee uses) instead of seq would work.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15472
Taavi Burns added the comment:
The issue of churn is totally fair.
I'd still advocate for the attached patch, as it's tiny and fixes an
inconsistency between the function signature and the docs that are referring to
that signature.
Thanks!
--
___
91 matches
Mail list logo