[issue14810] Bug in tarfile

2012-05-16 Thread Lars Gustäbel
Changes by Lars Gustäbel : -- assignee: -> lars.gustaebel ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue14838] IDLE Will not load on reinstall

2012-05-16 Thread Cain
New submission from Cain : After reinstalling Python 3.2.2, I have been unable to load IDLE - it simply refuses to respond. I have tried upgrading to 3.3 also, and still have the same problem - following multiple uninstalls, reinstalls and searching, I can't appear to find any solution to this

[issue14652] Better error messages for wsgiref validator failures

2012-05-16 Thread Jeff McNeil
Jeff McNeil added the comment: I went through the patch real quick and I noticed that your using single element tuples in your string formatting. That makes sense in situations where the argument might itself be a tuple, however, not on calls to len() as that will return an integer. ---

[issue14134] xmlrpc.client.ServerProxy needs timeout parameter

2012-05-16 Thread Jeff McNeil
Jeff McNeil added the comment: I would think it might make more sense just to make the change to the Transport object. Since there's an argument for a transport on ServerProxy already, that seems more straightforward and keeps the network layer isolated. Otherwise, it seems slightly ambiguou

[issue14823] Simplify threading.Lock.acquire() description

2012-05-16 Thread Q
Q added the comment: Well, as threading is a Python wrapper, this could easily be fixed. (I am not certain whether it *should* be fixed or not -- perhaps things are fine just as they are, at least with that particular detail. ) But this is good to know, thank you. -- __

[issue11880] add a {dist-info} category to distutils2

2012-05-16 Thread Daniel Holth
Daniel Holth added the comment: Implemented in https://bitbucket.org/dholth/cpython/changeset/c493a5179621 Advice on writing the unit test would be appreciated. -- ___ Python tracker _

[issue10530] distutils2 should allow the installing of python files with invalid syntax

2012-05-16 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue14715] test.support.DirsOnSysPath should be replaced by importlib.test.util.import_state

2012-05-16 Thread Eric V. Smith
Eric V. Smith added the comment: The current tests don't like setting sys.modules to []. I like resetting everything (including sys.modules) back to the original state. Otherwise some tests, which do things like "import foo", affect later tests. So, I think I'll leave the patch as-is. I'll re

[issue14715] test.support.DirsOnSysPath should be replaced by importlib.test.util.import_state

2012-05-16 Thread Eric V. Smith
Eric V. Smith added the comment: Actually, I was planning on resetting everything, but I haven't gotten that to work yet. I can't figure out why (but I will!). With the current patch, where things are not reset, the only test I had to change was test_path_importer_cache_empty_string. That cha

[issue14715] test.support.DirsOnSysPath should be replaced by importlib.test.util.import_state

2012-05-16 Thread Brett Cannon
Brett Cannon added the comment: So from what I can tell you are advocating not resetting anything by default but instead only save the details and then reset it later. That's fine with me (aligns more with the warnings context manager), the importlib tests will simply need to be updated so as

[issue14836] Add next(iter(o)) to set.pop, dict.popitem entries.

2012-05-16 Thread Éric Araujo
Éric Araujo added the comment: > Use next(iter(s)) to return an arbitrary element I would suggest s/return/get/ IIUC calling this twice in a row will get the same element; should the doc mention that? -- nosy: +eric.araujo ___ Python tracker

[issue13934] sqlite3 test typo

2012-05-16 Thread Éric Araujo
Éric Araujo added the comment: Thanks! The code patch should use unittest.skip instead of return (even if the rest of the file uses return, we can improve that one step at a time). -- nosy: +eric.araujo ___ Python tracker

[issue13210] Support Visual Studio 2010

2012-05-16 Thread Jason R. Coombs
Jason R. Coombs added the comment: Kristjan, I'm trying to apply your most recent patch, but many of the hunks fail. I tried to find it by time, but failed to do so. Perhaps you know what revision that patch was against? Thanks. -- nosy: +jason.coombs ___

[issue14475] codecs.StreamReader.read behaves differently from regular files

