[issue7083] locals() behaviour differs when tracing is in effect

2012-12-27 Thread anatoly techtonik

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.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16618] Different glob() results for strings and bytes

2012-12-27 Thread Roundup Robot

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 match consistently across strings and bytes
http://hg.python.org/cpython/rev/fa8c4f96d990

New changeset eae2a42603ee by Hynek Schlawack in branch 'default':
#16618: Make glob.glob match consistently across strings and bytes
http://hg.python.org/cpython/rev/eae2a42603ee

New changeset 44609ff7e53c by Hynek Schlawack in branch '2.7':
#16618: Add more glob regression tests
http://hg.python.org/cpython/rev/44609ff7e53c

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16618] Different glob() results for strings and bytes

2012-12-27 Thread Hynek Schlawack

Hynek Schlawack added the comment:

Thanks Serhiy!

--
resolution:  -> fixed
stage: patch review -> committed/rejected
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15840] Ambiguity with regard to the effect of accessing a closed IOBase instance

2012-12-27 Thread Hynek Schlawack

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

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15594] test_copyfile_named_pipe() fails on Mac OS X Snow Leopard: OSError: [Errno 22] Invalid argument

2012-12-27 Thread Hynek Schlawack

Hynek Schlawack added the comment:

Any news? Wouldn’t Apple give us a license for our buildbots like MSFT does?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15594] test_copyfile_named_pipe() fails on Mac OS X Snow Leopard: OSError: [Errno 22] Invalid argument

2012-12-27 Thread Ronald Oussoren

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 the default HFS+ filesystem? Is the directory used by buildbot a 
local filesystem? 

I've had some filesystem related issues in a virtual OSX system that was 
running in Parallels, but that was while using the 'shared folders' feature of 
Parallels (that virtual filesystem doesn't support all filesystem features).

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15302] Use argparse instead of getopt in test.regrtest

2012-12-27 Thread Chris Jerdonek

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 that are 
documented in the following three issues: issue15324, issue15325, issue15326.  
These typos are checked by the following test cases: test_fromfile, test_match, 
and test_randomize.  (I will fix these three issues in versions prior to 3.4 
independent of this issue.)

--
Added file: http://bugs.python.org/file28452/issue-15302-6.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14870] Descriptions of os.utime() and os.utimensat() use wrong notation

2012-12-27 Thread Hynek Schlawack

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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7325] tempfile.mkdtemp() does not return absolute pathname when relative dir is specified

2012-12-27 Thread Hynek Schlawack

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, Python 3.3, Python 3.4

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1610654] cgi.py multipart/form-data

2012-12-27 Thread Hynek Schlawack

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 tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11063] uuid.py module import has heavy side effects

2012-12-27 Thread Hynek Schlawack

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 3.3

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15450] Allow dircmp.subdirs to behave well under subclassing

2012-12-27 Thread Hynek Schlawack

Changes by Hynek Schlawack :


--
nosy: +hynek

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7083] locals() behaviour differs when tracing is in effect

2012-12-27 Thread Terry J. Reedy

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 implementation *could* use dicts for function local 
namespaces. Synchronization would not then be an issue.

I will try to work up a concrete suggested replacement.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15324] --match does not work for regrtest

2012-12-27 Thread Chris Jerdonek

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 15302 hasn't been resolved by then.)

--
keywords: +patch
superseder: Use argparse instead of getopt in test.regrtest -> 
versions: +Python 2.7, Python 3.2, Python 3.3
Added file: http://bugs.python.org/file28453/issue-15324-1.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



Bug in _PyUnicode_ClearStaticStrings() method of unicodeobject.c

2012-12-27 Thread Prashant Kurnawal
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 python source, I found a defect in 
_PyUnicode_ClearStaticStrings() method.
 
 
void
_PyUnicode_ClearStaticStrings()
{
 _Py_Identifier *i;
  for (i = static_strings; i; i = i->next) {
   Py_DECREF(i->object);
   i->object = NULL;
   i->next = NULL;
  }
}
 
