[issue16659] Pure Python implementation of random

2012-12-10 Thread Mark Dickinson
Changes by Mark Dickinson : -- nosy: +mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue16661] test_posix.test_getgrouplist fails on some systems - incorrectly comparing getgroups and getgrouplist results

2012-12-10 Thread Gregory P. Smith
Gregory P. Smith added the comment: Given this is more of a code coverage test than any need to test the functionality of the OS library call, just asserting that it returns a non-empty list is a decent test. :) -- ___ Python tracker

[issue16660] Segmentation fault when importing hashlib

2012-12-10 Thread Gregory P. Smith
Gregory P. Smith added the comment: Given where the crash is occurring and that faulthandler traceback it makes me wonder if it was compiled with a set of openssl headers that don't make the library it is using at runtime. If you recompile the interpreter in debug mode (--with-pydebug on your

[issue16661] test_posix.test_getgrouplist fails on some systems - incorrectly comparing getgroups and getgrouplist results

2012-12-10 Thread Ross Lagerwall
Ross Lagerwall added the comment: I wouldn't think so. A call to setgroups can add or remove groups for the calling process. If it removes groups, then getgrouplist() won't return a subset of getgroups(). -- ___ Python tracker

[issue16661] test_posix.test_getgrouplist fails on some systems - incorrectly comparing getgroups and getgrouplist results

2012-12-10 Thread Gregory P. Smith
Gregory P. Smith added the comment: would the values returned by getgrouplist always be a non empty subset of getgroups? (regardless, I expect the id -G process output parsing can be removed) -- title: test_posix.test_getgrouplist fails on some systems - incorrectly comparing getgr

[issue16661] test_posix.test_getgrouplist fails on some systems - incorrectly comparing getgroups and getgrouplist results

2012-12-10 Thread Ross Lagerwall
Ross Lagerwall added the comment: It seems like getgrouplist returns the information from the system database whereas getgroups (and consequently id -G) returns the supplementary groups for the calling process. I'm not exactly sure how getgrouplist() can be effectively tested then. -- n

[issue16660] Segmentation fault when importing hashlib

2012-12-10 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue16447] SEGFAULT when setting type.__name__

2012-12-10 Thread Meador Inge
Changes by Meador Inge : -- nosy: +meador.inge ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue16575] ctypes: unions as arguments

2012-12-10 Thread Meador Inge
Changes by Meador Inge : -- nosy: +meador.inge ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue16576] ctypes: structure with bitfields as argument

2012-12-10 Thread Meador Inge
Changes by Meador Inge : -- nosy: +meador.inge ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue9974] tokenizer.untokenize not invariant with line continuations

2012-12-10 Thread Meador Inge
Changes by Meador Inge : -- nosy: +meador.inge ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue16661] test_posix.test_getgrouplist fails on some systems - incorrectly comparing getgroups and getgrouplist results

2012-12-10 Thread Gregory P. Smith
New submission from Gregory P. Smith: test_posix.test_getgrouplist is failing for me on my Linux (ubuntu precise) based desktop at work. It looks like posix.getgrouplist() is returning all of the larger GIDs. The lowest one it is reporting for my user is 499 but the more distro specific grou

[issue16596] Skip stack unwinding when "next", "until" and "return" pdb commands executed in generator context

2012-12-10 Thread Guido van Rossum
Guido van Rossum added the comment: It looks like xdegaye's patch breaks 'n' when not debugging a generator. -- ___ Python tracker ___ ___

[issue16660] Segmentation fault when importing hashlib

2012-12-10 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue16660] Segmentation fault when importing hashlib