2012-05-16 Thread Andrew
Andrew added the comment: Just got this behavior, with readlines(), which is unsurprising since it internally uses read() as described in the original bug report. The break on line 468 of codecs.py seems to be the problem, it fixes it if I remove this conditional locally. http://hg.python.or

[issue14836] Add next(iter(o)) to set.pop, dict.popitem entries.

2012-05-16 Thread Ned Deily
Changes by Ned Deily : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue9548] locale can be imported at startup but relies on too many library modules

2012-05-16 Thread STINNER Victor
STINNER Victor added the comment: > initializing the standard streams imports Lib/locale.py It looks like only locale.getpreferredencoding() is needed to initialize standard streams. Another option is to add a locale encoding codec. I already proposed the idea in #13619 but it was rejected.

[issue14837] Better SSL errors

2012-05-16 Thread Antoine Pitrou
New submission from Antoine Pitrou : This patch tries to provide better SSL errors by using OpenSSL's official mnemonics. The sub-library mnemonic (e.g. "SSL", "PEM"...) is provided as the "library" attribute on an exception, and the reason mnemonic (e.g. "CERTIFICATE_VERIFY_FAILED") is provid

[issue14834] A list of broken links on the python.org website

2012-05-16 Thread Ned Deily
Ned Deily added the comment: Thanks for the report. I've fixed the 2.0.1 and 2.5.6 (also 2.5.5) link problems you reported. It looks like the .asc files for the entire 3.1.x release series do not exist; I've noised the release manager for that. The /community/jobs section of the website is

[issue14836] Add next(iter(o)) to set.pop, dict.popitem entries.

2012-05-16 Thread Terry J. Reedy
New submission from Terry J. Reedy : There have been several requests for a set.get() (no args) or set.pick() method to get an item without deleting it as .pop() does. Probably the best answer is to use the simple generic composition next(iter(s)). The counter response is that it is hardly obv

[issue1508864] threading.Timer/timeouts break on change of win32 local time

2012-05-16 Thread STINNER Victor
STINNER Victor added the comment: > threading.py imports time.time as _time. threading is now using a monotonic clock: see the issue #14222 and the PEP 418. -- ___ Python tracker ___

[issue8376] Tutorial offers dangerous advice about iterators: “__iter__() can just return self”

2012-05-16 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +terry.reedy versions: +Python 3.3 -Python 2.6, Python 3.1 ___ Python tracker ___ ___ Python-bugs-

[issue14813] Can't build under VS2008 anymore

2012-05-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset f6a207d86154 by Stefan Krah in branch 'default': Issue 14813: Fix Visual Studio 2008 build after the move into the PC/VS9.0 http://hg.python.org/cpython/rev/f6a207d86154 -- nosy: +python-dev ___ Python t

[issue14835] plistlib: output empty elements correctly

2012-05-16 Thread Sidney San Martín
New submission from Sidney San Martín : plistlib’s output is currently byte-for-byte identical to Apple’s, except arrays and dictionaries are stored with self-closing tags (e.g. '') and plistlib outputs empty tags with a newline (e.g. '\n'). This tiny patch makes its output for empty arrays an

[issue14813] Can't build under VS2008 anymore

2012-05-16 Thread Martin v . Löwis
Martin v. Löwis added the comment: Zitat von Stefan Krah : > Stefan Krah added the comment: > >> Preferably, the project files would be generated from the VS2010 >> project files, but for the moment, manually editing to make them >> work again might be fine as well. > > > Martin, Brian: Ca

[issue14715] test.support.DirsOnSysPath should be replaced by importlib.test.util.import_state

2012-05-16 Thread Eric V. Smith
Eric V. Smith added the comment: Also for use in test_pkgutil. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue14783] Update int() docstring from manual

2012-05-16 Thread Ezio Melotti
Changes by Ezio Melotti : -- assignee: docs@python -> nosy: +ezio.melotti stage: -> needs patch type: -> enhancement ___ Python tracker ___ ___

