[issue7869] traceback from logging is unusable.

2010-02-07 Thread R. David Murray

Changes by R. David Murray rdmur...@bitdance.com:


--
nosy: +vinay.sajip
priority:  - normal
stage:  - patch review
type: behavior - feature request
versions:  -Python 2.5

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



[issue7868] add a loggerClass attribute to Manager

2010-02-07 Thread Georg Brandl

Georg Brandl ge...@python.org added the comment:

Thanks!

--

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



[issue7859] support with self.assertRaises(SomeException) as exc: syntax

2010-02-07 Thread Georg Brandl

Georg Brandl ge...@python.org added the comment:

Why not the un-magic context manager, which has an exc_value attribute with the 
exception?

--
nosy: +georg.brandl

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



[issue7848] copy.copy corrupts objects that return false value from __getstate__

2010-02-07 Thread Georg Brandl

Changes by Georg Brandl ge...@python.org:


--
status: open - closed

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



[issue7835] Minor bug in 2.6.4 related to cleanup at end of program

2010-02-07 Thread Georg Brandl

Georg Brandl ge...@python.org added the comment:

I'd say go ahead and commit without test.

--
nosy: +georg.brandl

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



[issue7826] support caching for 2to3

2010-02-07 Thread Georg Brandl

Changes by Georg Brandl ge...@python.org:


--
assignee:  - benjamin.peterson
nosy: +benjamin.peterson

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



[issue6877] enable compilation of readline module on Mac OS X 10.5 and 10.6

2010-02-07 Thread Ronald Oussoren

Ronald Oussoren ronaldousso...@mac.com added the comment:

re: msg98913

The addition of an #include of stdlib.h is unnecessary because Python.h already 
does that. 


re: msg98908

Building against with a 10.3 deployment target should be harmless. A universal 
build targets 10.3 on purpose because that results in binaries that work on all 
supported OSX platforms.

BTW. I've pruned the list of python versions, this patch will never be applied 
to 2.4.

BTW2. I'll do the backport later today.

--
versions:  -Python 2.4

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



[issue7712] Add a context manager to change cwd in test.test_support and run the test suite in a temp dir.

2010-02-07 Thread Florent Xicluna

Changes by Florent Xicluna la...@yahoo.fr:


Removed file: 
http://bugs.python.org/file16152/issue7712_context_manager_v3a.diff

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



[issue7712] Add a context manager to change cwd in test.test_support and run the test suite in a temp dir.

2010-02-07 Thread Florent Xicluna

Florent Xicluna la...@yahoo.fr added the comment:

Removed the dummy CM hack.
Now it should be ready for final review.

--
Added file: http://bugs.python.org/file16165/issue7712_context_manager_v4.diff

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



[issue7812] Call to gestalt('sysu') on OSX can lead to freeze in wxPython apps

2010-02-07 Thread Ronald Oussoren

Ronald Oussoren ronaldousso...@mac.com added the comment:

Two short notes:

1) The call to gestalt('sysu') is basicly dead code and will be removed

2) Running the GUI runloop in a thread that is not the main thread is AFAIK not 
supported by Apple. I'm not 100% sure about the Carbon libraries, but in Cocoa 
the main thread has special significance.

--

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



[issue7812] Call to gestalt('sysu') on OSX can lead to freeze in wxPython apps

2010-02-07 Thread Ronald Oussoren

Ronald Oussoren ronaldousso...@mac.com added the comment:

Removed the call to gestalt('sysu') in r78056 (trunk), r78057 (2.6), r78058 
(3.x), r78060 (3.1)

(Also changing the type to 'behavior' instead of 'crash' because this is not a 
crashing bug in python).

--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed
type: crash - behavior

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



[issue7807] test_macostools fails on OS X 10.6: no attribute 'FSSpec'

2010-02-07 Thread Ronald Oussoren

Ronald Oussoren ronaldousso...@mac.com added the comment:

I've disabled the tests (and updated documentation) in r78061 (trunk), r78062 
(2.6)

The root cause is that the implemention of macostools uses FSSpecs to implement 
the failing APIs and those aren't available in 64-bit code. I haven't 
reimplemented the failing APIs because the modern replacements aren't wrapped 
in the Carbon module.

--

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



[issue7807] test_macostools fails on OS X 10.6: no attribute 'FSSpec'

2010-02-07 Thread Ronald Oussoren

Changes by Ronald Oussoren ronaldousso...@mac.com:


--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed

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



[issue7437] OS X 2.6.4 installer fails on 10.3 with two corrupted file names, ignored on 10.4

2010-02-07 Thread Ronald Oussoren

Ronald Oussoren ronaldousso...@mac.com added the comment:

TJ: thanks for testing on 10.3.9.

