[issue6386] importing yields unexpected results when initial script is a symbolic link

2013-07-06 Thread Senko Rasic
Senko Rasic added the comment: Yep, signed. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue17557] test_getgroups of test_posix can fail on OS X 10.8 if more than 16 groups

2013-07-06 Thread Ned Deily
Ned Deily added the comment: Thanks for the patch, Mateusz. That basic approach should work on all current releases (although it would be nice if Apple also fixed the problem). I'll test it on the various releases. If you haven't already, please submit a contributor form as described in the

[issue13582] IDLE and pythonw.exe stderr problem

2013-07-06 Thread Todd Rovito
Todd Rovito added the comment: Terry, Bottom line I can't seem to get this patch to do anything for me. Before the patch is applied IDLE seems to be handling warnings and exceptions just fine in PyShell on the Mac. I get no crash and the output matches the normal console. Here is a small

[issue18386] Better random number generator

2013-07-06 Thread Raymond Hettinger
Raymond Hettinger added the comment: The bar is rather high for changing the current algorithm which is well studied, has a long period, and is reasonably fast. I do not recommend jumping straight into making a patch before we get agreement that we really want another PRNG when the current on

[issue15661] OS X installer packages should be signed for OS X 10.8 Gatekeeper feature

2013-07-06 Thread Todd Rovito
Changes by Todd Rovito : -- nosy: +Todd.Rovito ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue18391] socket.fromfd()'s API is difficult or impossible to use correctly in general

2013-07-06 Thread Chris Siebenmann
Chris Siebenmann added the comment: As far as I know, you can recover everything except the protocol portably on Unix (and fromfd() will already handwave the protocol). getsockopt() with SO_TYPE will give you the type. The family can be recovered by calling getsockname() with a plain struct socka

[issue3329] API for setting the memory allocator used by Python

2013-07-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 51ed51d10e60 by Victor Stinner in branch 'default': Issue #3329: Fix _PyObject_ArenaVirtualFree() http://hg.python.org/cpython/rev/51ed51d10e60 -- ___ Python tracker __

[issue3329] API for setting the memory allocator used by Python

2013-07-06 Thread STINNER Victor
STINNER Victor added the comment: It looks like the changeset ca78c974e938 broke the "x86 XP-4 3.x" buildbot: buildbot.python.org/all/builders/x86 XP-4 3.x/builds/8795/ Traceback (most recent call last): File "../lib/test/regrtest.py", line 1305, in runtest_inner test_runner() File "D:\

[issue18386] Better random number generator

2013-07-06 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.

[issue17206] Py_XDECREF() expands its argument multiple times

2013-07-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset fcf079dece0d by Victor Stinner in branch 'default': Issue #17206: On Windows, increase the stack size from 2 MB to 4.2 MB to fix http://hg.python.org/cpython/rev/fcf079dece0d -- ___ Python tracker

[issue3329] API for setting the memory allocator used by Python

2013-07-06 Thread STINNER Victor
STINNER Victor added the comment: Ok, let see if buildbots like the PEP 445 (keep this issue open until we have the result of all 3.4 buildbots). I created the issue #18392 to document PyObject_Malloc(). -- ___ Python tracker

[issue18392] Doc: PyObject_Malloc() is not documented

2013-07-06 Thread STINNER Victor
New submission from STINNER Victor: The implementation of the PEP 445 documents new memory allocator functions. But the old good PyObject_Malloc() is still not documentated!? -- assignee: docs@python components: Documentation messages: 192505 nosy: docs@python, haypo priority: normal se

[issue3329] API for setting the memory allocator used by Python

2013-07-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset ca78c974e938 by Victor Stinner in branch 'default': Issue #3329: Implement the PEP 445 http://hg.python.org/cpython/rev/ca78c974e938 -- ___ Python tracker _

[issue18389] os.path.relpath gives incorrect results if start parameters is not a directory

2013-07-06 Thread Madison May
Madison May added the comment: That could definitely be beneficial. I've attached a second patch with that suggestion in mind. However, note that test_unittest is failing after adding the isfile(start) check. I think its related to the large amount of mocking that's happening in test_unittes

[issue18386] Better random number generator

2013-07-06 Thread Christian Heimes
Christian Heimes added the comment: Do you want to provide a patch for Python's random module? PS: Please do not upload files that can easily be downloaded from a 3rd party site. It just fills disk space on our server and doesn't provide a benefit for us. -- nosy: +christian.heimes ve

[issue18386] Better random number generator

2013-07-06 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue18386] Better random number generator

2013-07-06 Thread Christian Heimes
Changes by Christian Heimes : Removed file: http://bugs.python.org/file30830/dSFMT-src-2.2.1.zip ___ Python tracker ___ ___ Python-bugs-list m

[issue18391] socket.fromfd()'s API is difficult or impossible to use correctly in general

2013-07-06 Thread Christian Heimes
Christian Heimes added the comment: Unfortunately it's not as easy as you may think. BSD sockets have no portable API to retrieve domain, type and protocol from a file descriptor. getsockopt() may be able to retrieve some or even all values but it's not portable. For example SO_DOMAIN and SO_P

[issue18391] socket.fromfd()'s API is difficult or impossible to use correctly in general

2013-07-06 Thread Chris Siebenmann
New submission from Chris Siebenmann: socket.fromfd() requires you to supply at least the family and type of the file descriptor that you are turning into a Python socket object. However the socket module provides no documented way to determine what these actually are and there are any number of

[issue15704] PEP 3121, 384 Refactoring applied to sha1 module

2013-07-06 Thread Christian Heimes
Changes by Christian Heimes : -- nosy: +christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue15706] PEP 3121, 384 Refactoring applied to sha512 module

2013-07-06 Thread Christian Heimes
Changes by Christian Heimes : -- nosy: +christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

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

2013-07-06 Thread Christian Heimes
Christian Heimes added the comment: Python 3.3 has been released a while ago and is in bug fix mode. Personally I'm against this enhancement. It adds a digest auth scheme that is based on a broken and insecure hashing algorithm. -- nosy: +christian.heimes resolution: accepted -> type:

[issue15705] PEP 3121, 384 Refactoring applied to sha256 module

2013-07-06 Thread Christian Heimes
Changes by Christian Heimes : -- nosy: +christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue17797] Visual C++ 11.0 reports fileno(stdin) == 0 for non-console program

2013-07-06 Thread Christian Heimes
Christian Heimes added the comment: Python 3.2 is in security fix mode. Bug fixes such as this issue don't count as security fix. Are you able to update to Python 3.3? Python 2.7 has a different implementation and uses FILE* instead of file descriptors. -- components: +Windows nosy: +c

[issue6671] webbrowser doesn't respect xfce default browser

2013-07-06 Thread Éric Araujo
Éric Araujo added the comment: XDG_CURRENT_DESKTOP* -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue6671] webbrowser doesn't respect xfce default browser

2013-07-06 Thread Éric Araujo
Éric Araujo added the comment: It’s not surprising to see differences in the environment given the complexity of X startup. I run xfce-session from lightdm, and I don’t have XDG_CURRENT_SESSION set. Still, it’s not too bad to have to check two envvars to determine we are on Xfce. --

[issue18379] SSLSocket.getpeercert(): OCSP and CRL DP URIs

2013-07-06 Thread Christian Heimes
Changes by Christian Heimes : Removed file: http://bugs.python.org/file30810/ssl_ocsp_crldp.patch ___ Python tracker ___ ___ Python-bugs-list

[issue18379] SSLSocket.getpeercert(): OCSP and CRL DP URIs

2013-07-06 Thread Christian Heimes
Christian Heimes added the comment: Updated patch with test, doc updates and a third field. I have added CDP and two AIA URIs: crlDistributionPoints, caIssuers and OCSP -- Added file: http://bugs.python.org/file30834/ssl_ocsp_crldp.patch ___ Python t

[issue18390] Better documenting of ``hg revert -r`` when merging with another branch

2013-07-06 Thread Brett Cannon
New submission from Brett Cannon: While the dev FAQ mentions it under null merges (http://docs.python.org/devguide/faq.html#how-do-i-make-a-null-merge), it probably should mention it under the merging section of http://docs.python.org/devguide/committing.html#merging-between-different-branches

[issue18351] Incorrect variable name in importlib._bootstrap._get_sourcefile

2013-07-06 Thread Brett Cannon
Brett Cannon added the comment: Thanks for the patch, Madison! Added you to the ACKS file. -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker _

[issue18389] os.path.relpath gives incorrect results if start parameters is not a directory

2013-07-06 Thread Jonathan Eldridge
Jonathan Eldridge added the comment: Seems like you could also narrow the case where the incorrect behavior occurs for files without an extension by doing a os.path.isfile check as well--that will only return True for cases where the file exists, but then relpath could work correctly for all

[issue18389] os.path.relpath gives incorrect results if start parameters is not a directory

2013-07-06 Thread Madison May
Madison May added the comment: Whoops -- I forgot to actually upload the patch. Here it is. -- keywords: +patch Added file: http://bugs.python.org/file30833/relpath.patch ___ Python tracker ___

[issue18351] Incorrect variable name in importlib._bootstrap._get_sourcefile

2013-07-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset b8028f74bac4 by Brett Cannon in branch '3.3': Issue #18351: Fix various issues with http://hg.python.org/cpython/rev/b8028f74bac4 New changeset e80634ad5a0e by Brett Cannon in branch 'default': merge for issue #18351. http://hg.python.org/cpython/re

[issue18389] os.path.relpath gives incorrect results if start parameters is not a directory

2013-07-06 Thread Madison May
Madison May added the comment: So the problem arises because a path to a file (not a path to a directory) is passed as an argument to start. So the way I see it, we could go one of several directions: 1) We could check for the presence of an extension in the start argument, and truncate star

Re: [issue15661] OS X installer packages should be signed for OS X 10.8 Gatekeeper feature

2013-07-06 Thread Ned Deily
> That package can then be opened using installer.app, but isn't usable as it. > > !) There are no pre/post scripts > > 2) User cannot select components > > 3) There is no README, License, custom logo, ... > > 4) I'm pretty sure this doesn't install the documentation > > It might be possible

[issue18382] multiprocessing's overlapped PipeConnection issues on Windows 8

2013-07-06 Thread Walter Prins
Walter Prins added the comment: On 6 July 2013 16:44, Richard Oudkerk wrote: > > Richard Oudkerk added the comment: > > Does that test always fail? Yes it does. I should've probably added in the original report that the following test (test_strings) also fail, possibly/probably due to the sam

[issue17797] Visual C++ 11.0 reports fileno(stdin) == 0 for non-console program

2013-07-06 Thread V.E.O
V.E.O added the comment: Tested on MSVCRT110.DLL (11.0.51106.1 released in 2012/11/05). Previous one 11.0.50727.1 released in 2012/07/26 does not have this problem. This problem better be fixed in Python for MS does not have clear document. -- nosy: +V.E.O _

[issue18342] Use the repr of a module name for ModuleNotFoundError in ceval.c

2013-07-06 Thread Tomasz Maćkowiak
Tomasz Maćkowiak added the comment: Signed. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue18389] os.path.relpath gives incorrect results if start parameters is not a directory

2013-07-06 Thread Jonathan Eldridge
Changes by Jonathan Eldridge : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue18389] os.path.relpath gives incorrect results if start parameters is not a directory

2013-07-06 Thread Jonathan Eldridge
New submission from Jonathan Eldridge: With the following directory structure: computer$ ls foo/ computer$ ls foo/ bar/ foo_file.txt computer$ ls foo/bar/ bar_file.txt Running: os.path.relpath('foo/bar/bar_file.txt', 'foo/foo_file.txt') Returns: '../bar/bar_f

[issue18360] Won't install. Keeps telling me DLL is missing.

2013-07-06 Thread Martin v . Löwis
Martin v. Löwis added the comment: Please open a cmd.exe shell, change to the directory containing the MSI file, and run msiexec /i python-2.7.5.msi /l*v python.log Then attach the resulting python.log file. If it is too large, compress it to a zip file. -- _

[issue18351] Incorrect variable name in importlib._bootstrap._get_sourcefile

2013-07-06 Thread Madison May
Madison May added the comment: I can imagine that would be incredibly frustrating -- it would drive me up the wall as well. Anyhow, glad to hear things looked good. I really appreciate your help guiding me through this one. -- ___ Python tracker

[issue11445] python.exe on OS X shared-llbrary build erroneously linked to MacPorts python library

2013-07-06 Thread Ed Campbell
Changes by Ed Campbell : -- nosy: +esc24 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue18364] Remove _not_found hack from importlib

2013-07-06 Thread Brett Cannon
Changes by Brett Cannon : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___

[issue18364] Remove _not_found hack from importlib