Here, for loop will not free all the static strings. It will free only the 
first static string in the list.
This loop needs to be corrected.
 
I corrected the loop in following way and its working fine for me.
 
void
_PyUnicode_ClearStaticStrings()
{
    _Py_Identifier *i;
    while(static_strings->next != NULL)
    {
    i = static_strings;
    static_strings = static_strings->next;
    Py_DECREF(i->object);
    i->object = NULL;
    i->next = NULL;
    }
    
    Py_DECREF(static_strings->object);
    static_strings->object = NULL;
    static_strings = NULL;
}
 
Please let me know if this is a defect or it is done so intentionally.
Please reply as soon as possible.

Thanks and Regards,
Prashant.___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16791] itertools.chain.from_iterable doesn't stop

2012-12-27 Thread David Halter

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.

BTW: In PyPy b would be [1, 1].

--
messages: 178296
nosy: davidhalter
priority: normal
severity: normal
status: open
title: itertools.chain.from_iterable doesn't stop
type: behavior
versions: Python 2.7, Python 3.2, Python 3.3

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11063] uuid.py module import has heavy side effects

2012-12-27 Thread Christian Heimes

Christian Heimes added the comment:

Hynek, you are right.

--
nosy: +christian.heimes

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16791] itertools.chain.from_iterable doesn't stop

2012-12-27 Thread Danilo Bargen

Changes by Danilo Bargen :


--
nosy: +gwrtheyrn

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16791] itertools.chain.from_iterable doesn't stop

2012-12-27 Thread pyos

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 just `b` or using a list comprehension instead 
of a generator.

--
nosy: +pyos

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16791] itertools.chain.from_iterable doesn't stop

2012-12-27 Thread R. David Murray

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 explicitly undefined.  I agree that it is not *obvious* 
that that applies to chain.from_iterable in this context, but I'm not sure how 
we'd improve the docs to cover it.

--
nosy: +r.david.murray

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16792] Mark small ints test as CPython-only

2012-12-27 Thread Serhiy Storchaka

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: serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Mark small ints test as CPython-only
type: enhancement
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4
Added file: http://bugs.python.org/file28454/int_test_small_ints-3.3.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16792] Mark small ints test as CPython-only

2012-12-27 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


Added file: http://bugs.python.org/file28455/int_test_small_ints-3.2.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16792] Mark small ints test as CPython-only

2012-12-27 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


Added file: http://bugs.python.org/file28456/int_test_small_ints-2.7.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16784] Int tests enhancement and refactoring

2012-12-27 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
dependencies: +Mark small ints test as CPython-only

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8713] multiprocessing needs option to eschew fork() under Linux

2012-12-27 Thread Richard Oudkerk

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

fork+exec:
real1m30.951s
user0m24.598s
sys 0m25.614s

forkserver:
real0m54.087s
user0m1.572s # excludes descendant processes
sys 0m2.336s # excludes descendant processes

So running the unit tests using fork+exec takes about 4 times as much cpu time.

Starting then immediately joining a trivial process in a loop gives

fork:0.025 seconds/process
fork+exec:   0.245 seconds/process
forkserver:  0.016 seconds/process

So latency is about 10 times higher with fork+exec.

> Because it seems more complicated, and although I didn't have a look a this 
> last 
> patch, I guess that most of the fork+exec version could be factorized with the
> Windows version, no?

The different fork methods are now implemented in separate files.  The line 
counts are

  117 popen_spawn_win32.py
   80 popen_fork.py
  184 popen_spawn_posix.py
  191 popen_forkserver.py

I don't think any more sharing between the win32 and posix cases is possible.  
(Note that popen_spawn_posix.py implements a cleanup helper process which is 
also used by the "forkserver" method.)

> Since it's only intented to be used as a "debugging"/special-purpose 
> replacement - it 
> would probably be better if it could be made as simple as possible.

