Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #101804 > unrolled thread
| Started by | gliesian66@gmail.com |
|---|---|
| First post | 2016-01-16 05:48 -0800 |
| Last post | 2016-01-17 09:01 +1100 |
| Articles | 3 — 3 participants |
Back to article view | Back to comp.lang.python
print size limit gliesian66@gmail.com - 2016-01-16 05:48 -0800
Re: print size limit Chris Angelico <rosuav@gmail.com> - 2016-01-17 00:54 +1100
Re: print size limit Steven D'Aprano <steve@pearwood.info> - 2016-01-17 09:01 +1100
| From | gliesian66@gmail.com |
|---|---|
| Date | 2016-01-16 05:48 -0800 |
| Subject | print size limit |
| Message-ID | <e49a178c-f0ac-4b97-822c-ab3549ddae46@googlegroups.com> |
I'm doing a format conversion and all works fine until I add another 100 characters... haven't determined exactly where the breaking point is... but the initial conversion gets truncated and then fixes itself a little while in. Is there a limit on the print statement or the print statement nested in a for loop?
[toc] | [next] | [standalone]
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Date | 2016-01-17 00:54 +1100 |
| Message-ID | <mailman.39.1452952500.15297.python-list@python.org> |
| In reply to | #101804 |
On Sun, Jan 17, 2016 at 12:48 AM, <gliesian66@gmail.com> wrote: > I'm doing a format conversion and all works fine until I add another 100 characters... haven't determined exactly where the breaking point is... but the initial conversion gets truncated and then fixes itself a little while in. Is there a limit on the print statement or the print statement nested in a for loop? > -- Shouldn't be. Can you post your code? ChrisA
[toc] | [prev] | [next] | [standalone]
| From | Steven D'Aprano <steve@pearwood.info> |
|---|---|
| Date | 2016-01-17 09:01 +1100 |
| Message-ID | <569abdcf$0$1620$c3e8da3$5496439d@news.astraweb.com> |
| In reply to | #101804 |
On Sun, 17 Jan 2016 12:48 am, gliesian66@gmail.com wrote: > I'm doing a format conversion and all works fine until I add another 100 > characters... And then what happens? How many characters do you convert before that point? What does this "format conversion" do? > haven't determined exactly where the breaking point is... That's okay, you've determined where it is, plus or minus 50 characters. You know that everything is fine up to some mystery N characters, then you add 100 characters and something mysterious happens, so the breaking point has to be in the range N+1 to N+100. > but the initial conversion gets truncated and then fixes itself a little > while in. Huh? How can it fix itself? What do you mean "gets truncated"? I would start by looking at the code of this "format conversion" and see what it does. > Is there a limit on the print statement or the print statement > nested in a for loop? What does the print statement got to do with this? Above, you say that the problem is the mystery "format conversion". Perhaps if you show us some working code that demonstrates the problem, instead of talking in vague generalities, we might be able to suggest a solution. -- Steven
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web