[issue12326] Linux 3: tests should avoid using sys.platform == 'linux2'

2011-06-22 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: What are these directories? Look and see for yourself. Are they still used? Sure. If you do import DLFCN, it will come from that directory. -- ___ Python tracker rep...@bugs.python.org

[issue12326] Linux 3: tests should avoid using sys.platform == 'linux2'

2011-06-22 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: -- nosy: +petri.lehtinen ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12326 ___ ___ Python-bugs-list

[issue12380] bytearray methods center, ljust, rjust don't accept a bytearray as the fill character

2011-06-22 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: -- nosy: +petri.lehtinen ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12380 ___ ___ Python-bugs-list

[issue12326] Linux 3: tests should avoid using sys.platform == 'linux2'

2011-06-22 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: So people who say sys.platform shouldn't be used: what do you propose to do with Lib/plat-linux2 (or, more generally, Lib/plat-*)? These directories look useless to me. (IIRC, putting an obvious syntax error there does not trigger any failure

[issue7434] general pprint rewrite

2011-06-22 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- nosy: +aronacher ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7434 ___ ___

[issue7434] general pprint rewrite

2011-06-22 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: Link to Armin's work on a pprint improvement based on a Ruby pprint tool: https://github.com/mitsuhiko/prettyprint -- ___ Python tracker rep...@bugs.python.org

[issue7434] general pprint rewrite

2011-06-22 Thread Łukasz Langa
Łukasz Langa luk...@langa.pl added the comment: Mine still lies here: https://bitbucket.org/langacore/nattyprint -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7434 ___

[issue9561] distutils: set encoding to utf-8 for input and output files

2011-06-22 Thread Michał Górny
Michał Górny mgo...@gentoo.org added the comment: Now that installing scripts with unicode characters was fixed, shall I open a separate bug for writing egg files with utf8 chars in author name? -- ___ Python tracker rep...@bugs.python.org

[issue12386] packaging fails in install_distinfo when writing RESOURCES