--
stage: test needed - committed/rejected
status: open - closed

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



[issue7714] configure GCC version detection fix for Darwin

2010-02-07 Thread Ronald Oussoren

Ronald Oussoren ronaldousso...@mac.com added the comment:

Ported to 2.6 (r78065),  3.x (r78066) and 3.1 (r78068)

--
status: open - closed

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



[issue7870] Duplicate test methods in test_memoryio

2010-02-07 Thread Georg Brandl

New submission from Georg Brandl ge...@python.org:

test_memoryio.TextIOTestMixin has duplicate (and conflicting!) definitions of 
test_relative_seek() and test_textio_properties().

--
assignee: pitrou
components: Tests
messages: 98994
nosy: georg.brandl, pitrou
priority: high
severity: normal
status: open
title: Duplicate test methods in test_memoryio

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



[issue7870] Duplicate test methods in test_memoryio

2010-02-07 Thread Georg Brandl

Changes by Georg Brandl ge...@python.org:


--
versions: +Python 2.7

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



[issue7871] Duplicate test method in test_heapq

2010-02-07 Thread Georg Brandl

New submission from Georg Brandl ge...@python.org:

test_heap has a duplicate test_get_only test method, and the one that's 
overwritten seems to end up in an infinite loop.

--
assignee: rhettinger
messages: 98995
nosy: georg.brandl, rhettinger
severity: normal
status: open
title: Duplicate test method in test_heapq
type: behavior
versions: Python 2.7

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



[issue7869] traceback from logging is unusable.

2010-02-07 Thread Vinay Sajip

Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:

Fix (slightly modified version of patch) checked into trunk (r78081), thanks 
Inada Naoki!

--
resolution:  - fixed
status: open - closed

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



[issue7872] Incorrect error raised on importing invalid module via unittest

2010-02-07 Thread Daniel Waterworth

New submission from Daniel Waterworth da.waterwo...@googlemail.com:

The problem is that when you import a module which is inside a package via 
'loadTestsFromName' in unittest.TestLoader. If the imported module raises a 
ImportError this is read to mean that the module itself is unavailable.

To illustrate this I have a small test-case. First run the file runtests.py in 
python or python3. Next uncomment the first line in test/test.py and run again. 
The error I receive is:

Traceback (most recent call last):
  File runtests.py, line 3, in module
suite = unittest.TestLoader().loadTestsFromName(test.test)
  File /usr/lib/python2.6/unittest.py, line 584, in loadTestsFromName
parent, obj = obj, getattr(obj, part)
AttributeError: 'module' object has no attribute 'test'

Whereas I believe this should raise an ImportError: No module named 
none_existant_module, just like it does when you try to import the module 
directly.

This would make the error more descriptive and therefore bugs of this nature 
easier to track down.

--
components: Library (Lib)
files: testcase.tar.bz2
messages: 98997
nosy: Daniel.Waterworth
severity: normal
status: open
title: Incorrect error raised on importing invalid module via unittest
type: behavior
versions: Python 3.1
Added file: http://bugs.python.org/file16166/testcase.tar.bz2

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



[issue7873] Remove precision restriction for integer formatting.

2010-02-07 Thread Mark Dickinson

New submission from Mark Dickinson dicki...@gmail.com:

Currently, in trunk:

 '%0.116x' % 1
'0001'
 '%0.117x' % 1
Traceback (most recent call last):
  File stdin, line 1, in module

This is intentional, and presumably due to use of a fixed-length buffer 
somewhere in the formatting internals.  It would be nice (and probably not very 
hard) to remove this precision restriction.

--
assignee: mark.dickinson
components: Interpreter Core
keywords: easy
messages: 98998
nosy: eric.smith, mark.dickinson
priority: normal
severity: normal
status: open
title: Remove precision restriction for integer formatting.
type: feature request
versions: Python 2.7, Python 3.2

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



[issue7873] Remove precision restriction for integer formatting.

2010-02-07 Thread Mark Dickinson

Mark Dickinson dicki...@gmail.com added the comment:

Looks like I accidentally truncated that traceback.  Here's the full version:

Python 2.7a2+ (trunk:78008M, Feb  5 2010, 23:39:39) 
[GCC 4.2.1 (Apple Inc. build 5646) (dot 1)] on darwin
Type help, copyright, credits or license for more information.
 '%0.116x' % 1
'0001'
[34971 refs]
 '%0.117x' % 1
Traceback (most recent call last):
  File stdin, line 1, in module
OverflowError: formatted integer is too long (precision too large?)
[35003 refs]

--

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



[issue7872] Incorrect error raised on importing invalid module via unittest

2010-02-07 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
nosy: +ezio.melotti, michael.foord
priority:  - normal
stage:  - test needed
versions: +Python 2.6, Python 2.7, Python 3.2

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