[issue13031] small speed-up for tarfile.py when unzipping tarballs

2012-05-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Justin, perhaps of interest to the patch would be better if you provide any microbenchmark. -- ___ Python tracker ___ __

[issue14826] urllib2.urlopen fails to load URL

2012-05-16 Thread Anthony Long
Anthony Long added the comment: http://maw.liquifire.com/maw?set=image[2302.000.13314%20a]&call=url[file:325x445] works properly. Notice the %20 instead of ' ' -- nosy: +antlong ___ Python tracker ___

[issue14834] A list of broken links on the python.org website

2012-05-16 Thread Anthony Long
New submission from Anthony Long : http://python.org/community/jobs/ http://python.org/community/jobs/www.austinfraser.com \_ error code: 404 (not found) http://python.org/lumino.so \_ error code: 404 (not found) http://python.org/community/jobs

[issue14833] Copyright date in footer of /pypi says 2011

2012-05-16 Thread Anthony Long
New submission from Anthony Long : http://pypi.python.org/pypi The copyright in the footer says 2011. -- components: None messages: 160928 nosy: antlong priority: normal severity: normal status: open title: Copyright date in footer of /pypi says 2011 ___

[issue13031] small speed-up for tarfile.py when unzipping tarballs

2012-05-16 Thread Ross Lagerwall
Changes by Ross Lagerwall : -- nosy: +rosslagerwall ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue14780] urllib.request could use the default CA store

2012-05-16 Thread James Oakley
James Oakley added the comment: Ok, perfect. I submitted a copy of the agreement. -- ___ Python tracker ___ ___ Python-bugs-list mail

[issue14313] zipfile should raise an exception for unsupported compression methods

2012-05-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > I still like NotImplementedError more than RuntimeError, though. Well. here are patches for Python 3.2 and 2.7 (backported changeset 596b0eaeece8 + part of changeset fccdcd83708a). -- Added file: http://bugs.python.org/file25618/zipfile_unsupporte

[issue14584] Add gzip support to xmlrpc.server

2012-05-16 Thread Ross Lagerwall
Changes by Ross Lagerwall : -- resolution: -> invalid status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue14626] os module: use keyword-only arguments for dir_fd and nofollow to reduce function count

2012-05-16 Thread Ross Lagerwall
Changes by Ross Lagerwall : -- nosy: +rosslagerwall ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue13849] Add tests for NUL checking in certain strs

2012-05-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: There are two issues. 1) what is the requested changed and is it technically correct; 2) if correct, should it be made from a policy viewpoint. 1) Alex, do I understand correctly that you see the behavior of disallowing nulls in paths as correct, and that you

[issue14780] urllib.request could use the default CA store

2012-05-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: Patch committed. I propose to close the issue, unless further enhancements are suggested. -- resolution: -> fixed stage: -> committed/rejected ___ Python tracker __

[issue14780] urllib.request could use the default CA store

2012-05-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset f2ed5de1c568 by Antoine Pitrou in branch 'default': Issue #14780: urllib.request.urlopen() now has a `cadefault` argument to use the default certificate store. http://hg.python.org/cpython/rev/f2ed5de1c568 -- nosy: +python-dev ___

[issue14780] urllib.request could use the default CA store

2012-05-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: Oh, by the way, could you sign and send a contributor agreement? See http://www.python.org/psf/contrib/ (it is not a copyright assignment, just a formal licensing agreement) -- ___ Python tracker

[issue14780] urllib.request could use the default CA store

2012-05-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Ok, here's a patch with a test and documentation updates. Ok, thanks! The only change I would make is that cadefault needs to be False by default; particularly because some platforms don't have a OpenSSL-compatible default CA store (Windows comes to mind) and

[issue14702] os.makedirs breaks under autofs directories

2012-05-16 Thread Hynek Schlawack
Hynek Schlawack added the comment: I guess this is the magic in mkdir -p: mkdir("expert", 0755) = -1 EACCES (Permission denied) chdir("expert") = 0 mkdir("tmp", 0755) = -1 EEXIST (File exists) I'm not sure how I feel about that. I

