Armin Rigo added the comment:
Just a side note for 2.7: could I recommend people to be really extra, extra
careful when changing what kind of regexps are accepted and what kind of
regexps are outright rejected? I believe the risk of making long-existing and
working 2.7 programs suddenly
Stefan Behnel added the comment:
I gave the implementation a try and attached an incomplete patch. Some tests
are failing.
It turns out that it's not entirely easy to do this. As Antoine noticed, the
hack in the C implementation of the TreeBuilder makes it tricky to integrate
with other
Serhiy Storchaka added the comment:
Serhiy, yup, that regexp is slow, but it does finish - so the engine is doing
something to avoid _unbounded_ repetitive matching of an empty string.
Yes, it finish, but it has exponential computation complexity. Increase the
length of the string to 21,
Serhiy Storchaka added the comment:
2.7.x is a minor version, not 2.7. We fixed Unicode issues in Python 2 bugfixes
many times.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18695
___
New submission from Serhiy Storchaka:
Here is a patch which removes PY_VERSION_HEX checks in
Modules/_ctypes/_ctypes.c, Modules/_sre.c, Objects/stringlib/unicodedefs.h and
removes the Modules/_sqlite/sqlitecompat.h file.
_sre.c checks support Python versions 2.2, 2.2 or 1.6 which doesn't made
New submission from Serhiy Storchaka:
Some tests in Python testsuite are silently skipped if requirements is not
satisfied. The proposed patch adds explicit skipUnless() and raise
SkipTest() so that these tests now reported as skipped.
I.e. the code like
if not condition:
def
Changes by Eli Bendersky eli...@gmail.com:
--
resolution: - invalid
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18268
___
Roundup Robot added the comment:
New changeset f55ba27776d4 by Eli Bendersky in branch '3.3':
Issue #18668: Further clarify m_size setting for non-negative values
http://hg.python.org/cpython/rev/f55ba27776d4
New changeset d43435e82e21 by Eli Bendersky in branch 'default':
Issue #18668: Further
A. Jesse Jiryu Davis added the comment:
Bump.
I think my most recent patch (August 4) addresses all of Charles-François's
comments.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18418
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17909
___
___
Roundup Robot added the comment:
New changeset dd0d751cc7f1 by Christian Heimes in branch 'default':
Issue #16400: Add command line option for isolated mode.
http://hg.python.org/cpython/rev/dd0d751cc7f1
--
___
Python tracker rep...@bugs.python.org
Changes by Richard Oudkerk shibt...@gmail.com:
Added file: http://bugs.python.org/file31214/c7aa0005f231.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8713
___
Roundup Robot added the comment:
New changeset 06c39789061e by Christian Heimes in branch 'default':
typo, changeset dd0d751cc7f1 belongs to issue #16499 not issue #16400
http://hg.python.org/cpython/rev/06c39789061e
--
nosy: +python-dev
___
Python
Roundup Robot added the comment:
New changeset 06c39789061e by Christian Heimes in branch 'default':
typo, changeset dd0d751cc7f1 belongs to issue #16499 not issue #16400
http://hg.python.org/cpython/rev/06c39789061e
--
___
Python tracker
Richard Oudkerk added the comment:
The forkserver process is now started using _posixsubprocess.fork_exec(). This
should fix the order dependent problem mentioned before.
Also the forkserver tests are now reenabled on OSX.
--
___
Python tracker
Changes by Christian Heimes li...@cheimes.de:
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16499
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
stage: test needed - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18504
___
Roundup Robot added the comment:
New changeset 8a060e2de608 by Eli Bendersky in branch 'default':
Issue #15651: PEP 3121 refactoring for _elementtree
http://hg.python.org/cpython/rev/8a060e2de608
--
nosy: +python-dev
___
Python tracker
Eli Bendersky added the comment:
Antoine, I committed your patch (with a bit of comments added), *leaving the
module caching in*. This is because removing it breaks the tests,
unfortunately. The _elementtree tests are so crooked that they manage to create
a situation in which the module under
Roundup Robot added the comment:
New changeset ab8da1936297 by Ezio Melotti in branch '3.3':
#18483: add one more date format in test_http2time_formats. Patch by Vajrasky
Kok.
http://hg.python.org/cpython/rev/ab8da1936297
New changeset 5c3708f23351 by Ezio Melotti in branch 'default':
#18483:
Ezio Melotti added the comment:
Fixed, thanks for the report and the patch!
--
assignee: - ezio.melotti
nosy: +ezio.melotti
resolution: - fixed
stage: - committed/rejected
status: open - closed
type: - enhancement
versions: +Python 3.3
___
Python
Roundup Robot added the comment:
New changeset fe5d105eba4b by Ezio Melotti in branch '3.3':
#18484: improve test coverage of http.cookiejar. Patch by Vajrasky Kok.
http://hg.python.org/cpython/rev/fe5d105eba4b
New changeset 7bf1f8892df5 by Ezio Melotti in branch 'default':
#18484: merge with
Ezio Melotti added the comment:
Fixed, thanks for the patch!
--
assignee: - ezio.melotti
nosy: +ezio.melotti
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
type: - enhancement
versions: +Python 3.3
___
Python
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18466
___
Roundup Robot added the comment:
New changeset 4daa18b5ad49 by Ezio Melotti in branch '3.3':
#18465: fix unused variables in test_minidom. Patch by Vajrasky Kok.
http://hg.python.org/cpython/rev/4daa18b5ad49
New changeset 47770b408321 by Ezio Melotti in branch 'default':
#18465: merge with
Ezio Melotti added the comment:
Fixed, thanks for the report and the patch!
--
assignee: - ezio.melotti
nosy: +ezio.melotti
resolution: - fixed
stage: - committed/rejected
status: open - closed
type: - enhancement
versions: +Python 3.3
___
Python
Roundup Robot added the comment:
New changeset 28c756093a63 by Ezio Melotti in branch '3.3':
#18453: fix unused variables in test_xmlrpc. Patch by Vajrasky Kok.
http://hg.python.org/cpython/rev/28c756093a63
New changeset 9f7581816890 by Ezio Melotti in branch 'default':
#18453: merge with 3.3.
Ezio Melotti added the comment:
Fixed, thanks for the report and the patch!
--
assignee: - ezio.melotti
nosy: +ezio.melotti
resolution: - fixed
stage: - committed/rejected
status: open - closed
type: - enhancement
versions: +Python 3.3
___
Python
Ezio Melotti added the comment:
Fixed in 168f6ac90abf (3.3) and 40ef5ce25d08 (default).
Thanks for the report!
--
assignee: docs@python - ezio.melotti
nosy: +ezio.melotti
resolution: - fixed
stage: - committed/rejected
status: open - closed
type: - enhancement
versions: +Python 3.3
Ezio Melotti added the comment:
You can do
sys.stdout.buffer.write(bhello)
Note that this might not work when sys.stdout has been replaced with something
else (e.g. a StringIO).
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
Larry Hastings added the comment:
Here's a patch for trunk. It's essentially what salinger wrote, but as a patch
file so it works for review.
I poked around a little to make sure we weren't going to have another baffling
situation like fchmodat. AFAICT, nope, it's fine, it's as simple as
Larry Hastings added the comment:
And here's a patch for 3.3. I should have mentioned--both these patches pass
the same tests as an unmodified trunk. So I think it's just ready to go in.
--
Added file: http://bugs.python.org/file31216/larry.have_fchownat.3.3.patch.1.txt
Roundup Robot added the comment:
New changeset 53d54503fc06 by Ezio Melotti in branch '3.3':
#18505: fix duplicate name and remove duplicate test. Patch by Vajrasky Kok.
http://hg.python.org/cpython/rev/53d54503fc06
New changeset cb0fba5c7828 by Ezio Melotti in branch 'default':
#18505: merge
Ezio Melotti added the comment:
Fixed, thanks for the report and the patch!
--
assignee: - ezio.melotti
nosy: +ezio.melotti
resolution: - fixed
stage: - committed/rejected
status: open - closed
type: - enhancement
versions: +Python 3.3
___
Python
Ezio Melotti added the comment:
Agreed, closing.
--
nosy: +ezio.melotti
resolution: - invalid
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18696
Tim Golden added the comment:
I attach a patch against 3.3; this is substantially Dave Chambers' original
patch with a trivial test added and a doc change. This means that HKCR is
scanned to determine extensions and these will override anything in the
mimetypes db. The doc change highlights
Roundup Robot added the comment:
New changeset bc49e82ee013 by R David Murray in branch '3.3':
#8112: Update the documenting xmlrpc server to use getfullargspec.
http://hg.python.org/cpython/rev/bc49e82ee013
New changeset 69e515209fa9 by R David Murray in branch 'default':
Merge #8112: Update
R. David Murray added the comment:
Thanks, Claudio.
--
resolution: - fixed
stage: test needed - committed/rejected
status: open - closed
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8112
Changes by R. David Murray rdmur...@bitdance.com:
--
Removed message: http://bugs.python.org/msg194816
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8112
___
R. David Murray added the comment:
Thanks, Popa.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8112
___
___
Python-bugs-list mailing list
Vinay Sajip added the comment:
I suggest that the declarative configuration approach of
logging.config.dictConfig() be used for configurations which can't be handled
by basicConfig().
I don't propose to enhance the Handler API as suggested, as at the very least
every handler would need to be
Roundup Robot added the comment:
New changeset 80b65aa2d579 by Ezio Melotti in branch '3.3':
#18681: Fix a NameError in imp.reload() (noticed by Weizhao Li).
http://hg.python.org/cpython/rev/80b65aa2d579
New changeset 6bee7f1061e0 by Ezio Melotti in branch 'default':
#18681: merge with 3.3.
Ezio Melotti added the comment:
Fixed, thanks for the report!
--
assignee: - ezio.melotti
nosy: +ezio.melotti
resolution: - fixed
stage: - committed/rejected
status: open - closed
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18652
___
___
Ezio Melotti added the comment:
IMHO that part should not suggest to use lambdas as small functions, so I would
drop the example with adder/print_assign and the discussion about lambdas vs
defs (the example that uses defs can stay), and keep the rest (from the
reduce example).
--
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
type: behavior - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18646
___
Antoine Pitrou added the comment:
Antoine, I committed your patch (with a bit of comments added),
*leaving the module caching in*.
Thanks!
A longer term solution to all this will be
http://mail.python.org/pipermail/python-dev/2013-August/127766.html -
I want to eventually run all
Tim Peters added the comment:
Serhiy, yes, I know the regexp you gave takes exponential time. But:
1. This appears to have nothing to do with repeated 0-length matches. I gave
you an example of a very similar regexp that also takes exponential time, but
never makes any 0-length sub-match.
New submission from madan ram:
Qt 4.5 upwards is licensed under the LGPL license; also, commercial licenses
are available from Nokia.
Since new version of Qt 5 is realsed and Licenced under Digia.
So i am fixing this issue .
i am going to write it as
PyQt5 is licensed on all platforms
Changes by madan ram madan_...@rocketmail.com:
--
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18703
___
___
Changes by madan ram madan_...@rocketmail.com:
Removed file: http://bugs.python.org/file31218/gui.rst
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18703
___
Changes by madan ram madan_...@rocketmail.com:
--
keywords: +patch
Added file: http://bugs.python.org/file31219/mywork.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18703
___
Changes by madan ram madan_...@rocketmail.com:
--
nosy: +aleax, eric.araujo, ezio.melotti, georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18703
___
Serhiy Storchaka added the comment:
2. Matthew said that Python's engine is not robust against _unbounded_
repeated matching of an empty sub-match, and so That's the reason for the
up-front check. I was asking for an example of _that_ behavior. I still
haven't seen one.
Perhaps Matthew
Tim Peters added the comment:
So does anyone believe this check serves a useful purpose _now_? Doesn't seem
so to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18647
___
Brett Cannon added the comment:
I'm sure it's an oversight.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18698
___
___
Python-bugs-list
Roundup Robot added the comment:
New changeset ae1a7c420f08 by Ethan Furman in branch 'default':
Close #18264: int- and float-derived enums now converted to int or float.
http://hg.python.org/cpython/rev/ae1a7c420f08
--
nosy: +python-dev
resolution: - fixed
stage: patch review -
Brett Cannon added the comment:
I'm currently leaning towards having sys.path_importer_cache store the actual
directory name.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18416
___
Roundup Robot added the comment:
New changeset 5d417257748e by Ethan Furman in branch 'default':
Close #18693: __dir__ removed from Enum; help() now helpful.
http://hg.python.org/cpython/rev/5d417257748e
--
nosy: +python-dev
resolution: - fixed
stage: - committed/rejected
status: open
Eric Snow added the comment:
I'm currently leaning towards having sys.path_importer_cache store
the actual directory name.
Makes sense to me. It the problem that sys.path will still have '' in it and
it may be hard to figure out what it means (and how it maps to
sys.path_importer_cache)?
R. David Murray added the comment:
It seems to me (having checked) that the current language is correct. The fact
that PyQt5 is available under the GPL isn't really relevant to the FAQ as it
currently exists (it doesn't mention the GPL anywhere else). Keep in mind that
Python's license is
Roundup Robot added the comment:
New changeset 453b4f89a2b4 by Terry Jan Reedy in branch '2.7':
Issue #18226: Add docstrings and unittests for idlelib/FormatParagraph.py.
http://hg.python.org/cpython/rev/453b4f89a2b4
New changeset bfdb687ca485 by Terry Jan Reedy in branch '3.3':
Issue #18226:
Eli Bendersky added the comment:
Less than two days passed since this issue was opened. No waiting for feedback?
No patch? No code review?
Maybe there's another solution? Personally I find dir() often more useful than
help(). Maybe help() can be adapted to behave nicely for classes with
Eli Bendersky added the comment:
On Sat, Aug 10, 2013 at 10:38 AM, Antoine Pitrou rep...@bugs.python.orgwrote:
Antoine Pitrou added the comment:
Antoine, I committed your patch (with a bit of comments added),
*leaving the module caching in*.
Thanks!
A longer term solution to all
Terry J. Reedy added the comment:
Unless there is a buildbot problem, further enhancements of either file will be
part of #18583
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
superseder: - Idle: enhance FormatParagraph
Antoine Pitrou added the comment:
If we want to stress test module unloading and reloading, let's have
specific, targeted tests for that.
Agreed.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15651
Phil Webster added the comment:
As suggested by Ezio, I factored out the button tests to a common method.
--
Added file: http://bugs.python.org/file31220/test_searchdialogbase2.patch
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset 841984e96df6 by Terry Jan Reedy in branch '2.7':
Issue #18429: Add user-oriented News entry about Format / Format Paragraph
http://hg.python.org/cpython/rev/841984e96df6
New changeset 9eea6401b892 by Terry Jan Reedy in branch '3.3':
Issue #18429:
Changes by Terry J. Reedy tjre...@udel.edu:
--
assignee: docs@python - terry.reedy
nosy: +terry.reedy
stage: - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18676
___
Nick Coghlan added the comment:
It seems to me that by *not* doing that, we may have a bug if the cwd changes
and the import machinery returns a stateful importer that remembers the path
name. Using the actual filesystem path for everything other than sys.path
sounds like a much better
New submission from R. Jayakrishnan:
This is to create an IDLE extension that would integrate PEP8 (Syntax Style
Checker https://pypi.python.org/pypi/pep8 ) into the IDLE editor window,so the
developer who is using the IDLE editor can quickly and frequently check the
PEP8 standards of the
Antoine Pitrou added the comment:
The first two patches (_tkinter_pep3121-384_v0.patch and
_tkinter_pep3121-384_v1.patch) seemed to have the refcounts right, but Andrew's
further patches lost the required Py_INCREF in the various new() functions (and
the corresponding Py_DECREF in deallocs),
Changes by R. Jayakrishnan raaj...@gmail.com:
--
nosy: +Todd.Rovito
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18704
___
___
Python-bugs-list
Roundup Robot added the comment:
New changeset 4d0c938870bc by Antoine Pitrou in branch 'default':
Fix refcounting issue with extension types in tkinter.
http://hg.python.org/cpython/rev/4d0c938870bc
--
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset 1edff836c954 by Antoine Pitrou in branch 'default':
Issue #10241: Clear extension module dict copies at interpreter shutdown.
http://hg.python.org/cpython/rev/1edff836c954
--
___
Python tracker
Antoine Pitrou added the comment:
Re-applied patch after having fixed the tkinter issue.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10241
___
Roundup Robot added the comment:
New changeset 737b53ec5d1a by Terry Jan Reedy in branch '2.7':
Issue #18676: Change 'positive' to 'non-negative' in queue.py put and get
http://hg.python.org/cpython/rev/737b53ec5d1a
New changeset 2122d56d6bc5 by Terry Jan Reedy in branch '3.3':
Issue #18676:
Terry J. Reedy added the comment:
Zhongyue, we merge 3.x patches forward (currently 3.3 to 3.4) so only one patch
is usually needed unless the differences are non-trivial. It is easier if
different version patches are tagged with the version in the filename.('-27',
for instance.
If you think
James Sanders added the comment:
I recently got hit by this bug on 64-bit ubuntu 13.04, with python 3.3.1 and
tcl/tk 8.5.13 installed from the Ubuntu repositories. However, I tried
building the same versions of tcl, tk, and python locally, and couldn't
reproduce the bug. I also built python
Terry J. Reedy added the comment:
I am not able to reproduce any problem on Win 7 with either recent 2.7.6a0
(repository) or 3.3.2. Nothing happens if I click on [File] or anywhere else
outside of the entry box or [_]...[X] window buttons. Please give the signin
info such as Python 2.7.5+
New submission from Févry Thibault:
In issue 18466 I had said I was planning to write a tool that checks python
source code to see if they are spelling mistakes in comments/strings. As it was
said there, the big issue was the fact that python has so many non-english
words and that docstrings
Févry Thibault added the comment:
Note that I am not a very good python programmer so the attached script may
look ugly to you, but it works.
--
versions: +Python 3.3
Added file: http://bugs.python.org/file31224/spell.py
___
Python tracker
Févry Thibault added the comment:
And here is a python_words.txt so you have to press enter less times :)
--
Added file: http://bugs.python.org/file31225/python_words.txt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18705
Févry Thibault added the comment:
See issue 18705 for a basic script.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18466
___
___
New submission from Antoine Pitrou:
Since issue #18681, the following test sequence fails:
./python -m test -v test_codecencodings_kr test_imp test_codeccallbacks
[...]
==
ERROR: test_xmlcharnamereplace
Eli Bendersky added the comment:
Found some problems in the interaction of PEP 3121 and import_fresh_module:
http://mail.python.org/pipermail/python-dev/2013-August/127862.html
I'd still like to see the in-PyInit__elementtree caching deleted eventually,
without harming test coverage. So this
Eli Bendersky added the comment:
BTW, Antoine, w.r.t documentation - I agree that the whole PyState_* sequence
needs better documentation and examples, but in the meantime I'm attaching a
simple patch for c-api/module.rst. It clarifies that PyState_AddModule doesn't
really have to be called
Changes by Eli Bendersky eli...@gmail.com:
Added file: http://bugs.python.org/file31226/pystate-findmodule-clarify.1.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15651
___
Roundup Robot added the comment:
New changeset 9b0e9e9812f8 by Terry Jan Reedy in branch 'default':
Issue #15301: skip new test method so Windows builtbots stop failing.
http://hg.python.org/cpython/rev/9b0e9e9812f8
--
___
Python tracker
Terry J. Reedy added the comment:
This was the only failure on 2 of 4 buildbots when I last looked.
test_os has several methods like this:
def test_dup2(self):
if hasattr(os, dup2):
self.check(os.dup2, 20)
Should the hasattr be moved to skipUnless for all of these?
Terry J. Reedy added the comment:
Failure is intermittent. The only related lines in test_codeccallbacks are
002: import html.entities
102:l.append(%s; % html.entities.codepoint2name[ord(c)])
--
nosy: +terry.reedy
___
Python tracker
Benjamin Peterson added the comment:
Likely they were written before the invention of unittest test
skpping. They could be converted.
2013/8/10 Terry J. Reedy rep...@bugs.python.org:
Terry J. Reedy added the comment:
This was the only failure on 2 of 4 buildbots when I last looked.
Terry J. Reedy added the comment:
The 'fix', including the test, is included with the patch for #18226. It
shares with normal text the problem that selections of partial lines do not
work well. I think this might be fixed in #18583 by only re-wrapping complete
lines.
--
Larry Hastings added the comment:
Georg, I'm gonna commit this for 3.4. You want it in 3.3 as well? I claim
it's 100% a bugfix.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18667
Georg Brandl added the comment:
Well, since you're a RM now you should know :D
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18667
___
___
Ethan Furman added the comment:
Sorry, sorry.
Long week, felt like more than two days, mild sense of unease and stress due to
non-functioning Release Schedule on python.org, and wanting to get Enum used
/somewhere/ in the stdlib before 3.4 is locked down.
Making help() better would be a
96 matches
Mail list logo