[issue7873] Remove precision restriction for integer formatting.

2010-02-07 Thread Mark Dickinson

Mark Dickinson dicki...@gmail.com added the comment:

Removing 3.2 from the versions:  the OverflowError appears to be specific to 
2.x ints:

 '%0.117x' % 1L
'1'

--
versions:  -Python 3.2

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



[issue7872] Incorrect error raised on importing invalid module via unittest

2010-02-07 Thread Michael Foord

Michael Foord mich...@voidspace.org.uk added the comment:

Duplicate of issue 7559.

--
resolution:  - duplicate
stage: test needed - committed/rejected
status: open - closed

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



[issue7712] Add a context manager to change cwd in test.test_support and run the test suite in a temp dir.

2010-02-07 Thread Florent Xicluna

Changes by Florent Xicluna la...@yahoo.fr:


Removed file: http://bugs.python.org/file16165/issue7712_context_manager_v4.diff

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



[issue7712] Add a context manager to change cwd in test.test_support and run the test suite in a temp dir.

2010-02-07 Thread Florent Xicluna

Florent Xicluna la...@yahoo.fr added the comment:

Let's fix some other tests.

--
Added file: http://bugs.python.org/file16167/issue7712_context_manager_v5.diff

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



[issue7874] logging.basicConfig should raise warning/exception on second call

2010-02-07 Thread Tobias

New submission from Tobias t...@gmx.li:

logging.basicConfig should raise warning/eception on second call. Why?

logging.basicConfig(filename=/tmp/works.log)
logging.basicConfig(filename=/tmp/worksnot.log)

what do you think does happen? Right - logging goes to /tmp/worksnot.log. But 
does not behave that way. The secound call does nothing. Simply bad coding 
style, an if without an else.

kind regards
Tobias

--
components: 2to3 (2.x to 3.0 conversion tool)
messages: 99003
nosy: tocomo
severity: normal
status: open
title: logging.basicConfig should raise warning/exception on second call
type: behavior
versions: Python 2.5, Python 2.6

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



[issue7859] support with self.assertRaises(SomeException) as exc: syntax

2010-02-07 Thread Benjamin Peterson

Benjamin Peterson benja...@python.org added the comment:

2010/2/7 Georg Brandl rep...@bugs.python.org:

 Georg Brandl ge...@python.org added the comment:

 Why not the un-magic context manager, which has an exc_value attribute with 
 the exception?

That's what I meant, but our perceptions of magic are clearly different. :)

--

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



[issue6171] Class Browser selection in Ubuntu

2010-02-07 Thread Serge

Serge sergre...@gmail.com added the comment:

TreeNode class which is used in IDLE class browser create a window for a text 
label on each single click and apparently under Ubuntu tcl looses first left 
button click and therefore doesn't generate left buttond double click event. 

In this patch I make changes to the TreeNode class so it creates a window for a 
text label only when needed (i.e. during initialization or when it was delete 
after collapse command)

--
components: +IDLE
keywords: +patch
nosy: +Serge
Added file: http://bugs.python.org/file16168/idle_classbrowser.patch

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



[issue7859] support with self.assertRaises(SomeException) as exc: syntax

2010-02-07 Thread Michael Foord

Michael Foord mich...@voidspace.org.uk added the comment:

Just use the context manager and the exception is available as exc_value.

--
nosy: +michael.foord
resolution:  - rejected
stage: needs patch - committed/rejected
status: open - closed

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



[issue7874] logging.basicConfig should raise warning/exception on second call

2010-02-07 Thread Brian Curtin

Changes by Brian Curtin cur...@acm.org:


--
components: +Library (Lib) -2to3 (2.x to 3.0 conversion tool)
nosy: +vinay.sajip
priority:  - normal
stage:  - test needed
versions: +Python 3.1 -Python 2.5

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



[issue7870] Duplicate test methods in test_memoryio

2010-02-07 Thread Antoine Pitrou

Antoine Pitrou pit...@free.fr added the comment:

Fixed!

--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed
type:  - behavior
versions: +Python 3.2

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



[issue7859] support with self.assertRaises(SomeException) as exc: syntax

2010-02-07 Thread Florent Xicluna

Florent Xicluna la...@yahoo.fr added the comment:

Thank you for this answer. The exception argument could be useful.
But it does not work as documented on r77999...

Btw, the documentation explains the behaviour I expect...

--
status: closed - pending

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



[issue7859] support with self.assertRaises(SomeException) as exc: syntax

2010-02-07 Thread Michael Foord

Changes by Michael Foord mich...@voidspace.org.uk:


--
status: pending - closed

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