[issue14780] urllib.request could use the default CA store

2012-05-16 Thread James Oakley
James Oakley added the comment: Ok, here's a patch with a test and documentation updates. -- Added file: http://bugs.python.org/file25617/cpython-urllib_urlopen_cadefault.patch ___ Python tracker

[issue1635217] Warn against using requires/provides/obsoletes in setup.py

2012-05-16 Thread anatoly techtonik
anatoly techtonik added the comment: PEP 345 completely misses practical side. I need to specify dependencies for my package, so that people who checked out the source code could run `pip install .` in virtualenv and get everything fetched. People reading the docs are more practical. What is

[issue14776] Add SystemTap static markers

2012-05-16 Thread Dave Malcolm
Changes by Dave Malcolm : Removed file: http://bugs.python.org/file25615/cpython-systemtap-2012-05-16-001.patch ___ Python tracker ___ ___ Py

[issue14813] Can't build under VS2008 anymore

2012-05-16 Thread Brian Curtin
Brian Curtin added the comment: I don't have time at the moment to test it, but the patch looks like it's probably ok. -- ___ Python tracker ___ ___

[issue14776] Add SystemTap static markers

2012-05-16 Thread Dave Malcolm
Changes by Dave Malcolm : -- Removed message: http://bugs.python.org/msg160914 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue14776] Add SystemTap static markers

2012-05-16 Thread Dave Malcolm
Changes by Dave Malcolm : -- Removed message: http://bugs.python.org/msg160913 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue13934] sqlite3 test typo

2012-05-16 Thread poq
poq added the comment: Sure, why not. Here you go. -- Added file: http://bugs.python.org/file25616/sqlite3-version-doc.patch ___ Python tracker ___ _

[issue14813] Can't build under VS2008 anymore

2012-05-16 Thread Stefan Krah
Stefan Krah added the comment: > Preferably, the project files would be generated from the VS2010 project > files, but for the moment, manually editing to make them work again might be > fine as well. Martin, Brian: Can I go ahead with vs-9.0.diff or would it interfere with your work? -

[issue14776] Add SystemTap static markers