Actually, avoiding the whole fork+threads mess is a big motivation.  
multiprocessing uses threads in a few places (like implementing Queue), and 
tries to do so as safely as possible.  But unless you turn off garbage 
collection you cannot really control what code might be running in a background 
thread when the main thread forks.

> Also, as you've noted, FD passing isn't supported by all Unices out there
> (and we've had some reliability issues on OS-X, too).

OSX does not seem to allow passing multiple ancilliary messages at once -- but 
you can send multiple fds in a single ancilliary message.  Also, when you send 
fds on OSX you have to wait for a response from the other end before doing 
anything else.  Not doing that was the cause of the previous fd passing 
failures in test_multiprocessing.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14420] winreg SetValueEx DWord type incompatible with value argument

2012-12-27 Thread Roundup Robot

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 tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14420] winreg SetValueEx DWord type incompatible with value argument

2012-12-27 Thread Brian Curtin

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 -> committed/rejected
status: open -> closed
versions: +Python 3.3, Python 3.4

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16772] int() accepts float number base

2012-12-27 Thread Gregory P. Smith

Changes by Gregory P. Smith :


--
assignee:  -> serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16793] Get rid of deprecated assertEquals etc in tests

2012-12-27 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


Added file: http://bugs.python.org/file28458/tests_deprecated_asserts-3.3.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16793] Get rid of deprecated assertEquals etc in tests

2012-12-27 Thread Serhiy Storchaka

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
files: tests_deprecated_asserts-2.7.patch
keywords: patch
messages: 178304
nosy: serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Get rid of deprecated assertEquals etc in tests
type: enhancement
versions: Python 2.7, Python 3.3, Python 3.4
Added file: http://bugs.python.org/file28457/tests_deprecated_asserts-2.7.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16793] Get rid of deprecated assertEquals etc in tests

2012-12-27 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


Added file: http://bugs.python.org/file28459/tests_deprecated_asserts-3.4.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16784] Int tests enhancement and refactoring

2012-12-27 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
dependencies: +Get rid of deprecated assertEquals etc in tests

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16790] provide ability to share tests between int and long tests

2012-12-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

LGTM.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16682] Document that audioop works with bytes, not strings

2012-12-27 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
assignee: docs@python -> serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14420] winreg SetValueEx DWord type incompatible with value argument

2012-12-27 Thread Roundup Robot

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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14420] winreg SetValueEx DWord type incompatible with value argument

2012-12-27 Thread Brian Curtin

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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16778] Logger.findCaller needs to be smarter

2012-12-27 Thread Vinay Sajip

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

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16682] Document that audioop works with bytes, not strings

2012-12-27 Thread Roundup Robot

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 #16682: Replace "Python string" to "bytes object" in audioop 
documentation.
http://hg.python.org/cpython/rev/e8248e597060

New changeset f68aeab64356 by Serhiy Storchaka in branch 'default':
Issue #16682: Replace "Python string" to "bytes object" in audioop 
documentation.
http://hg.python.org/cpython/rev/f68aeab64356

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16682] Document that audioop works with bytes, not strings

2012-12-27 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
resolution:  -> fixed
stage: commit review -> committed/rejected
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16794] Can't get a list of modules in Python's help system

2012-12-27 Thread vertograd phrokhladny

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 Python's help system
type: crash
versions: Python 2.7
Added file: http://bugs.python.org/file28460/modules_command_crash.log

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16794] Can't get a list of modules in Python's help system

2012-12-27 Thread R. David Murray

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).

--
nosy: +r.david.murray
resolution:  -> duplicate
stage:  -> committed/rejected
status: open -> closed
superseder:  -> python.exe crashes or hangs on help() modules when bad modules 
found

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8713] multiprocessing needs option to eschew fork() under Linux

2012-12-27 Thread Richard Oudkerk

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:
real0m50.702s
user0m4.140s# excluding descendants
sys 0m0.708s# excluding descendants