[issue7859] support with self.assertRaises(SomeException) as exc: syntax

2010-02-07 Thread Florent Xicluna

Florent Xicluna la...@yahoo.fr added the comment:

Fixed (with tests) in r78094. Thank you Michael.

--

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



[issue7875] test_multiprocessing / importlib failure

2010-02-07 Thread Antoine Pitrou

New submission from Antoine Pitrou pit...@free.fr:

An interesting bug failure on one of the buildbots. It seems importlib has been 
enabled as the default import mechanism (when? where?).

test_multiprocessing
Process Process-24:
Traceback (most recent call last):
  File 
/home/buildbot/slave/py-build/3.1.norwitz-amd64/build/Lib/multiprocessing/process.py,
 line 233, in _bootstrap
self.run()
  File 
/home/buildbot/slave/py-build/3.1.norwitz-amd64/build/Lib/multiprocessing/process.py,
 line 88, in run
self._target(*self._args, **self._kwargs)
  File 
/home/buildbot/slave/py-build/3.1.norwitz-amd64/build/Lib/test/test_multiprocessing.py,
 line 1210, in _putter
manager.connect()
  File 
/home/buildbot/slave/py-build/3.1.norwitz-amd64/build/Lib/multiprocessing/managers.py,
 line 477, in connect
conn = Client(self._address, authkey=self._authkey)
  File 
/home/buildbot/slave/py-build/3.1.norwitz-amd64/build/Lib/multiprocessing/connection.py,
 line 427, in XmlClient
import xmlrpc.client as xmlrpclib
  File 
/home/buildbot/slave/py-build/3.1.norwitz-amd64/build/Lib/importlib/_bootstrap.py,
 line 151, in decorated
return fxn(self, module)
  File 
/home/buildbot/slave/py-build/3.1.norwitz-amd64/build/Lib/importlib/_bootstrap.py,
 line 399, in load_module
return self._load_module(module)
  File 
/home/buildbot/slave/py-build/3.1.norwitz-amd64/build/Lib/importlib/_bootstrap.py,
 line 324, in _load_module
code_object = self.get_code(module.__name__)
  File 
/home/buildbot/slave/py-build/3.1.norwitz-amd64/build/Lib/importlib/_bootstrap.py,
 line 411, in get_code
pyc_timestamp = marshal._r_long(data[4:8])
  File 
/home/buildbot/slave/py-build/3.1.norwitz-amd64/build/Lib/importlib/__init__.py,
 line 65, in _r_long
x = int_bytes[0]
IndexError: index out of range
test test_multiprocessing failed -- Traceback (most recent call last):
  File 
/home/buildbot/slave/py-build/3.1.norwitz-amd64/build/Lib/test/test_multiprocessing.py,
 line 1223, in test_rapid_restart
queue = manager.get_queue()
  File 
/home/buildbot/slave/py-build/3.1.norwitz-amd64/build/Lib/multiprocessing/managers.py,
 line 644, in temp
token, exp = self._create(typeid, *args, **kwds)
  File 
/home/buildbot/slave/py-build/3.1.norwitz-amd64/build/Lib/multiprocessing/managers.py,
 line 542, in _create
conn = self._Client(self._address, authkey=self._authkey)
  File 
/home/buildbot/slave/py-build/3.1.norwitz-amd64/build/Lib/multiprocessing/connection.py,
 line 427, in XmlClient
import xmlrpc.client as xmlrpclib
  File 
/home/buildbot/slave/py-build/3.1.norwitz-amd64/build/Lib/importlib/_bootstrap.py,
 line 151, in decorated
return fxn(self, module)
  File 
/home/buildbot/slave/py-build/3.1.norwitz-amd64/build/Lib/importlib/_bootstrap.py,
 line 399, in load_module
return self._load_module(module)
  File 
/home/buildbot/slave/py-build/3.1.norwitz-amd64/build/Lib/importlib/_bootstrap.py,
 line 324, in _load_module
code_object = self.get_code(module.__name__)
  File 
/home/buildbot/slave/py-build/3.1.norwitz-amd64/build/Lib/importlib/_bootstrap.py,
 line 411, in get_code
pyc_timestamp = marshal._r_long(data[4:8])
  File 
/home/buildbot/slave/py-build/3.1.norwitz-amd64/build/Lib/importlib/__init__.py,
 line 65, in _r_long
x = int_bytes[0]
IndexError: index out of range

--
components: Library (Lib), Tests
messages: 99010
nosy: brett.cannon, jnoller, pitrou
priority: normal
severity: normal
status: open
title: test_multiprocessing / importlib failure
type: behavior
versions: Python 3.1, Python 3.2

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



[issue7875] test_multiprocessing / importlib failure

2010-02-07 Thread Florent Xicluna