2012-05-16 Thread Dave Malcolm
Dave Malcolm added the comment: (Sorry about msg160913; looks like my initial email response took about an hour to get through, and I'd subsequently commented using the webui form) -- ___ Python tracker _

[issue14776] Add SystemTap static markers

2012-05-16 Thread Dave Malcolm
Dave Malcolm added the comment: On Wed, 2012-05-16 at 16:41 +, Antoine Pitrou wrote: > Antoine Pitrou added the comment: > > I tried the patch under Mageia 1 and got the following failure: > > test_systemtap skipped -- Test systemtap script did not run; stderr was: > b"Pass 1: parsed use

[issue14779] test_buffer fails on OS X universal 64-/32-bit builds

2012-05-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 967b06d56a69 by Stefan Krah in branch 'default': Issue #14779: Get sizeof(void *) directly rather than relying on sysconfig. http://hg.python.org/cpython/rev/967b06d56a69 -- ___ Python tracker

[issue14715] test.support.DirsOnSysPath should be replaced by importlib.test.util.import_state

2012-05-16 Thread Eric V. Smith
Eric V. Smith added the comment: Here's what I imagine the new function will look like. I propose moving it to test.support and using it outside of importlib, specifically for the PEP 420 tests. -- keywords: +patch Added file: http://bugs.python.org/file25614/issue14715-0.diff __

[issue14776] Add SystemTap static markers

2012-05-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Sorry about that. You're running a near-two-year-old version of > systemtap (1.3); error messages (and of course much functionality) has > improved since. Fair enough. I think the main patch looks go to go. It's clean and doesn't obscure core parts of the in

[issue14776] Add SystemTap static markers

2012-05-16 Thread Frank Ch. Eigler
Frank Ch. Eigler added the comment: Hi - On Wed, May 16, 2012 at 06:29:09PM +, Antoine Pitrou wrote: > [...] > No obvious error message. Who the hell designs such UIs? This seems > as stupidly unfriendly as dtrace... Sorry about that. You're running a near-two-year-old version of systemta

[issue14798] pyclbr raises KeyError when the prefix of a dotted name is not a package

2012-05-16 Thread Petri Lehtinen
Petri Lehtinen added the comment: Hi Xavier. I see you have posted quite many patches in the recent days. Thanks for doing so! You should sign the Python Software Foundation Contributor Agreement to make it possible for us to apply the patches. See http://www.python.org/psf/contrib/ for more

[issue14776] Add SystemTap static markers

2012-05-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: Still fails. So I tried the script by hand and got: $ stap - -vv -c true --vp 1 Created temporary directory "/tmp/stapBvo9zS" SystemTap translator/driver (version 1.3/0.152 non-git sources) Copyright (C) 2005-2010 Red Hat, Inc. and others This is free soft

[issue1635217] Warn against using requires/provides/obsoletes in setup.py

2012-05-16 Thread Éric Araujo
Éric Araujo added the comment: It may be good to document that requires/provides/obsoletes are effectively unused. It is not appropriate for stdlib doc to talk about install_requires, which is specific to setuptools, and it’s better to talk about the new standard fields from PEP 345 anyway.

[issue14776] Add SystemTap static markers

2012-05-16 Thread Dave Malcolm
Dave Malcolm added the comment: > I tried the patch under Mageia 1 and got the following failure: Thanks. I'm attaching an updated patch which reworks test_systemtap so that (a) it turns up the verbosity of stap invocations from "-v" to "-vv" (b) it tests the "hello world" stap script on a

[issue14270] Can't install a project in a specific directory

2012-05-16 Thread Éric Araujo
Éric Araujo added the comment: Further changes are needed. - The new dest_dir argument is not passed down to the internal functions, so I don’t understand how this is supposed to work. - install_local_project needs a dest_dir argument too; Jonathan Fernandes started work on this at the last

[issue14702] os.makedirs breaks under autofs directories

2012-05-16 Thread Andrew McNabb
Changes by Andrew McNabb : Added file: http://bugs.python.org/file25612/makedirs.out ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue5342] packaging: add tests for old versions cleanup on update

2012-05-16 Thread Éric Araujo
Éric Araujo added the comment: Jonathan Fernandes started to work on this at the last Montreal sprint. The tests would use install_local_project, which is missing a parameter to control the destination directory (see #14270). -- assignee: tarek -> eric.araujo dependencies: +Can't ins

[issue14827] IDLE crash when typing ^ character on Mac OS X

2012-05-16 Thread Julien Pecqueur
Julien Pecqueur added the comment: Installing ActiveState's Tcl/Tk package fix the crash. Thank you for your answers. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue14832] unittest's assertItemsEqual() method gives wrong order in error output

2012-05-16 Thread R. David Murray
R. David Murray added the comment: Thanks, fixed. Appears to have been a mistake made when we refactored from expected/actual to first/second. -- nosy: +r.david.murray resolution: -> fixed stage: -> committed/rejected status: open -> closed type: -> behavior __

[issue14702] os.makedirs breaks under autofs directories

2012-05-16 Thread Andrew McNabb
Changes by Andrew McNabb : Added file: http://bugs.python.org/file25611/mkdir-p.out ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue14832] unittest's assertItemsEqual() method gives wrong order in error output

2012-05-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset ff52583a5576 by R David Murray in branch '2.7': #14832: 'first' now really refers to first arg in unittest assertItemsEqual http://hg.python.org/cpython/rev/ff52583a5576 -- nosy: +python-dev ___ Python t

[issue14702] os.makedirs breaks under autofs directories

2012-05-16 Thread Andrew McNabb
Andrew McNabb added the comment: Some interesting information. If I do `os.mkdir('/net/prodigy/tmp')`, it gives "OSError: [Errno 13] Permission denied: '/net/prodigy/tmp'". However, if I instead do `os.mkdir('/net/prodigy/tmp/hi')`, it succeeds. (Note that I'm being careful to start from a fr

[issue10374] distutils[2] should recreate scripts in the build tree

2012-05-16 Thread Éric Araujo
Éric Araujo added the comment: In distutils2, 99382aafa4c5 forces scripts to always be rebuilt and 463d3014ee4a goes further and deletes the whole build dir to avoid installing scripts built from a previous build call with a different configuration (i.e. different list of scripts). The same

[issue1602] windows console doesn't print or input Unicode

2012-05-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Glenn, I do not know what you are using the interactive interpreter for, but for the unicode BMP, the Idle shell generally works better. I only use CommandPrompt for cross-checking behavior. -- ___ Python tracker

[issue13166] Implement packaging.database.*Distribution.__str__

2012-05-16 Thread Éric Araujo
Éric Araujo added the comment: 64b0bf5e0596 reverted the changes to d2.depgraph; more tests need to be added first to make sure the new output is still valid DOT. -- assignee: tarek -> eric.araujo title: Implement packaging.database.Distribution.__str__ -> Implement packaging.database

[issue8330] Failures seen in test_gdb on buildbots

2012-05-16 Thread Dave Malcolm
Dave Malcolm added the comment: Oops; closing. Thanks. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Pyt

[issue13399] Don't print traceback for unrecognized actions, commands and options in packaging

2012-05-16 Thread Éric Araujo
Éric Araujo added the comment: 91ac9c36f09e is also related to this. pysetup --unknown-option silently does nothing and exits with 0. -- assignee: tarek -> eric.araujo versions: +3rd party ___ Python tracker

[issue7719] distutils: ignore .nfsXXXX files

2012-05-16 Thread Éric Araujo
Éric Araujo added the comment: No improvements are done in distutils, only the smallest possible changes to fix bugs. In distutils2 we use shutil.copytree. -- ___ Python tracker __

[issue14702] os.makedirs breaks under autofs directories

2012-05-16 Thread Andrew McNabb
Andrew McNabb added the comment: > Andrew, are you still with us? I'm here, but it's been a busy few weeks. I'll see if I can spend some time on this today. -- ___ Python tracker

[issue13849] Add tests for NUL checking in certain strs

2012-05-16 Thread Alex Gaynor
Alex Gaynor added the comment: I'm perfectly happy to write a patch for this, the only reason I didn't was Martin and others expressed opposition to committing it. If there's a philosophicaly opposition to the patch I won't write it :) -- ___ Pyth

[issue14692] json.loads parse_constant callback not working anymore

2012-05-16 Thread Hynek Schlawack
Hynek Schlawack added the comment: Thanks Serhiy! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue14692] json.loads parse_constant callback not working anymore

2012-05-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 30d16d1e5175 by Hynek Schlawack in branch '2.7': #14692 Fix json docs to reflect changes in json.load http://hg.python.org/cpython/rev/30d16d1e5175 New changeset 4f27c4dc34ed by Hynek Schlawack in branch '3.2': #14692 Fix json docs to reflect chang

[issue5730] setdefault speedup

2012-05-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: Out of date, fixed in #13521. -- nosy: +pitrou resolution: -> duplicate status: open -> closed superseder: -> Make dict.setdefault() atomic ___ Python tracker ___

[issue14832] unittest's assertItemsEqual() method gives wrong order in error output

2012-05-16 Thread Kylotan
New submission from Kylotan : I have the following line in a unit test in 2.7.3: self.assertItemsEqual(['a', 'b', 'c'], ['a', 'b', 'c', 'd']) I expect this output: AssertionError: Element counts were not equal: First has 0, Second has 1: 'd' Instead I get this output: Assert

[issue1479611] speed up function calls

2012-05-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: Closing as terribly outdated (and not very promising). -- resolution: -> out of date status: open -> closed ___ Python tracker ___ _

[issue12091] multiprocessing: simplify ApplyResult and MapResult with threading.Event

2012-05-16 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +sbt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue8330] Failures seen in test_gdb on buildbots