2012-12-10 Thread ashwani
ashwani added the comment: Following is the behavior on the same machine with Python 2.6.6 ir[65] [~/]$ python Python 2.6.6 (r266:84292, Dec 7 2011, 20:48:22) [GCC 4.4.6 20110731 (Red Hat 4.4.6-3)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import ha

[issue16660] Segmentation fault when importing hashlib

2012-12-10 Thread ashwani
New submission from ashwani: Hello, I did a local installation of python 3.3.0 on my organization's CentOS machine. We also have Python 2.6.6 installed for every users on this machine. Python 3.3.0 crashes when I import the hash lib. Following is snapshot of the crash. ir[63] [~/]$ python3 -X

[issue16651] Find out what stdlib modules lack a pure Python implementation

2012-12-10 Thread Alex Gaynor
Alex Gaynor added the comment: A lot of builtins :) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue16659] Pure Python implementation of random

2012-12-10 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: C implemented part of random module does not depend on any specific C level abilities. Here is a patch which implements this part on pure Python. May be this is not a best implementation. And I don't know how write tests for both implementations.

[issue15207] mimetypes.read_windows_registry() uses the wrong regkey, creates wrong mappings

2012-12-10 Thread Tim Golden
Tim Golden added the comment: Sorry; late to the party. I'll try to take a look at the patches. Basically I'm sympathetic to the problem (which seems quite straightforwardly buggish) but I want to take a look around the issue first. TJG -- ___ Pyth

[issue15207] mimetypes.read_windows_registry() uses the wrong regkey, creates wrong mappings

2012-12-10 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: commit review -> patch review versions: +Python 2.7, Python 3.3, Python 3.4 ___ Python tracker ___ _

[issue15207] mimetypes.read_windows_registry() uses the wrong regkey, creates wrong mappings

2012-12-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: I'll leave it to a Windows expert. -- versions: -Python 2.7, Python 3.3 ___ Python tracker ___ ___

[issue16658] Missing "return" in HTTPConnection.send()

2012-12-10 Thread Amaury Forgeot d'Arc
New submission from Amaury Forgeot d'Arc: HTTPConnection.send() accepts a bytes string, a file, and any iterable. When a file is passed, data is read in blocks until read() returns an empty string. But because a "return" statement is missing, execution continues with an attempt to iterate the

[issue15207] mimetypes.read_windows_registry() uses the wrong regkey, creates wrong mappings

2012-12-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Gabriel and Antoine: As I understand it, the claim in this issue is that the patch in #4969 (G. wrote, A. committed) is unsatisfactory. I think it would help if either of you commented. -- nosy: +gagenellina, pitrou ___

[issue16651] Find out what stdlib modules lack a pure Python implementation

2012-12-10 Thread Brett Cannon
Brett Cannon added the comment: Sure, a general XML parsing library could be written in Python, but they wouldn't be named expat. =) The expat module wraps a specific XML parser (expat) so I still do not consider it applicable for this list. As for random, you are right that it doesn't use pla

[issue16651] Find out what stdlib modules lack a pure Python implementation

2012-12-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > So expat doesn't count as that literally wraps the expat library. XML parser can be implemented in pure Python. There are a lot of XML parsers implemented in different programming languages. > Random > also requires accessing the system randomization libra

[issue14894] distutils.LooseVersion fails to compare number and a word

2012-12-10 Thread Éric Araujo
Éric Araujo added the comment: I was replying to Dwayne. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue14894] distutils.LooseVersion fails to compare number and a word

2012-12-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: Or, rather, who :-S -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue14894] distutils.LooseVersion fails to compare number and a word

2012-12-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Don’t know if you’ve seen my previous message: I'm a bit lost, how are you replying to? :) -- ___ Python tracker ___

[issue14894] distutils.LooseVersion fails to compare number and a word

2012-12-10 Thread Éric Araujo
Éric Araujo added the comment: Don’t know if you’ve seen my previous message: I think that most tools (e.g. setuptools) generate things like 1.0.2+gitab25c6fe95ee92fac3187dcd90e0560ccacb084a i.e. real version set by maintainer + hash, not just the hash. I was talking about a version number se

[issue14894] distutils.LooseVersion fails to compare number and a word