Changes by Florent Xicluna la...@yahoo.fr:


--
keywords: +buildbot

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



[issue6877] enable compilation of readline module on Mac OS X 10.5 and 10.6

2010-02-07 Thread Barry A. Warsaw

Barry A. Warsaw ba...@python.org added the comment:

Zvezdan, your fix1 patch works perfectly for me in Python 2.6 on both OS X 
10.5 and 10.6.  Great work!

I approve applying this patch for Python 2.6.5.  Ronald, would you like to do 
the honors?

--
assignee:  - ronaldoussoren
resolution: fixed - accepted

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



[issue6877] enable compilation of readline module on Mac OS X 10.5 and 10.6

2010-02-07 Thread Ronald Oussoren

Ronald Oussoren ronaldousso...@mac.com added the comment:

I have a question about this bit of the patch:

@@ -38,10 +38,31 @@
 #if defined(_RL_FUNCTION_TYPEDEF)
 extern char **completion_matches(char *, rl_compentry_func_t *);
 #else
+#if !defined(__APPLE__)
 extern char **completion_matches(char *, CPFunction *);
 #endif
 #endif
+#endif

That bit is not in the trunk, should it be forward ported to the trunk?

The actual prototype on 10.5 and 10.6 is:

char   **completion_matches(const char *, CPFunction *);

Wouldn't it be better to change the prototype in readline.c to match?

As that's not a critical change I've committed the fix1 patch as is in r78096.

--

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



[issue7658] OS X pythonw.c compile error with 10.4 or earlier deployment target: no spawn.h

2010-02-07 Thread Ronald Oussoren

Ronald Oussoren ronaldousso...@mac.com added the comment:

This is now fixed in the 3.2 branch as well.

--
status: open - closed

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



[issue7874] logging.basicConfig should raise warning/exception on second call

2010-02-07 Thread Vinay Sajip

Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:

The fact that the second call will do nothing is specifically documented:

http://docs.python.org/dev/library/logging.html#logging.basicConfig

This function does nothing if the root logger already has handlers configured 
for it.

This behaviour is by design, and not an accident caused by bad coding style. 
Please check the documentation before posting issues which are not real issues. 
Thanks.

--
resolution:  - invalid
status: open - closed

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



[issue6003] ZipFile.writestr compression_type argument

2010-02-07 Thread Ronald Oussoren

Ronald Oussoren ronaldousso...@mac.com added the comment:

Committed in r78097 (trunk) and r78098 (3.2). This includes the documentation 
change suggested in msg88437

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

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



[issue7875] test_multiprocessing / importlib failure

2010-02-07 Thread Brett Cannon

Brett Cannon br...@python.org added the comment:

I don't know who is doing this, but from what I can tell it isn't 
test_imoprtlib; running with -i shows __import__ to still be the built-in one 
along with no new sys.path_hooks entries or stale entries in 
sys.path_importer_cache. Same goes for when I run test_multiprocessing after 
test_importlib.

I will probably have to modify regrtest to check for new values in some key 
places to see who the culprit is.

--

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



[issue7875] test_multiprocessing / importlib failure

2010-02-07 Thread Brett Cannon

Changes by Brett Cannon br...@python.org:


--
assignee:  - brett.cannon

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



[issue7876] unittest docs use deprecated method in code example

2010-02-07 Thread Bernt Røskar Brenna

New submission from Bernt Røskar Brenna bernt.bre...@gmail.com:

Suggest change the code example to use assertRaises instead of failUnlessRaises.

The docs read:

assertRaises(exception[, callable, ...])¶
failUnlessRaises(exception[, callable, ...])¶


with self.failUnlessRaises(some_error_class):
do_something()

...

Deprecated since version 3.1: failUnlessRaises()

--
assignee: georg.brandl
components: Documentation
messages: 99017
nosy: Bernt.Røskar.Brenna, georg.brandl
severity: normal
status: open
title: unittest docs use deprecated method in code example
versions: Python 3.1

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



[issue7876] unittest docs use deprecated method in code example

2010-02-07 Thread Ezio Melotti

Ezio Melotti ezio.melo...@gmail.com added the comment:

Thanks for the report, this is fixed in r77999 and r78000 in trunk and py3k, 
but it needs to be backported to 3.1.

--
nosy: +ezio.melotti
priority:  - normal

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



[issue6877] enable compilation of readline module on Mac OS X 10.5 and 10.6

2010-02-07 Thread Meador Inge

Meador Inge mead...@gmail.com added the comment:

 That bit is not in the trunk, should it be forward ported to the trunk?

FWIW, I would really like to have it.

 The actual prototype on 10.5 and 10.6 is:

 char   **completion_matches(const char *, CPFunction *);

 Wouldn't it be better to change the prototype in readline.c to match?

I may have missed something, but the patch is actually *excluding* the
prototype on OS X, i.e. #if *not* defined.  Thus the 'const char*' prototype
that comes in with 'readline.h' is the one that will be used.

On the other hand, if you are proposing to make them 'match' just to avoid
the redefinition conflict, then this may break on other systems where 'char
*' is used.

Regards,

-- Meador

--
Added file: http://bugs.python.org/file16169/unnamed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6877
___divdivgt; That bit is not in the trunk, should it be forward ported to 
the trunk?/divdivbr/divdivFWIW, I would really like to have 
it./divdivbr/divdivgt; The actual prototype on 10.5 and 10.6 is:br
gt;brgt; char           **completion_matches(const char *, CPFunction 
*);brgt;brgt; Wouldn#39;t it be better to change the prototype in 
readline.c to match?/divdivbr/divdivI may have missed something, but 
the patch is actually *excluding* the prototype on OS X, i.e. #if *not* 
defined.  Thus the #39;const char*#39; prototype that comes in with 
#39;readline.h#39; is the one that will be used./div
divbr/divdivOn the other hand, if you are proposing to make them 
#39;match#39; just to avoid the redefinition conflict, then this may break 
on other systems where #39;char *#39; is used./divdivbr/divdiv
Regards,/divdivbrdiv class=gmail_quote-- Meador/div
/div/div
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7877] Iterators over _winreg EnumKey and EnumValue results

2010-02-07 Thread Brian Curtin

New submission from Brian Curtin cur...@acm.org:

While EnumKey and EnumValue directly implement the underlying Windows calls of 
the same name, they don't feel very Pythonic. The user has to create their own 
loop and increment a counter to get all of the keys or values, stopping the 
loop when WindowsError is raised.

I created IterKey and IterValue, iterators over RegEnumKeyEx and RegEnumValueEx 
respectively. This mainly began as playing around with writing Python iterators 
in C, but has proven to work pretty nicely so I figured I'd put it out there.

Patch includes docs and tests. Comments/suggestions welcome and appreciated.

--
components: Library (Lib), Windows
files: keyvalue_iterators.diff
keywords: needs review, patch, patch
messages: 99020
nosy: brian.curtin
priority: normal
severity: normal
stage: patch review
status: open
title: Iterators over _winreg EnumKey and EnumValue results
type: feature request
versions: Python 2.7, Python 3.2
Added file: http://bugs.python.org/file16170/keyvalue_iterators.diff

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



[issue7501] python -m unittest path_to_suite_function errors

2010-02-07 Thread Michael Foord

Michael Foord mich...@voidspace.org.uk added the comment:

Is this needed as well as the load_tests protocol?

If a test module defines a load_tests function that returns a test suite then 
the following creates the test suite from load_tests and executes that:

python -m unittest modulename

I don't think we need a test_suite protocol as well.

--

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



[issue7875] test_multiprocessing / importlib failure

2010-02-07 Thread Brett Cannon

Brett Cannon br...@python.org added the comment:

OK, I figured this one out. Someone is using importlib.import_module() which 
uses importlib itself to do the import and not builtins.__import__. That has 
the side-effect of importlib replacing all None entries in 
sys.path_importer_cache with the finder that importlib creates (an optimization 
so that importlib doesn't have to re-construct the finder constantly and to 
slowly drop the use of None).

There are three ways to fix this. One is to not insert the new finders into 
sys.path_importer_cache. Two is to have importlib.import_module use __import__. 
Three is to leave it as-is (and to obviously fix the problem importlib is 
triggering).

From a selfish perspective I like option 3 since it helps weed out bugs in 
importlib, but that is unfair to __import__ for testing plus it slows down the 
test suite overall from importlib being slower. And I won't do option 1 since 
that would make importlib perform even worse. So I guess that leaves option 2 
unless people are actually okay with option 3.

--

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



[issue7875] test_multiprocessing / importlib failure

2010-02-07 Thread Brett Cannon

Changes by Brett Cannon br...@python.org:


--
dependencies: +importlib not checking bytecode length

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



[issue7361] importlib not checking bytecode length

2010-02-07 Thread Brett Cannon

Brett Cannon br...@python.org added the comment:

issue #7875 brought up the original failure that caused the creation of this 
bug again and led to me finally diagnosing the problem.

--

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



[issue7878] regrtest should check for changes in import machinery

2010-02-07 Thread Brett Cannon

New submission from Brett Cannon br...@python.org:

The saved_test_environment context manager should check that sys.path_hooks, 
sys.path_importer_cache, and __import__ have not changed.