2012-05-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: Shouldn't this be closed? -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue14831] make r argument on itertools.combinations() optional

2012-05-16 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: [[], [0], [1], [2], [0, 1], [0, 2], [1, 2], [0, 1, 2]] That is, all possible combinations. -- ___ Python tracker ___

[issue14776] Add SystemTap static markers

2012-05-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: I tried the patch under Mageia 1 and got the following failure: test_systemtap skipped -- Test systemtap script did not run; stderr was: b"Pass 1: parsed user script and 72 library script(s) using 56252virt/20964res/1828shr kb, in 70usr/0sys/82real ms.\nPass

[issue14831] make r argument on itertools.combinations() optional

2012-05-16 Thread Mark Dickinson
Mark Dickinson added the comment: Wait, what? What results are you proposing for e.g., list(combinations(range(3))) ? None of the obvious defaults for r (length of first argument? 0? 1?) look very interesting. -- nosy: +mark.dickinson ___ Pytho

[issue14757] INCA: Inline Caching meets Quickening in Python 3.3

2012-05-16 Thread stefan brunthaler
stefan brunthaler added the comment: > Perhaps that's just me, but I find the performance gains rather limited given > the sheer size of the changes. Well there are a couple of things to keep in mind: a) There is a substantial speedup potential in further interpretative optimizations, but the