2012-12-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: > As far as a real-world example is concerned, if you're using > git-describe to generate your version numbers, you can pretty easily > end up with something like "ab25c6fe95ee92fac3187dcd90e0560ccacb084a". And how are you supposed to compare that with anything

[issue16651] Find out what stdlib modules lack a pure Python implementation

2012-12-10 Thread Brian Curtin
Brian Curtin added the comment: winreg does not have a pure equivalent, nor could it -- nosy: +brian.curtin ___ Python tracker ___ ___

[issue16651] Find out what stdlib modules lack a pure Python implementation

2012-12-10 Thread Philip Jenvey
Philip Jenvey added the comment: zipimport -- nosy: +pjenvey ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue14894] distutils.LooseVersion fails to compare number and a word

2012-12-10 Thread Dwayne Litzenberger
Dwayne Litzenberger added the comment: "git describe --tags --always" will return a bare commit id if there is no previous tag. This is pretty common to have when you're working on a new package that hasn't been released yet: $ git init Initialized empty Git repository in /tmp/repo/.git/ $ to

[issue16651] Find out what stdlib modules lack a pure Python implementation

2012-12-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: Agreed with Brett. -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue16651] Find out what stdlib modules lack a pure Python implementation

2012-12-10 Thread Brett Cannon
Brett Cannon added the comment: No, sqlite does not belong on this list as it wraps a C library. Plus there is an explicit block for ctypes-based modules in the stdlib which would prevent moving over the PyPy implementation. And I'm sure pure Python versions of all the crypto libraries are out

[issue16612] Integrate "Argument Clinic" specialized preprocessor into CPython trunk

2012-12-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: > The semicolon is optional, permitted explicitly so you can > copy-and-paste the original C variable declarations in and you don't > have to go hunting for semicolons. The spaces are permitted on > those lines for the same reason; they aren't on the "flag" line

[issue16602] weakref can return an object with 0 refcount

2012-12-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: > The only safe operation after PyWeakref_GET_OBJECT is to Py_XINCREF the > result. Should we provide a PyWeakRef_LockObject()? There's already a warning in the docs about that. I don't think an additional function is useful here. --

[issue15872] shutil.rmtree(..., ignore_errors=True) doesn't ignore all errors

2012-12-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset cb8274e1ebfa by Hynek Schlawack in branch '3.2': #15872: Some more Windows related tuning to shutil.rmtree tests http://hg.python.org/cpython/rev/cb8274e1ebfa New changeset 561c4012929a by Hynek Schlawack in branch '3.3': #15872: Some more Windows r

[issue15526] test_startfile crash on Windows 7 AMD64

2012-12-10 Thread Richard Oudkerk
Changes by Richard Oudkerk : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue16612] Integrate "Argument Clinic" specialized preprocessor into CPython trunk

2012-12-10 Thread Larry Hastings
Larry Hastings added the comment: Ah. In that case, may I rewrite your critique as "[...] some lines may end with a semicolon, some lines may not, some assignment signs ("=") permit spaces around them, some don't." The semicolon is optional, permitted explicitly so you can copy-and-paste the

[issue16616] test_poll.PollTests.poll_unit_tests() is dead code

2012-12-10 Thread Richard Oudkerk
Changes by Richard Oudkerk : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue12915] Add inspect.locate and inspect.resolve

2012-12-10 Thread Daniel Urban
Changes by Daniel Urban : -- stage: test needed -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16651] Find out what stdlib modules lack a pure Python implementation

2012-12-10 Thread Christian Heimes
Christian Heimes added the comment: All cryptographic hash function are available as pure Python implementations. Although the Python based variants are super slow (except maybe on PyPy), they still serve as an academic show case. IIRC PyPy has pure Python implementations of MD5, SHA-1 and SHA

[issue16308] Undocumented (?) behaviour change in argparse from 3.2.3 to 3.3.0

2012-12-10 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue16651] Find out what stdlib modules lack a pure Python implementation