The thing that is tricky, though, is that sys.path_importer_cache is 
legitimately mutated by other tests simply because valid imports put in new 
values. The most conservative check, then, is to validate that pre-existing 
keys do not change their values. A more liberal check is to whitelist finders 
and validate that no key have a value that is not on the whitelist.

And for __import__, assigning against __builtins__.__import__ should be enough 
to also catch builtins.__import__.

--
assignee: brett.cannon
components: Tests
keywords: easy
messages: 99024
nosy: brett.cannon
priority: low
severity: normal
stage: needs patch
status: open
title: regrtest should check for changes in import machinery
type: feature request
versions: Python 3.2

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



[issue7361] importlib not checking bytecode length

2010-02-07 Thread Brett Cannon

Brett Cannon br...@python.org added the comment:

A quick check of things shows that a totally empty file, a missing timestamp, 
or no marshalled code triggers the use of source. I still need to check what 
happens when the magic number is truncated by a byte or so along with the 
timestamp.

Any screw-up with the marshalled code should still be an error.

--

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



[issue7879] Too narrow platform check in test_datetime

2010-02-07 Thread Andrej Krpic

New submission from Andrej Krpic akrpi...@gmail.com:

Windows doesn't accept negative timestamps (stated in the comment), yet checks 
is made against os.name instead of sys.platform.

patch fixes that, and also enables windows ce to pass on this test.

I think this is better than having os.name in (nt, ce).

--
components: Tests
files: test_datetime_win32_check.patch
keywords: patch
messages: 99026
nosy: akrpic77
severity: normal
status: open
title: Too narrow platform check in test_datetime
versions: Python 2.7
Added file: http://bugs.python.org/file16171/test_datetime_win32_check.patch

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



[issue7880] sysconfig does not like symlinks

2010-02-07 Thread Florent Xicluna

New submission from Florent Xicluna la...@yahoo.fr:

~ $ cd /tmp
 ~ $ ln -s /usr/local/bin/python .
 ~ $ ./python -c import sys; print sys.executable
'import site' failed; use -v for traceback
/tmp/python

--
assignee: tarek
components: Library (Lib)
messages: 99027
nosy: ezio.melotti, flox, tarek
priority: normal
severity: normal
status: open
title: sysconfig does not like symlinks
type: behavior
versions: Python 2.7, Python 3.2

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



[issue7880] sysconfig does not like symlinks

2010-02-07 Thread Tarek Ziadé

Changes by Tarek Ziadé ziade.ta...@gmail.com:


--
priority: normal - high

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



[issue7880] sysconfig does not like symlinks

2010-02-07 Thread Tarek Ziadé

Tarek Ziadé ziade.ta...@gmail.com added the comment:

Here's the traceback, I'll look at the problem asap

'import site' failed; traceback:
Traceback (most recent call last):
  File /MacDev/svn.python.org/python-trunk/Lib/site.py, line 530, in module
main()
  File /MacDev/svn.python.org/python-trunk/Lib/site.py, line 509, in main
addbuilddir()
  File /MacDev/svn.python.org/python-trunk/Lib/site.py, line 118, in 
addbuilddir
s = build/lib.%s-%.3s % (get_platform(), sys.version)
  File /MacDev/svn.python.org/python-trunk/Lib/sysconfig.py, line 577, in 
get_platform
cfgvars = get_config_vars()
  File /MacDev/svn.python.org/python-trunk/Lib/sysconfig.py, line 402, in 
get_config_vars
_init_posix(_CONFIG_VARS)
  File /MacDev/svn.python.org/python-trunk/Lib/sysconfig.py, line 255, in 
_init_posix
raise IOError(msg)
IOError: invalid Python installation: unable to open 
/usr/local/lib/python2.7/config/Makefile (No such file or directory)

--

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



[issue7880] sysconfig does not like symlinks

2010-02-07 Thread Florent Xicluna

Florent Xicluna la...@yahoo.fr added the comment:

proposed fix.

--
keywords: +patch
Added file: http://bugs.python.org/file16172/issue7880_sysconfig.diff

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



[issue7880] sysconfig does not like symlinks

2010-02-07 Thread Florent Xicluna

Changes by Florent Xicluna la...@yahoo.fr:


--
stage:  - patch review

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



[issue7880] sysconfig does not like symlinks

2010-02-07 Thread Florent Xicluna

Changes by Florent Xicluna la...@yahoo.fr:


Removed file: http://bugs.python.org/file16172/issue7880_sysconfig.diff

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



[issue7880] sysconfig does not like symlinks

2010-02-07 Thread Florent Xicluna

Florent Xicluna la...@yahoo.fr added the comment:

actually realpath == abspath on most platforms where symlink is not implemented.

Changed.

--
Added file: http://bugs.python.org/file16173/issue7880_sysconfig.diff

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



