mirror of https://github.com/pallets/flask.git
				
				
				
			
						commit
						773ad9b92d
					
				| 
						 | 
				
			
			@ -43,7 +43,7 @@ This works well for the common case but it does not work well for
 | 
			
		|||
development which is why from Flask 1.0 onwards the ``flask`` method is
 | 
			
		||||
recommended.  The reason for this is that due to how the reload mechanism
 | 
			
		||||
works there are some bizarre side-effects (like executing certain code
 | 
			
		||||
twice, sometimes crashing without message or dieing when a syntax or
 | 
			
		||||
twice, sometimes crashing without message or dying when a syntax or
 | 
			
		||||
import error happens).
 | 
			
		||||
 | 
			
		||||
It is however still a perfectly valid method for invoking a non automatic
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -27,7 +27,7 @@ flask_svc_url = 'http://flask.pocoo.org/extensions/'
 | 
			
		|||
 | 
			
		||||
# OS X has awful paths when using mkstemp or gettempdir().  I don't
 | 
			
		||||
# care about security or clashes here, so pick something that is
 | 
			
		||||
# actually rememberable.
 | 
			
		||||
# actually memorable.
 | 
			
		||||
if sys.platform == 'darwin':
 | 
			
		||||
    _tempdir = '/private/tmp'
 | 
			
		||||
else:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue