Home Download Buy Blog Forum Support

Dev Build 3022

Dev Build 3022

Postby jps on Mon Mar 18, 2013 3:09 am

Dev Build 3022 is out now.

The primary change in 3022 is the plugin_host<->sublime_text communication, which is now lock-free for the general case. Speed is much faster, such that the API overhead is around the same as in S2. For some actions, such as scanning the buffer character by character, S3 is now faster than S2.

All known crash issues have been resolved as of 3021/3022, with the exception of the Sparkle auto-update issue, which I've yet to track down.
jps
Site Admin
 
Posts: 3067
Joined: Wed Mar 19, 2008 12:33 pm

Re: Dev Build 3022

Postby jbrooksuk on Mon Mar 18, 2013 9:03 am

Yes! Better PHP highlighting. I've been looking forward to this for a while.
jbrooksuk
 
Posts: 771
Joined: Sun Apr 11, 2010 10:37 am
Location: England

Re: Dev Build 3022

Postby LONGMAN on Mon Mar 18, 2013 9:52 am

PHP package updated! Great
AutoBackups: ST2 / ST3
CodeFormatter: ST2 / ST3
StringUtilities: ST2 / ST3
LONGMAN
 
Posts: 68
Joined: Mon Nov 26, 2012 5:03 pm
Location: Tbilisi, Georgia

Re: Dev Build 3022

Postby robertcollier4 on Mon Mar 18, 2013 10:54 am

Is there a speed-memory improvement if we have one .py file with multiple class definitions versus having separate .py files for each class definition? i.e., is there an overhead for "each .py file loaded" due to the duplicate import statements?
robertcollier4
 
Posts: 154
Joined: Sun Feb 24, 2013 5:37 pm

Re: Dev Build 3022

Postby pierre on Mon Mar 18, 2013 4:24 pm

This is what happens with 3022 on MacOSX.8.2 when I move
the tab (see attached image)

Also, where should I put my plugins for use with ST3?
any FAQ, even sketchy?

Piero
Attachments
bar.png
bar.png (23.52 KiB) Viewed 6788 times
pierre
 
Posts: 28
Joined: Sat Mar 19, 2011 8:47 pm

Re: Dev Build 3022

Postby bizoo on Mon Mar 18, 2013 4:45 pm

robertcollier4 wrote:Is there a speed-memory improvement if we have one .py file with multiple class definitions versus having separate .py files for each class definition? i.e., is there an overhead for "each .py file loaded" due to the duplicate import statements?

I don't think that there's a significant change, but having one class per file don't look very Pythonic (Java-onic maybe)
http://dirtsimple.org/2004/12/python-is-not-java.html
bizoo
 
Posts: 879
Joined: Wed Dec 08, 2010 6:53 am
Location: Switzerland

Re: Dev Build 3022

Postby facelessuser on Tue Mar 19, 2013 1:36 am

On OSX, urllib seems to be hollowed out...there is nothing in it...

Code: Select all
>>> import urllib
>>> dir(urllib)
['__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__']


I would have expected urllib to give an error on import if it wasn't there, but it imports fine, but has no accessible attributes.
facelessuser
 
Posts: 1571
Joined: Tue Apr 05, 2011 7:38 pm

Re: Dev Build 3022

Postby jps on Tue Mar 19, 2013 1:41 am

pierre: http://www.sublimetext.com/docs/3/revert.html should fix the issue for you

facelessuser: that's the expected result with Python 3
jps
Site Admin
 
Posts: 3067
Joined: Wed Mar 19, 2008 12:33 pm

Re: Dev Build 3022

Postby facelessuser on Tue Mar 19, 2013 1:44 am

@jps This worked fine in ST3 on windows, but not OSX

                    response = urllib.request.urlretrieve(html_file, holiday_list)


I am confused that this is the expected response: http://docs.python.org/3.0/library/urllib.request.html
facelessuser
 
Posts: 1571
Joined: Tue Apr 05, 2011 7:38 pm

Re: Dev Build 3022

Postby sublimator on Tue Mar 19, 2013 9:03 am

@faceless

Rather than blathering my tired jibberish:

Code: Select all
[GCC 4.2.1 Compatible Apple Clang 4.1 ((tags/Apple/clang-421.11.66))] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import urllib
>>> dir(urllib)
['__builtins__', '__cached__', '__doc__', '__file__', '__initializing__', '__loader__', '__name__', '__package__', '__path__']
>>> import urllib.request, urllib.parse
>>> dir(urllib)
['__builtins__', '__cached__', '__doc__', '__file__', '__initializing__', '__loader__', '__name__', '__package__', '__path__', 'error', 'parse', 'request', 'response']
>>>
It is better to remain silent and be thought a fool, than to speak out and remove all doubt
sublimator
 
Posts: 649
Joined: Thu Mar 20, 2008 5:41 am

Next

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 31 guests