LATENCY:
  fork:   0.0071 secs/proc
  fork+exec:  0.0622 secs/proc
  forkserver: 0.0035 secs/proc

Still 4 times the cpu time and 10 times the latency.  But the latency is far 
lower than in the VM.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16504] IDLE - fatal error when opening a file with certain tokenizing errors

2012-12-27 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
assignee:  -> serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16504] IDLE - fatal error when opening a file with certain tokenizing errors

2012-12-27 Thread Roundup Robot

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 SyntaxErrors raised by tokenizer in IDLE.
http://hg.python.org/cpython/rev/e1ef04cfb57c

New changeset f111e7078d54 by Serhiy Storchaka in branch '3.3':
Issue #16504: Catch SyntaxErrors raised by tokenizer in IDLE.
http://hg.python.org/cpython/rev/f111e7078d54

New changeset 69a2f6a7c257 by Serhiy Storchaka in branch 'default':
Issue #16504: Catch SyntaxErrors raised by tokenizer in IDLE.
http://hg.python.org/cpython/rev/69a2f6a7c257

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15302] Use argparse instead of getopt in test.regrtest

2012-12-27 Thread Chris Jerdonek

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 behavior. Using "if val" would replace
> the
> > value provided for all options accepting a value with the empty string. In
> > particular, the test_fromfile() test case (and two others) would fail with
> that
> > change. On the flip side, getopt causes provided boolean options to show up
> as
> > having an empty string value in the return value which is why I'm setting 
> > val
> to
> > ''.
> 
> I suppose this stuff is temporary anyway until regrtest can actualy use a nice
> namespace.

Right. That part is a temporary bridge.

I updated the patch based on your original comments, by the way. The patch is a 
lot simpler now, including dropping the need to subclass ArgumentParser, taking 
out the old usage() function, simplifying the tests, and making the need for 
the tests more explicit (which also can be removed after switching to using a 
namespace object).

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16504] IDLE - fatal error when opening a file with certain tokenizing errors

2012-12-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Thank you, Roger. Fixed.

--
resolution:  -> fixed
stage: commit review -> committed/rejected
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8713] multiprocessing needs option to eschew fork() under Linux

2012-12-27 Thread Ram Rachum

Changes by Ram Rachum :


--
nosy:  -cool-RR

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8713] multiprocessing needs option to eschew fork() under Linux

2012-12-27 Thread Gregory P. Smith

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 the larger C/C++ program that is embedding the Python 
interpreter within it).  In that context, by the time the multiprocessing 
module is can be too late to start a fork server and there is no easy way for 
Python code to determine if that is the case.

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).

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16759] winreg.QueryValueEx returns signed 32bit value instead of unsigned

2012-12-27 Thread Roundup Robot

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 tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11908] Weird `slice.stop or sys.maxint`

2012-12-27 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
stage: commit review -> 

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15239] Abandoned Tools/unicode/mkstringprep.py

2012-12-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Martin, are you have time to review now?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12004] PyZipFile.writepy gives internal error on syntax errors

2012-12-27 Thread Serhiy Storchaka

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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com




[issue16792] Mark small ints test as CPython-only

2012-12-27 Thread Mark Dickinson

Mark Dickinson added the comment:

LGTM.

--
nosy: +mark.dickinson

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16759] winreg.QueryValueEx returns signed 32bit value instead of unsigned

2012-12-27 Thread Roundup Robot

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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14850] The inconsistency of codecs.charmap_decode

2012-12-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

I no one objects I will commit this next year.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16759] winreg.QueryValueEx returns signed 32bit value instead of unsigned

2012-12-27 Thread Brian Curtin

Changes by Brian Curtin :


--
resolution:  -> fixed
stage: patch review -> committed/rejected
status: open -> closed
versions: +Python 2.7, Python 3.3, Python 3.4

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16320] Establish order in bytes/string dependencies