[issue14815] random_seed uses only 32-bits of hash on Win64

2012-05-16 Thread Raymond Hettinger
Raymond Hettinger added the comment: This is a reasonable change. The benefits of using all 64-bits outweigh the small downside of losing the reproducibility of previously generated sequences that relied on the object hash. -- ___ Python tracker

[issue14776] Add SystemTap static markers

2012-05-16 Thread Dave Malcolm
Changes by Dave Malcolm : -- nosy: +fche, scox ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue2920] Patch to print symbolic value or errno in EnvironmentError.__str__()

2012-05-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: This would still be a helpful improvement. -- stage: patch review -> needs patch versions: +Python 3.3 -Python 3.2 ___ Python tracker ___ __

[issue14819] Add `assertIsSubclass` and `assertNotIsSubclass` to `unittest.TestCase`

2012-05-16 Thread R. David Murray
Changes by R. David Murray : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue14819] Add `assertIsSubclass` and `assertNotIsSubclass` to `unittest.TestCase`

2012-05-16 Thread R. David Murray
R. David Murray added the comment: I agree that testing for subclass is a rather specialized thing, and thus should be defined by a project that needs it. Normal API-centric unit tests shouldn't, IMO, care whether X is a subclass of Y. If you are using it to write a failing unit test to "dr

[issue1508864] threading.Timer/timeouts break on change of win32 local time

2012-05-16 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue9548] locale can be imported at startup but relies on too many library modules

2012-05-16 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: -> patch review versions: +Python 3.3 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list ma

[issue9251] Test for the import lock

2012-05-16 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue6544] Fix refleak in kqueue implementation

2012-05-16 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue1615158] POSIX capabilities support

2012-05-16 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +neologix ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue12304] expose signalfd(2) in the signal module

2012-05-16 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +neologix stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue13609] Add "os.get_terminal_size()" function

2012-05-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: I am closing as fixed. If you want to propose further enhancements, please open a new issue. -- resolution: -> fixed status: open -> closed ___ Python tracker __

[issue11051] Improve Python 3.3 startup time

2012-05-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: This is out of date now that importlib is the default import system. -- resolution: -> out of date status: open -> closed ___ Python tracker _

[issue14819] Add `assertIsSubclass` and `assertNotIsSubclass` to `unittest.TestCase`

2012-05-16 Thread Ezio Melotti
Ezio Melotti added the comment: I couldn't find any pointer to the discussion (maybe it happened on IRC), but the general goal is to provide only the most used/important assert methods and avoid bloating the API with less common ones. -- status: open -> pending __

  1   2   >