[issue22157] FAIL: test_with_pip (test.test_venv.EnsurePipTest)

2014-08-07 Thread snehal
snehal added the comment: When I gave following command, I see no error root@beta1:/home/ubuntu/python/Python-3.4.1# python3.4 -c 'import ctypes' root@beta1:/home/ubuntu/python/Python-3.4.1# I do see ctypes in root@beta1:/home/ubuntu/python/Python-3.4.1/Lib# folder --

[issue22157] FAIL: test_with_pip (test.test_venv.EnsurePipTest)

2014-08-07 Thread snehal
snehal added the comment: Also ctypes contains following root@beta1:/home/ubuntu/python/Python-3.4.1/Lib/ctypes# ls _endian.py __init__.py macholib __pycache__ test util.py wintypes.py -- ___ Python tracker rep...@bugs.python.org

[issue22132] Cannot copy the same directory structure to the same destination more than once

2014-08-07 Thread Csaba Makara
Csaba Makara added the comment: Sorry for the late answer. It was a direct usage of the dir_utils.copy_tree. I absolutely understand you don't want to touch it. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22132

[issue22157] FAIL: test_with_pip (test.test_venv.EnsurePipTest)

2014-08-07 Thread Ned Deily
Ned Deily added the comment: OK. Does test_ctypes run successfully? cd /home/ubuntu/python/Python-3.4.1 ./python -E -S -m test -v test_ctypes and then does test_venv run successfully in isolation? cd /home/ubuntu/python/Python-3.4.1 ./python -E -S -m test -v test_venv Also, what

[issue10803] ctypes: better support of bytearray objects

2014-08-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here are things which support bytes instances only: 1. Constructor and setter of the value attribute of NUL terminated char buffer. p = create_string_buffer(bHello) p.value b'Hello' p.raw b'Hello\x00' p.value = b'Bye' p.value b'Bye' p.raw

[issue21308] PEP 466: backport ssl changes

2014-08-07 Thread Nick Coghlan
Nick Coghlan added the comment: The problem is that the Rietveld integration isn't able to figure out the base revision, so it isn't generating the review automatically. Times like this it would be nice to be able to specify a base branch explicitly... In other news... the outcome of the

[issue22161] Remove unsupported code from ctypes

2014-08-07 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Some ctypes functions by mistake accept wrong types which then rejected by internal functions. This is mainly remnants of 2.x where both str and unicode was accepted and then automatically converted to right type. -- assignee: serhiy.storchaka

[issue10803] ctypes: better support of bytearray objects

2014-08-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- dependencies: +Remove unsupported code from ctypes ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10803 ___

[issue14534] Add method to mark unittest.TestCases as do not run.

2014-08-07 Thread Michael Foord
Michael Foord added the comment: testBaseClass, abstractTestClass and abstractBaseClass are all fine with me. I wouldn't waste too much time bike-shedding it. If we need a decision let's go with abstractTestClass. -- ___ Python tracker

[issue22161] Remove unsupported code from ctypes

2014-08-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Removed file: http://bugs.python.org/file36297/ctype_bytes_checks-3.4.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22161 ___

[issue22161] Remove unsupported code from ctypes

2014-08-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Added file: http://bugs.python.org/file36298/ctype_bytes_checks-3.4.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22161 ___

[issue22162] Actiavting a venv - Dash doesn't understand source

2014-08-07 Thread Daniel Lintott
New submission from Daniel Lintott: In the documentation for venv (https://docs.python.org/3.5/library/venv.html) it gives examples for activating the venv under bash/zsh. For a long time under both Debian and Ubuntu the default shell has been Dash (https://wiki.ubuntu.com/DashAsBinSh) Dash

[issue22162] Actiavting a venv - Dash doesn't understand source

2014-08-07 Thread Daniel Lintott
Changes by Daniel Lintott dan...@serverb.co.uk: -- nosy: +eric.araujo, ezio.melotti, georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22162 ___

[issue22162] Activating a venv - Dash doesn't understand source

2014-08-07 Thread Daniel Lintott
Changes by Daniel Lintott dan...@serverb.co.uk: -- title: Actiavting a venv - Dash doesn't understand source - Activating a venv - Dash doesn't understand source ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22162

[issue22162] Activating a venv - Dash doesn't understand source

2014-08-07 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- nosy: -georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22162 ___ ___ Python-bugs-list

[issue22123] Provide a direct function for types.SimpleNamespace()

2014-08-07 Thread Mark Summerfield
Mark Summerfield added the comment: I'd be happy to draft a PEP if it is needed, if no one else has the time/inclination. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22123 ___

[issue22150] deprecated-removed directive is broken in Sphinx 1.2.2

2014-08-07 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- assignee: - berker.peksag ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22150 ___ ___

[issue22162] Activating a venv - Dash doesn't understand source

2014-08-07 Thread Éric Araujo
Éric Araujo added the comment: dash is the default system shell used to execute scripts (i.e. /bin/sh), not the default shell used for users login shell and terminal emulators. The venv/scripts/poxis/activate file seems to require bash anyway: running checkbashisms on it warns about “hash

[issue14534] Add method to mark unittest.TestCases as do not run.

2014-08-07 Thread Ezio Melotti
Ezio Melotti added the comment: SGTM. The patch still needs docs and there are some comments on rietveld. The name of the decorator should be updated too, and possibly __unittest_base_class__ should be renamed to __unittest_abstract_class__ to match the name of the decorator. --

[issue22162] Activating a venv - Dash doesn't understand source

2014-08-07 Thread Daniel Lintott
Daniel Lintott added the comment: Hmm... just double checked this and this time has worked with the source command (previously was telling me it couldn't be found). Have double checked and indeed the default login shell is bash So feel free to close this issue --

[issue22163] max_wbits set incorrectly to -zlib.MAX_WBITS in tarfile, shouldn't be negative

2014-08-07 Thread Eduardo Robles Elvira
New submission from Eduardo Robles Elvira: I think I have found a small typo-bug in tarfile.py, that seems to be present in cpython upstream, which makes tarfile compression slower. The issue can be seen here, in line 415 [1] of tarfile.py: self.cmp = self.zlib.compressobj(9,

[issue22162] Activating a venv - Dash doesn't understand source

2014-08-07 Thread Vinay Sajip
Vinay Sajip added the comment: Was there a reason you couldn't close it yourself? -- resolution: - not a bug status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22162 ___

[issue14534] Add method to mark unittest.TestCases as do not run.

2014-08-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: -serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14534 ___ ___

[issue22163] max_wbits set incorrectly to -zlib.MAX_WBITS in tarfile, shouldn't be negative

2014-08-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +nadeem.vawda ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22163 ___ ___

[issue19884] Importing readline produces erroneous output

2014-08-07 Thread Edd Barrett
Edd Barrett added the comment: This problem shows up on OpenBSD too. It breaks 'hg view' also. -- nosy: +Edd.Barrett ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19884 ___

[issue14910] argparse: disable abbreviation

2014-08-07 Thread Eli Bendersky
Eli Bendersky added the comment: Ezio, could you see if your comments were addressed? Steven, do you want to take another look, or is this OK to commit? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14910

[issue22132] Cannot copy the same directory structure to the same destination more than once

2014-08-07 Thread Éric Araujo
Éric Araujo added the comment: Thanks. There is a function intended for general use: shutil.copytree; it may have the same behavior (not a bug if it's documented). -- resolution: - wont fix stage: - resolved status: open - closed ___ Python

[issue21308] PEP 466: backport ssl changes

2014-08-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: Le 07/08/2014 04:34, Nick Coghlan a écrit : In other news... the outcome of the Fedora thread is that Slavek is just going to go ahead and apply the patch to Python 2.7 RPMs in Fedora Rawhide next week. That will hopefully be entirely uneventful, but if it

[issue19884] Importing readline produces erroneous output

2014-08-07 Thread Remi Pointel
Changes by Remi Pointel pyt...@xiri.fr: -- nosy: +rpointel ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19884 ___ ___ Python-bugs-list mailing

[issue22164] cell object cleared too early?

2014-08-07 Thread Antoine Pitrou
New submission from Antoine Pitrou: This is a tricky issue I'm sometimes seeing when running Numba's test suite, and I can't seem to write a reproducer. Somtimes I'm seeing the following messages: Exception ignored in: function _OverloadedBase._make_finalizer.locals.finalizer at

[issue22156] Fix compiler warnings

2014-08-07 Thread Vajrasky Kok
Vajrasky Kok added the comment: Victor, your patch fixes most of the pesky warnings. However you left one warning left (at least in Mac OS X 10.9.4). Objects/unicodeobject.c:4831:43: warning: comparison of integers of different signs: 'unsigned long' and 'long' [-Wsign-compare] if

[issue20056] Got deprecation warning when running test_shutil.py on Windows NT 6

2014-08-07 Thread Vajrasky Kok
Vajrasky Kok added the comment: In test_shutil.py, yes, this is the only place. But in other tests, we got different type of warnings, such as: test_mailbox.py:46: RuntimeWarning: tests may fail, delete still pending for @test_4456_tmp test_decimal:5608: UserWarning: C tests skipped: no

[issue22028] Python 3.4.1 Installer ended prematurely (Windows msi)

2014-08-07 Thread venza
venza added the comment: This is the exception that comes out after running the py -m ensurepip manually: C:\Python34\lib\ensurepip\__main__.py run on 08/07/14 15:44:36 Ignoring indexes: https://pypi.python.org/simple/

[issue22165] Empty response from http.server when directory listing contains invalid unicode

2014-08-07 Thread Josh Lee
New submission from Josh Lee: While SimpleHTTPServer from Python2 would happily spit out whatever bytes were in the directory listing, Python3's http.server logs an error and closes the connection without responding to the HTTP request. $ mkdir $'\xff' $ ls \377/ $ python3 -m http.server

[issue22160] Windows installers need to be updated following OpenSSL security release

2014-08-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: You left 3.4 branch unmerged into default branch. -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22160 ___

[issue22028] Python 3.4.1 Installer ended prematurely (Windows msi)

2014-08-07 Thread Steve Dower
Steve Dower added the comment: Presumably the value for subkeyname being passed to OpenKey contains an embedded null, which I believe is legal for the registry in general, but doesn't make much sense in this context and is quite possibly a corruption issue on your machine. We can certainly

[issue22028] Python 3.4.1 Installer ended prematurely (Windows msi)

2014-08-07 Thread Steve Dower
Steve Dower added the comment: FWIW, on my machine I don't have embedded nulls in any of the values that enum_keys is looking for: import winreg hkcr=winreg.OpenKey(winreg.HKEY_CLASSES_ROOT, '') n = [] i = 0 while True: ... try: ... n.append(winreg.EnumKey(hkcr, i)) ... except

[issue22156] Fix compiler warnings

2014-08-07 Thread STINNER Victor
STINNER Victor added the comment: Victor, your patch fixes most of the pesky warnings. However you left one warning ... Yes, my patch is uncomplete. Don't hesitate to post a new patch or complete mine. I'm in holliday, I'm not going to update it before a few weeks. --

[issue22160] Windows installers need to be updated following OpenSSL security release

2014-08-07 Thread Steve Dower
Steve Dower added the comment: The 2.7 installer will be fine whenever the release manager asks for it -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22160 ___

[issue22160] Windows installers need to be updated following OpenSSL security release

2014-08-07 Thread Zachary Ware
Zachary Ware added the comment: Oops. Merged now. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22160 ___ ___ Python-bugs-list mailing list

[issue22028] Python 3.4.1 Installer ended prematurely (Windows msi)

2014-08-07 Thread venza
venza added the comment: Ok, I had three such keys. I run RegDelNull.exe and managed to remove two of them. The third one is still there. I'm reasonably sure that this machine is clean, anyway: 1. the Python installer should not fail silently when an exception is thrown during pip

[issue22028] Python 3.4.1 Installer ended prematurely (Windows msi)

2014-08-07 Thread Steve Dower
Steve Dower added the comment: Agreed on both points, but we need to find someone willing to fix the 3.4 installer (I'm completely focused on the 3.5 installer, which won't suffer from the first point). There's a separate issue tracker for pip which would be the place to get their developers

[issue20056] Got deprecation warning when running test_shutil.py on Windows NT 6

2014-08-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset e306cf07046a by Serhiy Storchaka in branch '3.4': Issue #20056: Fixed deprecation warning about bytes path in test_shutil on http://hg.python.org/cpython/rev/e306cf07046a New changeset 8480179d2a7f by Serhiy Storchaka in branch 'default': Issue

[issue22160] Windows installers need to be updated following OpenSSL security release

2014-08-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Oops. Merged now. Thank you. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22160 ___ ___

[issue20056] Got deprecation warning when running test_shutil.py on Windows NT 6

2014-08-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Vajrasky. -- resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20056 ___

[issue22028] Python 3.4.1 Installer ended prematurely (Windows msi)

2014-08-07 Thread Mark Lawrence
Mark Lawrence added the comment: Nobody is listed as a maintainer for mimetypes here https://docs.python.org/devguide/experts.html but I've seen Tim has done some work on it so adding him to nosy list. -- nosy: +BreamoreBoy, tim.golden ___ Python

[issue21308] PEP 466: backport ssl changes

2014-08-07 Thread Alex Gaynor
Alex Gaynor added the comment: New patch should be in the mercurial diff format. -- Added file: http://bugs.python.org/file36301/ssl-backport.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21308

[issue22165] Empty response from http.server when directory listing contains invalid unicode

2014-08-07 Thread R. David Murray
R. David Murray added the comment: It should return a server error, I think. -- nosy: +r.david.murray stage: - needs patch type: - behavior versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22165

[issue22165] Empty response from http.server when directory listing contains invalid unicode

2014-08-07 Thread Augie Fackler
Augie Fackler added the comment: Why not treat the filename as opaque bytes, and let the client fetch it anyway? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22165 ___

[issue15907] move doctest test-data files into a subdirectory of Lib/test

2014-08-07 Thread Jason Robinson
Jason Robinson added the comment: Ezio, here are new versions of the patch. This time I used `hg mv` command to move the files to the new location and then copied over the correct versions. It does look though to me that there is no difference except timestamps. I will upload also a --git

[issue15907] move doctest test-data files into a subdirectory of Lib/test

2014-08-07 Thread Jason Robinson
Jason Robinson added the comment: Here is the `hg diff --git` patch. Hope this one applies :) -- Added file: http://bugs.python.org/file36303/issue15907_3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15907

[issue21308] PEP 466: backport ssl changes

2014-08-07 Thread Nick Coghlan
Nick Coghlan added the comment: On 7 Aug 2014 23:11, Antoine Pitrou rep...@bugs.python.org wrote: I doubt adding a ton of new APIs and code can be uneventful, but good luck :) They don't call it Rawhide for nothing! :) -- ___ Python tracker

[issue22165] Empty response from http.server when directory listing contains invalid unicode

2014-08-07 Thread R. David Murray
R. David Murray added the comment: Because http traffic is supposed to be either latin-1 or whatever charset is specified (at least, to my understanding that is the case), so sending incorrectly encoded data seems wrong. On the other hand, we support unix files systems not having well defined

[issue22165] Empty response from http.server when directory listing contains invalid unicode

2014-08-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch which fixes handling of undecodable paths in SimpleHTTPRequestHandler. -- keywords: +patch nosy: +serhiy.storchaka stage: needs patch - patch review Added file: http://bugs.python.org/file36304/issue22165.patch

[issue22165] Empty response from http.server when directory listing contains invalid unicode

2014-08-07 Thread Demian Brecht
Changes by Demian Brecht demianbre...@gmail.com: -- nosy: +demian.brecht ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22165 ___ ___

[issue18620] multiprocessing page leaves out important part of Pool example

2014-08-07 Thread Mark Lawrence
Mark Lawrence added the comment: Looks as if the v2 and v3 docs need changing. -- nosy: +BreamoreBoy type: enhancement - behavior versions: +Python 2.7, Python 3.4, Python 3.5 ___ Python tracker rep...@bugs.python.org

[issue18976] distutils/command/build_ext passes wrong linker flags

2014-08-07 Thread Mark Lawrence
Mark Lawrence added the comment: @Eric what do you make of the attached patch? -- nosy: +BreamoreBoy versions: -Python 2.6, Python 3.1, Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18976

[issue18977] The -t option has no effect in for uu command-line

2014-08-07 Thread Mark Lawrence
Mark Lawrence added the comment: Could it be argued that this is a regression so the type should be behavior and not enhancement? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18977

[issue22166] test_codecs leaking references

2014-08-07 Thread Zachary Ware
New submission from Zachary Ware: After 9bca86812857 (#22104), test_codecs now reports leaked references from ExceptionChainingTest. Previously the tests were only ever loaded one time, so each run of the tests was actually using the same set of TestCase instances; now the tests are freshly

[issue22060] Clean up ctypes.test, use unittest test discovery

2014-08-07 Thread Zachary Ware
Zachary Ware added the comment: Here's a new patch; have I missed anything else that ought to be in setUpModule? -- Added file: http://bugs.python.org/file36305/issue22060.diff ___ Python tracker rep...@bugs.python.org

[issue18976] distutils/command/build_ext passes wrong linker flags

2014-08-07 Thread Roumen Petrov
Roumen Petrov added the comment: more simple correction is attached to issue17219 -- nosy: +rpetrov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18976 ___

[issue20598] argparse docs: '7'.split() is confusing magic

2014-08-07 Thread paul j3
paul j3 added the comment: For documentation, ['this','is','a','test'] might be a bit clearer than 'this is a test'.split(). But generating a list of strings by split is, I think, a pretty basic idiom. But for testing purposes the split() version is a bit more robust because it is closer to

[issue14365] argparse: subparsers, argument abbreviations and ambiguous option

2014-08-07 Thread paul j3
paul j3 added the comment: Another issue dealing with abbreviations is close to being committed. http://bugs.python.org/issue14910 argparse: disable abbreviation -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14365

[issue11271] concurrent.futures.ProcessPoolExecutor.map() doesn't batch function arguments by chunks

2014-08-07 Thread Dan O'Reilly
Dan O'Reilly added the comment: Here's an updated patch that adds documentation and Antoine's requested code changes. -- Added file: http://bugs.python.org/file36306/map_chunksize_with_docs.patch ___ Python tracker rep...@bugs.python.org

[issue15428] add Name Collision section to argparse docs

2014-08-07 Thread paul j3
paul j3 added the comment: On Stackoverflow a couple of posters have asked about nesting namespaces as a way of separating the parser and subparser arguments. http://stackoverflow.com/questions/15782948 http://stackoverflow.com/questions/18668227 One solution that I rather like

[issue18979] Use argparse in the uu module

2014-08-07 Thread Mark Lawrence
Mark Lawrence added the comment: @Paul what is your opinion of this patch? -- nosy: +BreamoreBoy, paul.j3 versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18979

[issue15907] move doctest test-data files into a subdirectory of Lib/test

2014-08-07 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15907 ___ ___

[issue22167] iglob() has misleading documentation (does indeed store names internally)

2014-08-07 Thread Roy Smith
New submission from Roy Smith: For background, see: https://mail.python.org/pipermail/python-list/2014-August/676291.html In a nutshell, the iglob() docs say, Return an iterator which yields the same values as glob() without actually storing them all simultaneously. The problem is,

[issue22167] iglob() has misleading documentation (does indeed store names internally)

2014-08-07 Thread Tim Chase
Changes by Tim Chase python.b...@tim.thechases.com: -- nosy: +Gumnos ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22167 ___ ___ Python-bugs-list

[issue22168] Turtle Graphics RawTurtle problem

2014-08-07 Thread Kent D. Lee
New submission from Kent D. Lee: This is either a turtle graphics or tkinter problem. In Python 3.4 it appears that something in Turtle Graphics broke or at least changed. I get the following error when trying to run a program that works in Python 3.1 and 3.2. Kent's Mac python3.4 c4.py

[issue22167] iglob() has misleading documentation (does indeed store names internally)

2014-08-07 Thread Steven D'Aprano
Steven D'Aprano added the comment: I agree that the documentation could be improved, but it's not really *wrong*. Consider a glob like spam/[abc]/*.txt. What iglob does is conceptually closer to: (1) generate the list of files matching spam/a/*.txt and yield them; (2) generate the list of

[issue22167] iglob() has misleading documentation (does indeed store names internally)

2014-08-07 Thread Roy Smith
Roy Smith added the comment: The thread that led to this started out with the use case of a directory that had 200k files in it. If I ran iglob() on that and discovered that it had internally generated a list of all 200k names in memory at the same time, I would be pretty darn surprised,

[issue18979] Use argparse in the uu module

2014-08-07 Thread paul j3
paul j3 added the comment: Reading through, but not testing, it looks like a faithful replacement. The usage like will be a bit different. Given optparse: usage='usage: %prog [-d] [-t] [input [output]] automatic argparse: usage='usage: %prog [-d] [-t] [input] [output] There

[issue22168] Turtle Graphics RawTurtle problem

2014-08-07 Thread Ned Deily
Ned Deily added the comment: It looks like the changes associated with Issue11571, released in 3.4.1, cause this problem when the program supplies its own Canvas object rather than relying on the turtle module to create a default one. -- assignee: - ned.deily nosy: +ned.deily stage:

[issue22168] Turtle Graphics RawTurtle problem

2014-08-07 Thread Ned Deily
Ned Deily added the comment: As a temporary workaround, you could edit turtle.py to revert that change, in other words, just search for and delete the whole if sys.platform == 'darwin' test: diff -r d85fcf23549e Lib/turtle.py --- a/Lib/turtle.py Tue Aug 05 14:02:11 2014 -0500 +++

[issue22169] sys.tracebacklimit = 0 does not work as documented in 3.x

2014-08-07 Thread Orson Peters
New submission from Orson Peters: According to the documentation of sys.tracebacklimit, setting it to 0 or less would assure all traceback information is suppressed and only the exception type and value are printed. This is not the case: $ python -c import sys; sys.tracebacklimit = 0;

[issue22170] Typo in iterator doc

2014-08-07 Thread Susan Tan
New submission from Susan Tan: Typo in last line: for line in open(myfile.txt): print line, Instead there should be no extra , character in print line, -- assignee: docs@python components: Documentation messages: 225056 nosy: Susan, docs@python priority: normal severity: normal

[issue22170] Typo in iterator doc

2014-08-07 Thread Susan Tan
Susan Tan added the comment: https://docs.python.org/2/tutorial/classes.html#iterators -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22170 ___

[issue22169] sys.tracebacklimit = 0 does not work as documented in 3.x

2014-08-07 Thread Ned Deily
Ned Deily added the comment: This appears to be a duplicate of open Issue12276. -- nosy: +ned.deily resolution: - duplicate stage: - resolved status: open - closed superseder: - 3.x ignores sys.tracebacklimit=0 ___ Python tracker

[issue22171] stack smash when using ctypes/libffi to access union

2014-08-07 Thread Wesley Kerfoot
New submission from Wesley Kerfoot: Description: python 2.7.8 fails with a 'stack smashing detected' error and aborts when trying to access a C union using ctypes/libffi Steps to reproduce: See the contents of test.c and test.py in the attached file gcc -c -fpic -Wall -Wextra -pedantic