2012-12-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Please review.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13454] crash when deleting one pair from tee()

2012-12-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Ping.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16485] FD leaks in aifc module

2012-12-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

If no one objects I will commit this next year.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1470548] Bugfix for #1470540 (XMLGenerator cannot output UTF-16)

2012-12-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

If no one objects I will commit this next year.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16485] FD leaks in aifc module

2012-12-27 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
assignee:  -> serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16486] Add context manager support to aifc module

2012-12-27 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
assignee:  -> serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1470548] Bugfix for #1470540 (XMLGenerator cannot output UTF-16)

2012-12-27 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
assignee:  -> serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13454] crash when deleting one pair from tee()

2012-12-27 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
assignee:  -> serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14850] The inconsistency of codecs.charmap_decode

2012-12-27 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
assignee:  -> serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9290] IDLE and Command line present different behavior for sys.stdin

2012-12-27 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
assignee:  -> serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16551] Cleanup the pure Python pickle implementation

2012-12-27 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
assignee:  -> serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16216] Arithmetic operations with NULL

2012-12-27 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
assignee:  -> serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16491] IDLE and except: raise from

2012-12-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

If no one objects I will commit this next year.

--
assignee:  -> serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16790] provide ability to share tests between int and long tests

2012-12-27 Thread Roundup Robot

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 tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16045] add more unit tests for built-in int()

2012-12-27 Thread Roundup Robot

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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14099] ZipFile.open() should not reopen the underlying file

2012-12-27 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
assignee:  -> serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16790] provide ability to share tests between int and long tests

2012-12-27 Thread Chris Jerdonek

Chris Jerdonek added the comment:

Thanks for the reviews, Serhiy.

--
resolution:  -> fixed
stage: patch review -> committed/rejected
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16541] tk_setPalette doesn't accept keyword parameters

2012-12-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

If no one objects I will commit this next year.

--
assignee:  -> serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15539] Fixing Tools/scripts/pindent.py

2012-12-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

If no one objects I will commit this next year.

--
assignee:  -> serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16165] sched.scheduler.run() blocks scheduler

2012-12-27 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
assignee:  -> serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16793] Get rid of deprecated assertEquals etc in tests

2012-12-27 Thread Chris Jerdonek

Changes by Chris Jerdonek :


--
nosy: +chris.jerdonek

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16792] Mark small ints test as CPython-only

2012-12-27 Thread Chris Jerdonek

Changes by Chris Jerdonek :


--
nosy: +chris.jerdonek

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16165] sched.scheduler.run() blocks scheduler

2012-12-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

If no one objects I will commit this next year.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16640] Less code under lock in sched.scheduler

2012-12-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

If no one objects I will commit this next year.

--
assignee:  -> serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8713] multiprocessing needs option to eschew fork() under Linux

2012-12-27 Thread Richard Oudkerk

Changes by Richard Oudkerk :


Added file: http://bugs.python.org/file28461/8f08d83264a0.diff

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8713] multiprocessing needs option to eschew fork() under Linux

2012-12-27 Thread Richard Oudkerk

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

http://hg.python.org/sandbox/sbt#spawn

_posixsubprocess is used instead of fork+exec, and all unnecessary fds are 
closed.  See


http://hg.python.org/sandbox/sbt/file/8f08d83264a0/Lib/multiprocessing/popen_spawn_posix.py

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16793] Get rid of deprecated assertEquals etc in tests

2012-12-27 Thread Chris Jerdonek

Chris Jerdonek added the comment:

LGTM.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16793] Get rid of deprecated assertEquals etc in tests

2012-12-27 Thread Ezio Melotti

Ezio Melotti added the comment:

LGTM.

--
nosy: +ezio.melotti
stage: patch review -> commit review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16761] Fix int(base=X)

2012-12-27 Thread Chris Jerdonek

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 synching tests between 2.7 and 3.x easier.  We 
can do the others in 3.x whenever more are added to the 2.7 common tests.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16795] Patch: some changes to AST to make it more useful for static language analysis