2012-12-10 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: PyPy has a pure Python implementation of sqlite (using ctypes): https://bitbucket.org/pypy/pypy/src/default/lib_pypy/_sqlite3.py It most probably works on CPython as well. Does it belong to this list? -- nosy: +amaury.forgeotdarc

[issue16651] Find out what stdlib modules lack a pure Python implementation

2012-12-10 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue3073] Cookie.Morsel breaks in parsing cookie values with whitespace

2012-12-10 Thread Berker Peksag
Berker Peksag added the comment: The bug has been fixed in issue 8826. Related changeset: - http://hg.python.org/cpython/rev/cb231b79693e/ - Backport: http://hg.python.org/cpython/rev/84363c747c21 In Python 2.7.3: >>> from Cookie import SimpleCookie >>> cookies = SimpleCookie() >>> cookies.lo

[issue16651] Find out what stdlib modules lack a pure Python implementation

2012-12-10 Thread Brett Cannon
Brett Cannon added the comment: So expat doesn't count as that literally wraps the expat library. Random also requires accessing the system randomization libraries to work properly so I don't think that is a candidate either. As for the compression libraries, those could be re-implemented, but

[issue12915] Add inspect.locate and inspect.resolve

2012-12-10 Thread Berker Peksag
Changes by Berker Peksag : -- keywords: +patch nosy: +berker.peksag versions: +Python 3.4 -Python 3.3 Added file: http://bugs.python.org/file28277/issue12915.diff ___ Python tracker

[issue15207] mimetypes.read_windows_registry() uses the wrong regkey, creates wrong mappings

2012-12-10 Thread R. David Murray
R. David Murray added the comment: I would say Brian Curtin, Tim Golden, and/or Martin von Löwis, as they are the currently active committers with significant Windows expertise. Other committers may have opinions as well. If you don't get an answer here in a reasonable amount of time, please

[issue16632] Enable DEP and ASLR

2012-12-10 Thread Martin v . Löwis
Martin v. Löwis added the comment: I don't think much caution is needed. If problems don't show up in the beta releases, we can still revert the change for 3.4.1. Christian, please go ahead and check this in. -- stage: test needed -> commit review _

[issue15872] shutil.rmtree(..., ignore_errors=True) doesn't ignore all errors

2012-12-10 Thread Hynek Schlawack
Hynek Schlawack added the comment: “I wish I were wrangling inconsistent Windows buildbots.” Nobody. Ever. *sigh* It appears they are appeased now, so finally closing. Thanks for the patches everyone! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> c

[issue16657] traceback.format_tb incorrect docsting

2012-12-10 Thread Marius Gedminas
New submission from Marius Gedminas: The docstring for traceback.format_tb says """A shorthand for 'format_list(extract_stack(f, limit)).""" which is incorrect -- it's actually a shorthand for format_list(extract_tb(tb, limit)). Patch attached. -- components: Library (Lib) files: f

[issue15207] mimetypes.read_windows_registry() uses the wrong regkey, creates wrong mappings

2012-12-10 Thread Dave Chambers
Dave Chambers added the comment: (I'm a windows dev type) I would say that there are 2 issues with relying on the registry: 1) Default values (ie. set by Windows upon OS install) are broken and MS never fixes them. 2) The values can be changed at any time, by any app. Thus the values are unreli

[issue16632] Enable DEP and ASLR

2012-12-10 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue16631] tarfile.extractall() doesn't extract everything if .next() was used

2012-12-10 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue16656] os.walk ignores international dirs on Windows

2012-12-10 Thread R. David Murray
R. David Murray added the comment: Works for me without the u'.', too, though less usefully: >>> for r, dirs, files in os.walk('.'): ... print dirs ... ['\xd0\xa0\xd1\x83\xd1\x81\xd1\x81\xd0\xba\xd0\xbe\xd0\xb5 \xd0\xb8\xd0\xbc\xd1\x8f'] Maybe that doesn't work on Windows, though. I am, of

[issue16656] os.walk ignores international dirs on Windows

2012-12-10 Thread Jeremy Kloth
Jeremy Kloth added the comment: The problem exhibited is not coming from the os.walk() implementation, but from the use of a byte-string as the argument to it. The directories are created with unicode literals and therefore the argument must also be a unicode literal (u'.') for them to be show

[issue16656] os.walk ignores international dirs on Windows

2012-12-10 Thread R. David Murray
R. David Murray added the comment: For that matter, it isn't reproduced in python2.7, either: >>> for r, dirs, files in os.walk(u'.'): ... print dirs ... [u'\u0420\u0443\u0441\u0441\u043a\u043e\u0435 \u0438\u043c\u044f'] [] -- resolution: out of date -> invalid _

[issue16656] os.walk ignores international dirs on Windows

2012-12-10 Thread R. David Murray
R. David Murray added the comment: Oops, clicked submit too soon. It isn't likely to get fixed in 2.7, because 2.7's unicode support problems is the major reason python3 was developed. -- stage: -> committed/rejected ___ Python tracker

[issue16647] LMTP.connect() loses socket error details

2012-12-10 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue16656] os.walk ignores international dirs on Windows

2012-12-10 Thread R. David Murray
R. David Murray added the comment: No. -- nosy: +r.david.murray resolution: -> out of date status: open -> closed ___ Python tracker ___

[issue16645] Wrong test_extract_hardlink() in test_tarfile.py

2012-12-10 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue1748064] inspect.getargspec fails on built-in or slot wrapper methods

2012-12-10 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue15207] mimetypes.read_windows_registry() uses the wrong regkey, creates wrong mappings

2012-12-10 Thread R. David Murray
R. David Murray added the comment: I'm personally OK with the option of removing the registry support (or making it optional-by-default), but I'm not going to make that call, we need a windows dev opinion. Maintaining the list of windows exceptions shouldn't be much worse than maintaining the

[issue16650] Popen._internal_poll() references errno.ECHILD outside of the local scope

2012-12-10 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue16656] os.walk ignores international dirs on Windows

2012-12-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Is it reproduced on 3.x? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16656] os.walk ignores international dirs on Windows

2012-12-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- Removed message: http://bugs.python.org/msg177278 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue16656] os.walk ignores international dirs on Windows

2012-12-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It is reproduced on 3.x? -- nosy: +serhiy.storchaka type: -> behavior versions: -Python 3.1 ___ Python tracker ___ _

[issue15390] PEP 3121, 384 refactoring applied to datetime module

2012-12-10 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 10.12.2012 11:39, Robin Schreiber wrote: > > Robin Schreiber added the comment: > > I have updated the patch to work again with the current version of the > _datetimemodule. Please use "_Py_" prefixes for private symbols you put in the header files, e

[issue16656] os.walk ignores international dirs on Windows

2012-12-10 Thread anatoly techtonik
New submission from anatoly techtonik: This critical bug is one of the reasons that non-English speaking communities doesn't adopt Python as broadly as it happens in English world compared to other technologies (PHP etc.). # -*- coding: utf-8 -*- import os os.mkdir(u'Русское имя') os.mkdir

[issue16653] reference kept in f_locals prevents the tracing/profiling of a destructor

2012-12-10 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue15872] shutil.rmtree(..., ignore_errors=True) doesn't ignore all errors

2012-12-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2d953d47d634 by Hynek Schlawack in branch '3.2': #15872: Be flexible with appending *.* in shutil.rmtree test case http://hg.python.org/cpython/rev/2d953d47d634 New changeset edb747c6c479 by Hynek Schlawack in branch '3.3': #15872: Be flexible with

[issue16645] Wrong test_extract_hardlink() in test_tarfile.py

2012-12-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Added file: http://bugs.python.org/file28275/test_tarfile_test_extract_hardlink.patch ___ Python tracker ___ __