2011-06-22 Thread Vinay Sajip
New submission from Vinay Sajip vinay_sa...@yahoo.co.uk: This part of install_distinf.run(): if install_data.get_resources_out() != []: resources_path = os.path.join(self.distinfo_dir, 'RESOURCES') logger.info('creating %s',

[issue9561] distutils: set encoding to utf-8 for input and output files

2011-06-22 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment: Please file a separate issue. -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9561 ___

[issue12087] install_egg_info fails with UnicodeEncodeError depending on locale

2011-06-22 Thread Michał Górny
Changes by Michał Górny mgo...@gentoo.org: -- nosy: +mgorny ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12087 ___ ___ Python-bugs-list mailing

[issue12326] Linux 3: tests should avoid using sys.platform == 'linux2'

2011-06-22 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Indeed, the lib/plat- directories should continue to work just fine using linux3, correct? Or using linux, if we change sys.platform. (Note: just because we don't import them in the test suite doesn't mean that user code in the field

[issue12326] Linux 3: tests should avoid using sys.platform == 'linux2'

2011-06-22 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: the platform does external calls to system commands such as uname, I guess it’s the platform module. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12326

[issue12181] SIGBUS error on OpenBSD (sparc64)

2011-06-22 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: Here's a patch. -- keywords: +needs review, patch stage: - patch review Added file: http://bugs.python.org/file22423/kevent_openbsd.diff ___ Python tracker rep...@bugs.python.org

[issue12181] SIGBUS error on OpenBSD (sparc64)

2011-06-22 Thread Charles-François Natali
Changes by Charles-François Natali neolo...@free.fr: Removed file: http://bugs.python.org/file22423/kevent_openbsd.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12181 ___

[issue1874] email parser does not register a defect for invalid Content-Transfer-Encoding on multipart messages

2011-06-22 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 5a2602939d5d by R David Murray in branch 'default': #1874: detect invalid multipart CTE and report it as a defect. http://hg.python.org/cpython/rev/5a2602939d5d -- nosy: +python-dev ___

[issue1874] email parser does not register a defect for invalid Content-Transfer-Encoding on multipart messages

2011-06-22 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Thanks for the patches. I didn't use them, but they were helpful references. This is in a grey area between a bug and a feature request. The fact is, though, that for the most part the email module currently doesn't make extra effort

[issue12387] IDLE save hotkey problem

2011-06-22 Thread Jacob VB
New submission from Jacob VB jacob.andrew...@gmail.com: IDLE (for Python 3.2) fails to save using the ctrl-s keyboard shortcut when caps-lock is enabled, and instead only saves when ctrl-shift-s is pressed. When caps-lock is disabled, all shortcuts work normally. -- components: IDLE

[issue12387] IDLE save keyboard shortcut problem

2011-06-22 Thread Jacob VB
Changes by Jacob VB jacob.andrew...@gmail.com: -- title: IDLE save hotkey problem - IDLE save keyboard shortcut problem ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12387 ___

[issue12387] IDLE save keyboard shortcut problem

2011-06-22 Thread Jacob VB
Jacob VB jacob.andrew...@gmail.com added the comment: IDLE (for Python 3.2) fails to save using the ctrl-s keyboard shortcut when caps-lock is enabled, and instead only saves when ctrl-shift-s is pressed. When caps-lock is disabled, all shortcuts work normally. --

[issue12313] make install misses test dirs for packaging and email modules

2011-06-22 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: The changes have been checked in by Barry and David, so I'm closing this issue. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org

[issue12383] subprocess.Popen(..., env={}) fails to pass empty env.

2011-06-22 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset da3af4b131d7 by Victor Stinner in branch '3.2': Issue #12383: fix test_empty_env() of subprocess on Mac OS X http://hg.python.org/cpython/rev/da3af4b131d7 New changeset 29819072855a by Victor Stinner in branch 'default': (merge 3.2)

[issue12363] test_signal.test_without_siginterrupt() sporadic failures on FreeBSD 6.4

2011-06-22 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset aff0a7b0cb12 by Victor Stinner in branch 'default': Issue #12363: improve siginterrupt() tests http://hg.python.org/cpython/rev/aff0a7b0cb12 -- ___ Python tracker rep...@bugs.python.org

[issue12363] test_signal.test_without_siginterrupt() sporadic failures on FreeBSD 6.4

2011-06-22 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Apart from removing those tests, I don't see what we can do here. The previous version of the test rarely failed (only sometimes on the FreeBSD 6.4 buildbox). We may revert my commits to restore the previous test if the new tests

[issue12181] SIGBUS error on OpenBSD (sparc64)

2011-06-22 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Why did you remove your patch? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12181 ___

[issue9642] #ifdef and mbcs: don't check for defined(HAVE_USABLE_WCHAR_T)

2011-06-22 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: have_mbcs.patch: use HAVE_MBCS define instead of different tests to check if the MBCS codec can be used or not. HAVE_MBCS is defined in unicodeobject.h by: #if defined(MS_WINDOWS) defined(HAVE_USABLE_WCHAR_T) # define HAVE_MBCS

[issue12388] cannot specify recursive extra_files in packaging setup.cfg

2011-06-22 Thread Vinay Sajip
New submission from Vinay Sajip vinay_sa...@yahoo.co.uk: When given a section like [files] extra_files = somedir/** only the first-level contents of somedir and included in the tarball created when you run pysetup3 run sdist. Ideally, the entire tree below somedir should be included. A

[issue12383] subprocess.Popen(..., env={}) fails to pass empty env.

2011-06-22 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 52c5f80122dd by Victor Stinner in branch '3.2': Issue #12383: skip test_empty_env() of subprocess on Windows http://hg.python.org/cpython/rev/52c5f80122dd New changeset 93cd98782f47 by Victor Stinner in branch 'default': (merge 3.2)

[issue12389] typo in urllib: missing space after dot at sentence end

2011-06-22 Thread Vladimir Rutsky
New submission from Vladimir Rutsky altsy...@gmail.com: There is a typo in urllib module documentation: missing space after dot at sentence end. Please see attached path for details. -- assignee: docs@python components: Documentation files: urllib-typo-space-after-dot.patch keywords:

[issue12389] typo in urllib: missing space after dot at sentence end

2011-06-22 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset a0ad25ca772b by R David Murray in branch '2.7': #12389: fix missing space at sentence end. http://hg.python.org/cpython/rev/a0ad25ca772b -- nosy: +python-dev ___ Python tracker

[issue12389] typo in urllib: missing space after dot at sentence end

2011-06-22 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Thanks. -- nosy: +r.david.murray resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12389

[issue12387] IDLE save keyboard shortcut problem

2011-06-22 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +kbk, terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12387 ___ ___

[issue12380] bytearray methods center, ljust, rjust don't accept a bytearray as the fill character

2011-06-22 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: After thinking about this awhile, I see the key sentence of David's reply as The data type of the arguments to the method have no necessary relationship with the datatype of the object. While true in general, in it not true with respect to

[issue12387] IDLE save keyboard shortcut problem

2011-06-22 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- Removed message: http://bugs.python.org/msg138829 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12387 ___

[issue12387] IDLE save keyboard shortcut problem

2011-06-22 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: (The message I deleted was a duplicate of the original). Verified with 3.2.0 on WinXP (Jacob, I/O issues, including keyboard, especially need system specified. What is yours? If Windows, this might be Windows-specific.) With CAPS LOCK on,

[issue12387] IDLE save keyboard shortcut problem

2011-06-22 Thread Jacob VB
Jacob VB jacob.andrew...@gmail.com added the comment: I'm running Windows 7 Home Premium 64-bit, on an Alienware M17x (a laptop) using the built-in keyboard. It's definitely possible that the problem is Windows-specific; perhaps it has to do with the fact that when caps lock is on the shift

[issue10354] tempfile.template is broken

2011-06-22 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset eafe8c7f7049 by R David Murray in branch 'default': #10354: remove last public mentions of 'template' and comment as private. http://hg.python.org/cpython/rev/eafe8c7f7049 -- nosy: +python-dev

[issue10354] tempfile.template is broken

2011-06-22 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I have removed the last mentions of template from the docs and docstrings, and added a comment that it is a private variable despite its name. I do not see a reason to break backward compatibility just to have a leading underscore in

[issue9921] os.path.join('x','') behavior

2011-06-22 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Here is a patch that I think describes the algorithm correctly, based on the comments in the module, with a clarifying parenthetical to cover the non-obvious consequence of that algorithm. -- versions: +Python 3.3 -Python 3.1

[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2011-06-22 Thread Chris Withers
Chris Withers ch...@simplistix.co.uk added the comment: Just got bitten by this as well, what still needs to happen with the patch? -- keywords: -easy nosy: +cjw296 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2202

[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2011-06-22 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: One question is whether this is a bug fix or a feature request. Other than that, I'd like to see the test classes collapsed into a single test class, considering that each one only has a single test in it. Probably ProxyAuthTests

[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2011-06-22 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com added the comment: Yes, it is a feature. Sorry that I have not paid attention to this. The Windows (IIS) part led me to delay as I did not have any to test. Let me take this up and see through it in 3.3. -- ___

[issue12390] urllib.parse.urlencode encoding lists as strings

2011-06-22 Thread Joesph
New submission from Joesph someone...@gmail.com: Per the documentation urlencode is supposed to encode a structure returned by parse_qs back to a query string. However, urlencode appears to not be processing the lists associated with each key. Example: import urllib.parse dictQuery =

[issue12380] bytearray methods center, ljust, rjust don't accept a bytearray as the fill character

2011-06-22 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: -- nosy: +eli.bendersky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12380 ___ ___ Python-bugs-list

[issue12390] urllib.parse.urlencode encoding lists as strings

2011-06-22 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com added the comment: I see you missed the doseq parameter which is applicable in this case. print(urllib.parse.urlencode(dictQuery, encoding='iso8859-1',doseq=True)) a=bc=dc=eb=c -- nosy: +orsenthil resolution: - invalid status: open - closed