2012-12-27 Thread Sven Brauch

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 information for var / kwargs and arguments

Interestingly, this even fixes a bug; compare the locations of the error in the 
following situation:

>>> l = [1, 2, 3]
>>> l[
... 
... 2
... 
... ].Foo

Old error message:
Traceback (most recent call last):
  File "", line 3, in 
AttributeError: 'int' object has no attribute 'Foo'

New error message:
Traceback (most recent call last):
  File "", line 5, in 
AttributeError: 'int' object has no attribute 'Foo'

The new message is obviously more accurate (one could even go as far as saying 
that the first one does not make any sense at all -- what does the expression 
in the slice have to do with the error?).
The same thing happens in similar situations, e.g. with line continuation 
characters, function calls, ... anything multi-line with an error related to 
attribute access.

I hope the patch is okay, if not please let me know what to change. I also hope 
I managed to include all important changes into the patch ;)

--
components: None
files: python.diff
keywords: patch
messages: 178339
nosy: scummos
priority: normal
severity: normal
status: open
title: Patch: some changes to AST to make it more useful for static language 
analysis
versions: Python 3.4
Added file: http://bugs.python.org/file28462/python.diff

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15324] --fromfile, --match, and --randomize don't work in regrtest

2012-12-27 Thread Chris Jerdonek

Changes by Chris Jerdonek :


--
title: --match does not work for regrtest -> --fromfile, --match, and 
--randomize don't work in regrtest

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15325] --fromfile does not work for regrtest

2012-12-27 Thread Chris Jerdonek

Changes by Chris Jerdonek :


--
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

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15326] --random does not work for regrtest

2012-12-27 Thread Chris Jerdonek

Changes by Chris Jerdonek :


--
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 2.7, Python 3.2, Python 3.3

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16642] Mention new "kwargs" named tuple parameter in sched module

2012-12-27 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
assignee: docs@python -> serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16645] Wrong test_extract_hardlink() in test_tarfile.py

2012-12-27 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
assignee:  -> serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16641] sched.scheduler.enter arguments should not be modifiable

2012-12-27 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
assignee:  -> serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8713] multiprocessing needs option to eschew fork() under Linux

2012-12-27 Thread Gregory P. Smith

Gregory P. Smith added the comment:

ah, i missed that update.  cool!  +1

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16599] unittest: Access test result from tearDown

2012-12-27 Thread Chris Jerdonek

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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16792] Mark small ints test as CPython-only

2012-12-27 Thread Roundup Robot

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 as CPython-only.
http://hg.python.org/cpython/rev/31955234b624

New changeset dee82e66726d by Serhiy Storchaka in branch '3.3':
Issue #16792: Mark small ints test as CPython-only.
http://hg.python.org/cpython/rev/dee82e66726d

New changeset 9177d8e6e317 by Serhiy Storchaka in branch 'default':
Issue #16792: Mark small ints test as CPython-only.
http://hg.python.org/cpython/rev/9177d8e6e317

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16792] Mark small ints test as CPython-only

2012-12-27 Thread Chris Jerdonek

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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16792] Mark small ints test as CPython-only

2012-12-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Indeed.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16792] Mark small ints test as CPython-only

2012-12-27 Thread Roundup Robot

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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16793] Get rid of deprecated assertEquals etc in tests

2012-12-27 Thread Roundup Robot

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 #16793. Replace deprecated unittest asserts with modern counterparts.
http://hg.python.org/cpython/rev/6601818622ea

New changeset eb3a4ae095a8 by Serhiy Storchaka in branch 'default':
Issue #16793. Replace deprecated unittest asserts with modern counterparts.
http://hg.python.org/cpython/rev/eb3a4ae095a8

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16793] Get rid of deprecated assertEquals etc in tests

2012-12-27 Thread Serhiy Storchaka

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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



  1   2   >