[issue16645] Wrong test_extract_hardlink() in test_tarfile.py

2012-12-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Removed file: http://bugs.python.org/file28260/test_tarfile_test_extract_hardlink.patch ___ Python tracker ___

[issue15390] PEP 3121, 384 refactoring applied to datetime module

2012-12-10 Thread Robin Schreiber
Robin Schreiber added the comment: I have updated the patch to work again with the current version of the _datetimemodule. Regarding the suggestion of separating PEP3121 and PEP384. It might be true that datetime and other modules do not benefit directly from PEP 384, however it is still a f

[issue15872] shutil.rmtree(..., ignore_errors=True) doesn't ignore all errors

2012-12-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7ce8f4a70ccd by Hynek Schlawack in branch '3.2': #15872: More shutil test fixes for Windows http://hg.python.org/cpython/rev/7ce8f4a70ccd New changeset a05e2d4094ea by Hynek Schlawack in branch '3.3': #15872: More shutil test fixes for Windows http:

[issue16602] weakref can return an object with 0 refcount

2012-12-10 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: PyWeakref_GET_OBJECT is also potentially dangerous: since the refcount is not incremented, it's very possible that the GC collects it. The only safe operation after PyWeakref_GET_OBJECT is to Py_XINCREF the result. Should we provide a PyWeakRef_LockObjec

[issue15701] AttributeError from HTTPError when using digest auth

2012-12-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset ad1c1164f68b by Senthil Kumaran in branch 'default': Fix Issue15701 : add .headers attribute to urllib.error.HTTPError http://hg.python.org/cpython/rev/ad1c1164f68b -- nosy: +python-dev ___ Python tracker

[issue15701] AttributeError from HTTPError when using digest auth

2012-12-10 Thread Senthil Kumaran
Senthil Kumaran added the comment: Even though 2.x is in security fix mode, this can be fixed by a overriding the base class's info method in the HTTPError class and returning the .hdrs attribute instead of .headers. -- Added file: http://bugs.python.org/file28273/Issue1571.patch

[issue15872] shutil.rmtree(..., ignore_errors=True) doesn't ignore all errors

2012-12-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- Removed message: http://bugs.python.org/msg177269 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue15872] shutil.rmtree(..., ignore_errors=True) doesn't ignore all errors

2012-12-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you, Hynek, for review and committing. -- ___ Python tracker ___ ___ Python-bugs-list mailin

[issue15872] shutil.rmtree(..., ignore_errors=True) doesn't ignore all errors

2012-12-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you, Hynek, for review and committing. -- ___ Python tracker ___ ___ Python-bugs-list mailin

[issue15872] shutil.rmtree(..., ignore_errors=True) doesn't ignore all errors

2012-12-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5211391928bc by Hynek Schlawack in branch '3.2': #15872: Fix shutil.rmtree error tests for Windows http://hg.python.org/cpython/rev/5211391928bc New changeset 4b2fca8ad07b by Hynek Schlawack in branch '3.3': #15872: Fix shutil.rmtree error tests for

[issue15872] shutil.rmtree(..., ignore_errors=True) doesn't ignore all errors

2012-12-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset c9b9f786ec25 by Hynek Schlawack in branch '3.2': #15872: Add tests for a 3.3 regression in the new fd-based shutil.rmtree http://hg.python.org/cpython/rev/c9b9f786ec25 New changeset fc394216c724 by Hynek Schlawack in branch '3.3': #15872: Fix 3.3 re

[issue1218234] inspect.getsource doesn't update when a module is reloaded

2012-12-10 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue1218234] inspect.getsource doesn't update when a module is reloaded

2012-12-10 Thread Berker Peksag
Changes by Berker Peksag : -- versions: +Python 3.3, Python 3.4 -Python 3.1 Added file: http://bugs.python.org/file28272/issue1218234.diff ___ Python tracker ___ __