2013-07-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0d590683c8d1 by Brett Cannon in branch 'default': Issue #18364: Stop using the ImportError._not_found hack. http://hg.python.org/cpython/rev/0d590683c8d1 -- nosy: +python-dev ___ Python tracker

[issue18360] Won't install. Keeps telling me DLL is missing.

2013-07-06 Thread Dale Smith
Dale Smith added the comment: I do not know when but there is a version that seems to be installed. It's in my programs folder. I opened the python shell and it says it is Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)] on win32 It still does not explain the dll er

[issue18329] for line in socket.makefile() speed degradation

2013-07-06 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue18095] unable to invoke socket.connect with AF_UNSPEC

2013-07-06 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue18095] unable to invoke socket.connect with AF_UNSPEC

2013-07-06 Thread Martin Gergov
Martin Gergov added the comment: --- a/Modules/socketmodule.cTue Jul 02 09:07:53 2013 -0400 +++ b/Modules/socketmodule.cSat Jul 06 21:08:40 2013 +0300 @@ -3673,6 +3673,15 @@ { int how; int res; +struct sockaddr_in sin; +if (s->sock_type == SOCK_DGRAM){ +memset((

[issue18360] Won't install. Keeps telling me DLL is missing.

2013-07-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you for the snips. Have you installed other applications that use a .msi installer (many do not). Have you tried another Python installer? For instance, change .5 to .3 in your link. Are you using a 64-bit installer on 32-bit Windows? It seems not as the

[issue18360] Won't install. Keeps telling me DLL is missing.

2013-07-06 Thread Dale Smith
Dale Smith added the comment: I tried everything that is available to "repair" my Windows 7 installer (unregistered/restarted the service etc). Everything installs fine except this installer. -- ___ Python tracker

[issue7982] extend captured_output to simulate different stdout.encoding

2013-07-06 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- versions: +Python 3.4 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue18388] Link to the contributor agreement from devinabox

2013-07-06 Thread Brett Cannon
Changes by Brett Cannon : -- assignee: brett.cannon keywords: easy nosy: brett.cannon priority: low severity: normal status: open title: Link to the contributor agreement from devinabox ___ Python tracker _

[issue6386] importing yields unexpected results when initial script is a symbolic link

2013-07-06 Thread Brett Cannon
Brett Cannon added the comment: Senko, could you sign the contributor agreement (http://python.org/psf/contrib/contrib-form/) so we can use your patch? -- ___ Python tracker ___

[issue18342] Use the repr of a module name for ModuleNotFoundError in ceval.c

2013-07-06 Thread Brett Cannon
Brett Cannon added the comment: Tomasz, can you sign the contributor agreement (http://python.org/psf/contrib/contrib-form/) so we can commit your code? -- ___ Python tracker __

[issue18360] Won't install. Keeps telling me DLL is missing.

2013-07-06 Thread Dale Smith
Dale Smith added the comment: I do see install and it tries to install. When I click "run" and go to the install menu, I select for "All users" and next and the generic "a dll is missing" message pops up. I'll explore this more. I do not have problems installing anything else. Thank you!

[issue18136] Put local build paths before system build paths in configure.ac and Makefile.pre.in

2013-07-06 Thread Brett Cannon
Brett Cannon added the comment: I'm closing to close this then if Ronald can't reproduce as I have changed computers now and so my setup has shifted. Hopefully I was just a random case. -- resolution: -> works for me status: open -> closed ___ Pytho

[issue18351] Incorrect variable name in importlib._bootstrap._get_sourcefile

2013-07-06 Thread Brett Cannon
Changes by Brett Cannon : -- stage: test needed -> commit review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18351] Incorrect variable name in importlib._bootstrap._get_sourcefile

2013-07-06 Thread Brett Cannon
Brett Cannon added the comment: When I wrote that code I was struggling to untangle the C code and it was driving me up the wall because it was code unique to the C API and was just ever so slightly different. Anyway, the patch looks great! When I have time I will commit it to 3.3 and 3.4. --

[issue18387] Add 'symbols' link to html menu bar.

2013-07-06 Thread Ron Adam
New submission from Ron Adam: This patch adds a 'symbols' link after the 'topics' and 'keywords' links in the html browser menu bar. help('symbols') worked, but there was no way to get to it in the html browser. This also adds unquote_plus() to the url handler to unquote the html input form f

[issue18387] Add 'symbols' link to pydoc's html menu bar.

2013-07-06 Thread Ron Adam
Changes by Ron Adam : -- title: Add 'symbols' link to html menu bar. -> Add 'symbols' link to pydoc's html menu bar. ___ Python tracker ___ _

[issue18156] Add an 'attr' attribute to AttributeError

2013-07-06 Thread Brett Cannon
Brett Cannon added the comment: Dražen: didn't do a deep review, but a cursory look suggests the patch is fine. As for having to change a ton of files to start using the attribute, that's part of the effect of changing something as basic as an exception. If you would rather break it up into se

[issue18386] Better random number generator

2013-07-06 Thread James Lu
Changes by James Lu : -- nosy: -James.Lu type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18386] Better random number generator

2013-07-06 Thread James Lu
New submission from James Lu: http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/SFMT/index.html#dSFMT You might want to use a better algorithm -- components: Library (Lib) files: dSFMT-src-2.2.1.zip messages: 192469 nosy: James.Lu priority: normal severity: normal status: open title: Bette

[issue18156] Add an 'attr' attribute to AttributeError

2013-07-06 Thread Andrea Griffini
Andrea Griffini added the comment: Even porting to the new wonderful 'attr' field is not going to make the code correct... (the exception could be bubbling up from code down ten frames about a different unrelated attribute that happens to have the same name in a different object). BTW cpython

[issue18308] checkRecvmsgAddress wrong in test_socket.py (AIX failures)

2013-07-06 Thread David Edelsohn
David Edelsohn added the comment: The patch in msg192405 works and fixes that error on AIX. That is exactly what I had in mind, but I incorrectly had been looking higher up the class hierarchy to override the method. Thanks! -- ___ Python tracker <

[issue18156] Add an 'attr' attribute to AttributeError

2013-07-06 Thread Dražen Lučanin
Dražen Lučanin added the comment: I've been working on this at the EuroPython sprint today and it seems the change requires editing >20 files that call PyExc_AttributeError. This means it would be quite a big and dangerous change, so for now I just attach the optional argument addition - witho

[issue18370] ast.parse produces wrong lineno and col_offset for triple-quoted strings

2013-07-06 Thread Brett Cannon
Changes by Brett Cannon : -- superseder: -> col_offset is -1 and lineno is wrong for multiline string expressions ___ Python tracker ___ ___

[issue14853] test_file.py depends on sys.stdin being unseekable

2013-07-06 Thread Ezio Melotti
Ezio Melotti added the comment: FTR Python 3 raises "io.UnsupportedOperation: underlying stream is not seekable" on unseekable files and "ValueError: negative seek position -1" on seekable ones, whereas Python 2 raises "IOError: [Errno 29] Illegal seek" on unseekable files and doesn't raise an

[issue14853] test_file.py depends on sys.stdin being unseekable

2013-07-06 Thread Elena Oat
Elena Oat added the comment: testStdin test is useless, it expects that stdin is always unseekable, but since sys.stdin could be any file, i.e. it can be seekable. The patch removes the test. -- keywords: +patch nosy: +Elena.Oat, pitrou Added file: http://bugs.python.org/file30828/14

[issue18231] What's new in Python should explain what's new in UCD

2013-07-06 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: It is not easy to figure out the consequences (if any) of UCD change for python grammar from unicode standard release notes. I went through this exercise for a few releases and I thought it would be useful to share in release notes. Since there does no

[issue15661] OS X installer packages should be signed for OS X 10.8 Gatekeeper feature

2013-07-06 Thread Ronald Oussoren
Ronald Oussoren added the comment: I just created a very crude package with the "new" tools. $ pkgbuild --analyze --root /tmp/_py/_root pkgbuild.plist ... $ pkgbuild --root /tmp/_py/_root --identifier org.python.python34 --component-plist pkgbuild.plist pythoninstall.pkg pkgbuild: Reading comp

[issue5815] locale.getdefaultlocale() missing corner case

2013-07-06 Thread Dmitry Jemerov
Dmitry Jemerov added the comment: A related issue (a case which isn't taken into account by Serhiy's patch) is http://bugs.python.org/issue18378 -- nosy: +Dmitry.Jemerov ___ Python tracker _

[issue18384] Add devhelp build instructions to the documentation makefile

2013-07-06 Thread Balthazar Rouberol
Changes by Balthazar Rouberol : -- title: Add devhelp build instructions to the documentation makefile (Python3) -> Add devhelp build instructions to the documentation makefile versions: +Python 2.7 Added file: http://bugs.python.org/file30826/devhelp-build-py2.patch __

[issue18385] Add devhelp build instructions to the documentation makefile (Python2)

2013-07-06 Thread Ezio Melotti
Changes by Ezio Melotti : -- resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> Add devhelp build instructions to the documentation makefile ___ Python tracker __

[issue18378] locale.getdefaultlocale() fails on Mac OS X with default language set to English

2013-07-06 Thread Dmitry Jemerov
Dmitry Jemerov added the comment: A related issue (with a patch that touches the same locale parsing code) is http://bugs.python.org/issue5815 -- ___ Python tracker ___

[issue15661] OS X installer packages should be signed for OS X 10.8 Gatekeeper feature

2013-07-06 Thread Ronald Oussoren
Ronald Oussoren added the comment: Creating flat packages should be easy enough, I'm hoping to experiment with them during the sprints at EP (but we're already at the end of the first day). At first I feared that creating installers in the new format would require using GUI tool, but it seems

[issue18385] Add devhelp build instructions to the documentation makefile (Python2)

2013-07-06 Thread Balthazar Rouberol
New submission from Balthazar Rouberol: The documentation makefile is missing support for Devhelp. The supplied patch fixes this for the Python 2 branch. -- assignee: docs@python components: Documentation files: devhelp-build-py2.patch keywords: patch messages: 192458 nosy: brouberol, d

[issue18384] Add devhelp build instructions to the documentation makefile (Python3)

2013-07-06 Thread Balthazar Rouberol
Changes by Balthazar Rouberol : -- title: Add devhelp build instructions to the documentation makefile -> Add devhelp build instructions to the documentation makefile (Python3) ___ Python tracker _

[issue18384] Add devhelp build instructions to the documentation makefile

2013-07-06 Thread Balthazar Rouberol
Changes by Balthazar Rouberol : Added file: http://bugs.python.org/file30824/devhelp-build-py3.patch ___ Python tracker ___ ___ Python-bugs-li

[issue18384] Add devhelp build instructions to the documentation makefile

2013-07-06 Thread Balthazar Rouberol
Changes by Balthazar Rouberol : Removed file: http://bugs.python.org/file30823/devhelp-build-py3.patch ___ Python tracker ___ ___ Python-bugs-

[issue18384] Add devhelp build instructions to the documentation makefile

2013-07-06 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +georg.brandl stage: -> patch review versions: +Python 3.4 -Python 3.5 ___ Python tracker ___ ___

[issue18384] Add devhelp build instructions to the documentation makefile

2013-07-06 Thread Balthazar Rouberol
New submission from Balthazar Rouberol: The documentation makefile is missing support for Devhelp. The supplied patch fixes this for the Python 3 branch. It also edits the ouput of the sphinx build to change the name of the devhelp project. This is needed to be able to have both versions of do

[issue6386] importing yields unexpected results when initial script is a symbolic link

2013-07-06 Thread Senko Rasic
Senko Rasic added the comment: Patch for modifying the modules part of tutorial with the changes suggested by jamadagni (reworded slightly so the note is outside the itemized list). -- keywords: +patch nosy: +senko Added file: http://bugs.python.org/file30822/tutorial-symlink-syspath-no

[issue11957] re.sub confusion between count and flags args

2013-07-06 Thread Valentina Mukhamedzhanova
Changes by Valentina Mukhamedzhanova : Added file: http://bugs.python.org/file30821/patch_11957 ___ Python tracker ___ ___ Python-bugs-list ma

[issue18382] multiprocessing's overlapped PipeConnection issues on Windows 8

2013-07-06 Thread Richard Oudkerk
Richard Oudkerk added the comment: Does that test always fail? -- nosy: +sbt ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue16223] untokenize returns a string if no encoding token is recognized

2013-07-06 Thread Tomasz Maćkowiak
Tomasz Maćkowiak added the comment: untokenize has also some other problems, especially when it is using compat - it will skip first significant token, if ENCODING token is not present in input. For example for input like this (code simplified): >>> tokens = tokenize(b"1 + 2") >>> untokenize(to

[issue11445] python.exe on OS X shared-llbrary build erroneously linked to MacPorts python library

2013-07-06 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've attached an updated patch (against the 2.7 branch, the same idea should work for 3.3 and default). This does two things: 1) Explicity add '-Wl,-search_paths_first' to LDFLAGS on Mac OS X. This ensures that the linker behaves like other platforms: in

[issue18380] email/quoprimime.py doesn't use re.sub correctly

2013-07-06 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch! -- assignee: -> ezio.melotti resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: -Python 2.7 ___ Python tracker __

[issue11445] python.exe on OS X shared-llbrary build erroneously linked to MacPorts python library

2013-07-06 Thread Ronald Oussoren
Changes by Ronald Oussoren : Removed file: http://bugs.python.org/file21243/issue-11445.txt ___ Python tracker ___ ___ Python-bugs-list mailin

[issue18380] email/quoprimime.py doesn't use re.sub correctly

2013-07-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset c8fd1351c840 by Ezio Melotti in branch '3.3': #18380: pass regex flags to the right argument. Patch by Valentina Mukhamedzhanova. http://hg.python.org/cpython/rev/c8fd1351c840 New changeset 6e23ce14c3c6 by Ezio Melotti in branch 'default': #18380:

[issue10910] pyport.h FreeBSD/Mac OS X "fix" causes errors in C++ compilation

2013-07-06 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've some more digging to do then, although I expect that nobody knows anymore why the #define's are there. It should be safe to remove them by now, and they are not present in the default branch. -- ___ Python tra

[issue10910] pyport.h FreeBSD/Mac OS X "fix" causes errors in C++ compilation

2013-07-06 Thread Gregory P. Smith
Gregory P. Smith added the comment: I was merely refactoring for PEP3137, the original version of all that code prior to 2.7 was in Objects/stringobject.c and long predates me. -- ___ Python tracker __

[issue18380] email/quoprimime.py doesn't use re.sub correctly

2013-07-06 Thread Valentina Mukhamedzhanova
Changes by Valentina Mukhamedzhanova : Removed file: http://bugs.python.org/file30811/patch_quoprimime ___ Python tracker ___ ___ Python-bugs-

[issue18380] email/quoprimime.py doesn't use re.sub correctly

2013-07-06 Thread Valentina Mukhamedzhanova
Valentina Mukhamedzhanova added the comment: I have updated the patch with a testcase. -- Added file: http://bugs.python.org/file30819/patch_18380 ___ Python tracker ___

[issue18378] locale.getdefaultlocale() fails on Mac OS X with default language set to English

2013-07-06 Thread Dmitry Jemerov
Dmitry Jemerov added the comment: Why exactly does this matter? UTF-8 not being a valid LC_CTYPE value simply means that no one running Linux will ever have LC_CTYPE set to UTF-8, and the branch will never be hit. OTOH, adding the check will make the code harder to test and simply larger (no

[issue18378] locale.getdefaultlocale() fails on Mac OS X with default language set to English

2013-07-06 Thread Ronald Oussoren
Ronald Oussoren added the comment: The test for darwin is needed because other platforms don't support "UTF-8" as a valid LC_CTYPE name, on a recent linux box: >>> locale.setlocale(locale.LC_CTYPE, "UTF-8") Traceback (most recent call last): File "", line 1, in File "/opt/python2.7/lib/py

[issue18378] locale.getdefaultlocale() fails on Mac OS X with default language set to English

2013-07-06 Thread Dmitry Jemerov
Dmitry Jemerov added the comment: Judging from the results of Googling for the error message, I'm far from the only one seeing this problem. What exactly would be the benefit of adding the code to check for the platform? -- ___ Python tracker

[issue10984] argparse add_mutually_exclusive_group should accept existing arguments to register conflicts

2013-07-06 Thread Michael Twomey
Michael Twomey added the comment: I've picked up on this as part of the EP 2013 sprints. I've attached a patch which implements the behaviour described in the comments. It doesn't break any existing functionality but the help generated by argparse is definitely not quite right. -- key

[issue18383] test_warnings modifies warnings.filters when running with "-W default"

2013-07-06 Thread Florent Xicluna
Florent Xicluna added the comment: This patch fixes the issue. -- keywords: +patch stage: needs patch -> patch review Added file: http://bugs.python.org/file30817/issue18383_test_warnings_filters.diff ___ Python tracker

  1   2   >