[issue6877] enable compilation of readline module on Mac OS X 10.5 and 10.6

2010-02-07 Thread Zvezdan Petkovic

Zvezdan Petkovic zvez...@zope.com added the comment:

Ronald,

 That bit is not in the trunk, should it be forward ported to the trunk?

Yes, that should be applied to trunk and 3.x to make it work on Mac OS X 10.5 
(Leopard).  I indicated that in msg98979.

The explanation why that part is needed is given in msg98978 and msg98913.
That ultimately points to re-declaration of completion_matches() inserted in a 
patch in issue4204 (see my comments in the last two messages there).

We must *avoid* the duplicate declaration on Mac OS X, because the same 
declaration is already in /usr/include/readline/readline.h.
Hence #if !defined(__APPLE__) is used.

So, the readline-libedit-trunk.patch I attached yesterday should be applied to 
trunk (2.7) and 3.x.

 As that's not a critical change I've committed the fix1 patch as is in r78096.

It seems that you forgot to

svn add Lib/test/test_readline.py

before committing.
If you run svn status on that checkout I bet it will show with '?' in the left 
column.

P.S.
FWIW, you are right about #include stdlib.h.  I removed it from the patch 
yesterday (notice attachment, removal, and a new attachment in the history).

--

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



[issue7881] Hardcoded path, unsafe tempfile in test_logging

2010-02-07 Thread Neil Schemenauer

New submission from Neil Schemenauer nas-pyt...@arctrix.com:

The commit for issue #7868 added the following line to test_logging:

print  open('/tmp/tmp.txt', 'w'), type(logger)

I'm not sure if that was intentional but it should be fixed.  For one, that 
path does not necessarily exist.  Secondly, opening a file in a world writable 
directory like that is a potential security problem.  A simple fix would be to 
use tempfile.TemporaryFile().

--
assignee: vinay.sajip
components: Tests
messages: 99032
nosy: nascheme, vinay.sajip
severity: normal
stage: needs patch
status: open
title: Hardcoded path, unsafe tempfile in test_logging
type: behavior
versions: Python 2.7

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



[issue7712] Add a context manager to change cwd in test.test_support and run the test suite in a temp dir.

2010-02-07 Thread Ezio Melotti

Ezio Melotti ezio.melo...@gmail.com added the comment:

Almost completed patch, the code should be OK, I just have to add a few 
comments and check that it works fine in all the situations.

--
Added file: http://bugs.python.org/file16175/issue7712v2.diff

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



[issue5341] A selection of spelling errors and typos throughout source

2010-02-07 Thread Éric Araujo

Éric Araujo mer...@netwok.org added the comment:

I should have seen this when changing one use of “builtin”. Applies only to 
py3k, since the glossary for trunk does not mention the `next` function.

--
Added file: http://bugs.python.org/file16176/typo.diff

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



[issue7843] python-dev archives are not updated

2010-02-07 Thread Ilya Sandler

Ilya Sandler ilya.sand...@gmail.com added the comment:

As of Feb 2, 2010, archives seem to be functioning as expected ;-)

--
status: open - closed

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



[issue5802] The security descriptors of python binaries in Windows are not strict enough

2010-02-07 Thread Brian Curtin

Changes by Brian Curtin cur...@acm.org:


--
stage:  - test needed

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



[issue7881] Hardcoded path, unsafe tempfile in test_logging

2010-02-07 Thread Kurt B. Kaiser

Kurt B. Kaiser k...@shore.net added the comment:

In addition, the /tmp/tmp.txt file is only writeable by the user that created 
it.  On the buildbot machine I'm admin'ing, the buildslave user created the 
file and user neal's run of build.sh on the trunk fails because it can't write 
the file.  Also, to avoid clutter in /tmp, the file should not only be created 
safely as Neil suggests, but removed when the test is complete.

--
nosy: +kbk

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



[issue5802] The security descriptors of python binaries in Windows are not strict enough

2010-02-07 Thread Hong Chen

Hong Chen cn.hongc...@gmail.com added the comment:

Thanks for the reply.  I can log in as a non-admin user and replace
python.exe with another binary.  Does that serve as an attack example?

Hong

On Sun, Feb 7, 2010 at 7:14 PM, Brian Curtin rep...@bugs.python.org wrote:

 Changes by Brian Curtin cur...@acm.org:


 --
 stage:  - test needed

 ___
 Python tracker rep...@bugs.python.org
 http://bugs.python.org/issue5802
 ___


--

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



[issue7881] Hardcoded path, unsafe tempfile in test_logging

2010-02-07 Thread Vinay Sajip

Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:

Sorry for the goof; that line was unintentionally left in. Now removed (r78103).

--
resolution:  - fixed
status: open - closed

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