anatoly techtonik added the comment:
After a day of meditation I've come to the following definition for locals():
locals() return a dictionary that serves as a cache for current local symbol
table. This cache is updated every time locals() is called or when a trace
function is active.
Roundup Robot added the comment:
New changeset 62f67a52b0c2 by Hynek Schlawack in branch '3.2':
#16618: Make glob.glob match consistently across strings and bytes
http://hg.python.org/cpython/rev/62f67a52b0c2
New changeset fa8c4f96d990 by Hynek Schlawack in branch '3.3':
#16618: Make glob.glob
Hynek Schlawack added the comment:
Thanks Serhiy!
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16618
Hynek Schlawack added the comment:
I agree that standardize behavior here would be useful. But it sounds like a
candidate for 3.4. Unifying/changing it for existing releases appears rather
hairy to me?
--
assignee: docs@python -
type: - behavior
versions: +Python 3.4
Hynek Schlawack added the comment:
Any news? Wouldn’t Apple give us a license for our buildbots like MSFT does?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15594
___
Ronald Oussoren added the comment:
OSX Server should have the same kernel as the client.
Also, the license terms for OSX 10.6 client don't allow running in a VM, while
the 10.6 server terms do allow that.
Is there anything special about this buildbots system configuration? Is the
filesystem
Chris Jerdonek added the comment:
Updating patch after Benjamin's review.
In this new patch, in test_regrtest I now use the current, actual getopt code
to test and demonstrate backwards compatibility. Note that when I pasted the
code, I also fixed the three typos in the current getopt code
Hynek Schlawack added the comment:
Turns out, Larry fixed these two while working on #14626.
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Hynek Schlawack added the comment:
I think we should resolve this one line change.
Jessica’s patch looks just fine, so I tend to apply it. However, I’d like to
document the current behavior in 2.7, 3.2, 3.3 and 3.4.
Am I missing anything?
--
nosy: +hynek
versions: +Python 2.7,
Hynek Schlawack added the comment:
It would be great if someone could port this patch to Python 3.4 and verify its
effectiveness.
--
keywords: +easy -patch
stage: test needed - needs patch
versions: +Python 3.4 -Python 3.2, Python 3.3
___
Python
Hynek Schlawack added the comment:
The patch hasn’t incorporated Antoine’s comments AFAICT.
Also I don’t see this fit for back porting to bug fix releases. Correct me if
I’m wrong.
--
nosy: +hynek
stage: patch review - needs patch
versions: +Python 3.4 -Python 2.7, Python 3.2, Python
Changes by Hynek Schlawack h...@ox.cx:
--
nosy: +hynek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15450
___
___
Python-bugs-list mailing list
Terry J. Reedy added the comment:
I agree now that the doc should be clearer (and this issue reopened). For one
thing, the exact CPython behavior is an implementation issue rather than a
language requirement. Which is to say, its behavior is allowed but not
required. I believe an
Chris Jerdonek added the comment:
The attached patch will fix this issue as well as issue 15325 and issue 15326.
Also, I'm removing issue 15302 as a superseder because that issue is limited to
3.4. The attached patch is for prior versions. (Also, it doesn't hurt to
apply this to 3.4 if
Hi,
I have embedded python3.3 in my application.
I got a crash when I ran a sample python script using it.
As per my assumption, On interpreter shutdown, all strings are released
(through _PyUnicode_ClearStaticStrings). (Found in one of the comments of
object.h file)
When I tried to debug
New submission from David Halter:
The following lines run infinitely:
b = [1]
import itertools
b += itertools.chain.from_iterable([c] for c in b)
In my opinion this is a bug. Clearly you could say that this is an
implementation detail. But afaik this is not documented and very misleading.
Christian Heimes added the comment:
Hynek, you are right.
--
nosy: +christian.heimes
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11063
___
___
Changes by Danilo Bargen gez...@gmail.com:
--
nosy: +gwrtheyrn
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16791
___
___
Python-bugs-list
pyos added the comment:
I don't think this is a bug. `b += iter(b)` and `for c in b: b.append(c)` work
the same way. Also, the tutorial makes it clear that you should duplicate the
list if you modify it inside a loop; in this case, this can be done either by
iterating over `b[:]` instead of
R. David Murray added the comment:
Yes, the behavior here is undefined at the language level. And as pyos says,
technically it is documented: if you mutate the object over which you are
iterating inside the iteration context (a for loop is just one example of
same), the behavior is
New submission from Serhiy Storchaka:
Small ints test should be extracted to a separate method and marked as CPython
only. In additional it backported to 2.7.
--
assignee: serhiy.storchaka
components: Tests
files: int_test_small_ints-3.3.patch
keywords: patch
messages: 178300
nosy:
Changes by Serhiy Storchaka storch...@gmail.com:
Added file: http://bugs.python.org/file28455/int_test_small_ints-3.2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16792
___
Changes by Serhiy Storchaka storch...@gmail.com:
Added file: http://bugs.python.org/file28456/int_test_small_ints-2.7.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16792
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
dependencies: +Mark small ints test as CPython-only
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16784
___
Richard Oudkerk added the comment:
Richard, apart from performance, what's the advantage of this approach over
the
fork+exec version?
It is really just performance. For context running the unittests in a 1 cpu
linux VM gives me
fork:
real0m53.868s
user0m1.496s
sys 0m9.757s
Roundup Robot added the comment:
New changeset b9752b6c40f8 by Brian Curtin in branch '3.2':
Fix #14420. Use PyLong_AsUnsignedLong to support the full range of DWORD.
http://hg.python.org/cpython/rev/b9752b6c40f8
--
nosy: +python-dev
___
Python
Brian Curtin added the comment:
This is fixed on 3.2 through 3.4. On 2.7 we get a ValueError trying to do the
same thing so I'll create a separate issue for that since it involves fixing
more than just the change in Py2Reg.
--
resolution: - fixed
stage: patch review -
Changes by Gregory P. Smith g...@krypto.org:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16772
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
Added file: http://bugs.python.org/file28458/tests_deprecated_asserts-3.3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16793
___
New submission from Serhiy Storchaka:
Here is a patches that replaces deprecated unittest assert aliases (such as
assertEquals) to its nondeprecated counterpart (if such usage is not intended).
This eliminates deprecation warnings.
--
assignee: serhiy.storchaka
components: Tests
Changes by Serhiy Storchaka storch...@gmail.com:
Added file: http://bugs.python.org/file28459/tests_deprecated_asserts-3.4.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16793
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
dependencies: +Get rid of deprecated assertEquals etc in tests
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16784
___
Serhiy Storchaka added the comment:
LGTM.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16790
___
___
Python-bugs-list mailing list
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: docs@python - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16682
___
Roundup Robot added the comment:
New changeset ccbb16719540 by Brian Curtin in branch '2.7':
Fix #14420. Check for PyLong as well as PyInt when converting in Py2Reg.
http://hg.python.org/cpython/rev/ccbb16719540
--
___
Python tracker
Brian Curtin added the comment:
Never mind msg178303. The fix was roughly the same and in the same area, so now
we're covered on 2.7 as well.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14420
Vinay Sajip added the comment:
I will give this some thought, but it won't be possible to add it to Python 2.x
(which is closed for feature additions). Any enhancement in this area would
apply to Python 3.4 and later.
--
versions: +Python 3.4 -Python 2.7
Roundup Robot added the comment:
New changeset cd2b4074a2d9 by Serhiy Storchaka in branch '3.2':
Issue #16682: Replace Python string to bytes object in audioop
documentation.
http://hg.python.org/cpython/rev/cd2b4074a2d9
New changeset e8248e597060 by Serhiy Storchaka in branch '3.3':
Issue
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - fixed
stage: commit review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16682
New submission from vertograd phrokhladny:
Ubuntu 12.4 LTS
--
assignee: docs@python
components: Documentation
files: modules_command_crash.log
messages: 178310
nosy: docs@python, vertograd.phrokhladny
priority: normal
severity: normal
status: open
title: Can't get a list of modules in
R. David Murray added the comment:
This is a duplicate of issue 10060, and as indicated there there really isn't
much Python can do about this. You should report the bug to Ubuntu, but I'm
pretty sure there is already a bug in their system for it (which I believe has
been fixed).
--
Richard Oudkerk added the comment:
Numbers when running on Linux on a laptop with 2 cores + hyperthreading.
RUNNING UNITTESTS:
fork:
real0m50.687s
user0m9.213s
sys 0m4.012s
fork+exec:
real1m9.062s
user0m48.579s
sys 0m6.648s
forkserver:
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16504
___
___
Roundup Robot added the comment:
New changeset d3c81ef728ae by Serhiy Storchaka in branch '2.7':
Issue #16504: Catch SyntaxErrors raised by tokenizer in IDLE.
http://hg.python.org/cpython/rev/d3c81ef728ae
New changeset e1ef04cfb57c by Serhiy Storchaka in branch '3.2':
Issue #16504: Catch
Chris Jerdonek added the comment:
Rietveld is erroring out on me again whenever I try to reply to a comment, so
I'm posting my comment here.
On 2012/12/27 18:29:22, Benjamin Peterson wrote:
On 2012/12/27 04:44:33, Benjamin Peterson wrote:
if val:
Again, we need this to match getopt
Serhiy Storchaka added the comment:
Thank you, Roger. Fixed.
--
resolution: - fixed
stage: commit review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16504
Changes by Ram Rachum r...@rachum.com:
--
nosy: -cool-RR
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8713
___
___
Python-bugs-list mailing list
Gregory P. Smith added the comment:
I think the forkserver approach is a good idea. It is what a lot of users will
choose.
forkserver won't work everywhere though so the fork+exec option is still
desirable to have available. Threads can be started by non-python code
(extension modules, or
Roundup Robot added the comment:
New changeset 4b7e60e05027 by Brian Curtin in branch '3.2':
Fix #16759. Convert DWORD registry values using PyLong_FromUnsignedLong.
http://hg.python.org/cpython/rev/4b7e60e05027
--
nosy: +python-dev
___
Python
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: commit review -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11908
___
___
Serhiy Storchaka added the comment:
Martin, are you have time to review now?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15239
___
___
Serhiy Storchaka added the comment:
Ben Morgan, can you please submit a contributor form?
http://python.org/psf/contrib/contrib-form/
http://python.org/psf/contrib/
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12004
Mark Dickinson added the comment:
LGTM.
--
nosy: +mark.dickinson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16792
___
___
Python-bugs-list
Roundup Robot added the comment:
New changeset d68563e7ae82 by Brian Curtin in branch '2.7':
Fix #16759. Convert DWORD registry values using unsigned long.
http://hg.python.org/cpython/rev/d68563e7ae82
--
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
I no one objects I will commit this next year.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14850
___
___
Changes by Brian Curtin br...@python.org:
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
versions: +Python 2.7, Python 3.3, Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16759
Serhiy Storchaka added the comment:
Please review.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16320
___
___
Python-bugs-list mailing list
Serhiy Storchaka added the comment:
Ping.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13454
___
___
Python-bugs-list mailing list
Serhiy Storchaka added the comment:
If no one objects I will commit this next year.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16485
___
___
Serhiy Storchaka added the comment:
If no one objects I will commit this next year.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1470548
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16485
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16486
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1470548
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13454
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14850
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9290
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16551
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16216
___
___
Serhiy Storchaka added the comment:
If no one objects I will commit this next year.
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16491
___
Roundup Robot added the comment:
New changeset eb1734e579f7 by Chris Jerdonek in branch '2.7':
Issue #16790: add some of the recent issue #16045 int tests to test_long.
http://hg.python.org/cpython/rev/eb1734e579f7
--
nosy: +python-dev
___
Python
Roundup Robot added the comment:
New changeset eb1734e579f7 by Chris Jerdonek in branch '2.7':
Issue #16790: add some of the recent issue #16045 int tests to test_long.
http://hg.python.org/cpython/rev/eb1734e579f7
--
___
Python tracker
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14099
___
___
Chris Jerdonek added the comment:
Thanks for the reviews, Serhiy.
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16790
Serhiy Storchaka added the comment:
If no one objects I will commit this next year.
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16541
___
Serhiy Storchaka added the comment:
If no one objects I will commit this next year.
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15539
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16165
___
___
Changes by Chris Jerdonek chris.jerdo...@gmail.com:
--
nosy: +chris.jerdonek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16793
___
___
Changes by Chris Jerdonek chris.jerdo...@gmail.com:
--
nosy: +chris.jerdonek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16792
___
___
Serhiy Storchaka added the comment:
If no one objects I will commit this next year.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16165
___
___
Serhiy Storchaka added the comment:
If no one objects I will commit this next year.
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16640
___
Changes by Richard Oudkerk shibt...@gmail.com:
Added file: http://bugs.python.org/file28461/8f08d83264a0.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8713
___
Richard Oudkerk added the comment:
The safest default would be fork+exec though we need to implement the
fork+exec code as a C extension module or have it use subprocess (as I
noted in the mb_fork_exec.patch review).
That was an old version of the patch.
In the branch
Chris Jerdonek added the comment:
LGTM.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16793
___
___
Python-bugs-list mailing list
Unsubscribe:
Ezio Melotti added the comment:
LGTM.
--
nosy: +ezio.melotti
stage: patch review - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16793
___
Chris Jerdonek added the comment:
When this patch is updated because of the commit for issue 16790, in 3.x can
the edited test cases be moved to the top of the test class per the following
comment (as appropriate)?
http://bugs.python.org/issue16790#msg178282
As stated there, this will make
New submission from Sven Brauch:
Here's a patch doing some adjustments to the AST to make it more useful for
static language analysis, as discussed in
http://mail.python.org/pipermail/python-dev/2012-December/123320.html.
Changes done:
* the described fix to attribute ranges
* add location
Changes by Chris Jerdonek chris.jerdo...@gmail.com:
--
title: --match does not work for regrtest - --fromfile, --match, and
--randomize don't work in regrtest
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15324
Changes by Chris Jerdonek chris.jerdo...@gmail.com:
--
resolution: - duplicate
stage: patch review - committed/rejected
status: open - closed
superseder: Use argparse instead of getopt in test.regrtest - --fromfile,
--match, and --randomize don't work in regrtest
Changes by Chris Jerdonek chris.jerdo...@gmail.com:
--
resolution: - duplicate
stage: patch review - committed/rejected
status: open - closed
superseder: Use argparse instead of getopt in test.regrtest - --fromfile,
--match, and --randomize don't work in regrtest
versions: +Python
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: docs@python - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16642
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16645
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16641
___
___
Gregory P. Smith added the comment:
ah, i missed that update. cool! +1
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8713
___
___
Chris Jerdonek added the comment:
I agree with Serhiy here. This use case seems too specialized, and there are
easy ways to achieve the same thing in code.
--
nosy: +chris.jerdonek
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset 8f82e9992ad9 by Serhiy Storchaka in branch '2.7':
Issue #16792: Mark small ints test as CPython-only.
http://hg.python.org/cpython/rev/8f82e9992ad9
New changeset 31955234b624 by Serhiy Storchaka in branch '3.2':
Issue #16792: Mark small ints test
Chris Jerdonek added the comment:
You can use assertIs() in 2.7 as well, no?
+@test_support.cpython_only
+def test_small_ints(self):
+self.assertTrue(int('10') is 10)
--
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
Indeed.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16792
___
___
Python-bugs-list mailing list
Roundup Robot added the comment:
New changeset 327896bf3152 by Serhiy Storchaka in branch '2.7':
Issue #16792: Use assertIs() to test identity.
http://hg.python.org/cpython/rev/327896bf3152
--
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset a617a50d2766 by Serhiy Storchaka in branch '2.7':
Issue #16793. Replace deprecated unittest asserts with modern counterparts.
http://hg.python.org/cpython/rev/a617a50d2766
New changeset 6601818622ea by Serhiy Storchaka in branch '3.3':
Issue
Serhiy Storchaka added the comment:
I haven't committed changes to lib2to3 tests as I don't sure what version they
should be compatible.
--
resolution: - fixed
stage: commit review - committed/rejected
status: open - closed
___
Python tracker
1 - 100 of 132 matches
Mail list logo